0s autopkgtest [00:26:29]: starting date and time: 2025-01-18 00:26:29+0000 0s autopkgtest [00:26:29]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [00:26:29]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.d2fq0aew/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-14.secgroup --name adt-plucky-ppc64el-glib2.0-20250117-225214-juju-7f2275-prod-proposed-migration-environment-2-fa7e4bc8-5db1-46e9-9994-82ef68269c33 --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 57s autopkgtest [00:27:26]: testbed dpkg architecture: ppc64el 57s autopkgtest [00:27:26]: testbed apt version: 2.9.18 57s autopkgtest [00:27:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 57s autopkgtest [00:27:26]: testbed release detected to be: None 58s autopkgtest [00:27:27]: updating testbed package index (apt update) 58s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 59s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 59s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 59s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 59s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 59s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 59s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [163 kB] 59s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [846 kB] 59s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [274 kB] 59s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 59s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [985 kB] 59s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [14.5 kB] 59s Fetched 2381 kB in 1s (2210 kB/s) 60s Reading package lists... 61s + lsb_release --codename --short 61s + RELEASE=plucky 61s + cat 61s + [ plucky != trusty ] 61s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Calculating upgrade... 61s The following packages will be upgraded: 61s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-certifi 61s python3-chardet python3-jwt rng-tools-debian usb.ids 62s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s Need to get 1421 kB of archives. 62s After this operation, 0 B of additional disk space will be used. 62s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ppc64el rng-tools-debian ppc64el 2.6 [46.3 kB] 62s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libatomic1 ppc64el 14.2.0-13ubuntu1 [10.7 kB] 62s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-13ubuntu1 [53.0 kB] 62s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++6 ppc64el 14.2.0-13ubuntu1 [886 kB] 62s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-s1 ppc64el 14.2.0-13ubuntu1 [39.1 kB] 62s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el usb.ids all 2025.01.14-1 [223 kB] 62s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgudev-1.0-0 ppc64el 1:238-6 [15.7 kB] 62s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-certifi all 2024.12.14+ds-1 [9800 B] 62s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-chardet all 5.2.0+dfsg-2 [116 kB] 62s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-jwt all 2.10.1-2 [21.0 kB] 62s Fetched 1421 kB in 1s (2279 kB/s) 63s (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 ... 74045 files and directories currently installed.) 63s Preparing to unpack .../rng-tools-debian_2.6_ppc64el.deb ... 63s Unpacking rng-tools-debian (2.6) over (2.5) ... 63s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_ppc64el.deb ... 63s Unpacking libatomic1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 63s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_ppc64el.deb ... 63s Unpacking gcc-14-base:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 63s Setting up gcc-14-base:ppc64el (14.2.0-13ubuntu1) ... 63s (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 ... 74045 files and directories currently installed.) 63s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_ppc64el.deb ... 63s Unpacking libstdc++6:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 63s Setting up libstdc++6:ppc64el (14.2.0-13ubuntu1) ... 63s (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 ... 74045 files and directories currently installed.) 63s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_ppc64el.deb ... 63s Unpacking libgcc-s1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 63s Setting up libgcc-s1:ppc64el (14.2.0-13ubuntu1) ... 63s (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 ... 74045 files and directories currently installed.) 63s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 63s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 63s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_ppc64el.deb ... 63s Unpacking libgudev-1.0-0:ppc64el (1:238-6) over (1:238-5ubuntu1) ... 63s Preparing to unpack .../python3-certifi_2024.12.14+ds-1_all.deb ... 63s Unpacking python3-certifi (2024.12.14+ds-1) over (2024.8.30+dfsg-1) ... 63s Preparing to unpack .../python3-chardet_5.2.0+dfsg-2_all.deb ... 64s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 64s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 64s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 64s Setting up python3-jwt (2.10.1-2) ... 64s Setting up python3-chardet (5.2.0+dfsg-2) ... 64s Setting up python3-certifi (2024.12.14+ds-1) ... 64s Setting up rng-tools-debian (2.6) ... 65s Setting up libatomic1:ppc64el (14.2.0-13ubuntu1) ... 65s Setting up usb.ids (2025.01.14-1) ... 65s Setting up libgudev-1.0-0:ppc64el (1:238-6) ... 65s Processing triggers for man-db (2.13.0-1) ... 68s Processing triggers for libc-bin (2.40-4ubuntu1) ... 68s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 68s + /usr/lib/apt/apt-helper analyze-pattern ?true 68s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 68s Reading package lists... 68s Building dependency tree... 68s Reading state information... 69s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 69s + grep -q trusty /etc/lsb-release 69s + [ ! -d /usr/share/doc/unattended-upgrades ] 69s + [ ! -d /usr/share/doc/lxd ] 69s + [ ! -d /usr/share/doc/lxd-client ] 69s + [ ! -d /usr/share/doc/snapd ] 69s + type iptables 69s + cat 69s + chmod 755 /etc/rc.local 69s + . /etc/rc.local 69s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 69s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 69s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 69s + uname -m 69s + [ ppc64le = ppc64le ] 69s + systemctl is-active keyboard-setup.service 69s + [ active = failed ] 69s + [ -d /run/systemd/system ] 69s + systemd-detect-virt --quiet --vm 69s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 69s + cat 69s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 69s + echo COMPRESS=lz4 69s + sync 69s autopkgtest [00:27:38]: upgrading testbed (apt dist-upgrade and autopurge) 69s Reading package lists... 69s Building dependency tree... 69s Reading state information... 70s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 70s Starting 2 pkgProblemResolver with broken count: 0 70s Done 70s Entering ResolveByKeep 70s 71s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 71s Starting pkgProblemResolver with broken count: 0 71s Starting 2 pkgProblemResolver with broken count: 0 71s Done 72s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 72s autopkgtest [00:27:41]: rebooting testbed after setup commands that affected boot 106s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 114s autopkgtest [00:28:23]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 116s autopkgtest [00:28:25]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 127s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 127s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 127s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 127s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 128s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 128s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 128s gpgv: Can't check signature: No public key 128s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 128s autopkgtest [00:28:37]: testing package glib2.0 version 2.82.4-1 133s autopkgtest [00:28:42]: build not needed 144s autopkgtest [00:28:53]: test build: preparing testbed 144s Reading package lists... 144s Building dependency tree... 144s Reading state information... 144s Starting pkgProblemResolver with broken count: 0 144s Starting 2 pkgProblemResolver with broken count: 0 144s Done 145s The following NEW packages will be installed: 145s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 145s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 145s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 145s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev 145s libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1 liblsan0 libmount-dev 145s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 145s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 145s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin uuid-dev 145s zlib1g-dev 145s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 145s Need to get 63.1 MB of archives. 145s After this operation, 234 MB of additional disk space will be used. 145s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 145s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 145s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-13ubuntu1 [10.5 MB] 146s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-13ubuntu1 [1036 B] 146s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 146s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 146s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-13ubuntu1 [48.1 kB] 146s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-13ubuntu1 [161 kB] 146s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-13ubuntu1 [32.2 kB] 146s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-13ubuntu1 [2945 kB] 146s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-13ubuntu1 [1322 kB] 146s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-13ubuntu1 [2695 kB] 146s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-13ubuntu1 [1191 kB] 146s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-13ubuntu1 [158 kB] 146s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-13ubuntu1 [1620 kB] 146s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-13ubuntu1 [20.6 MB] 146s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-13ubuntu1 [534 kB] 146s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 146s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 146s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-13ubuntu1 [2677 kB] 147s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-13ubuntu1 [12.0 MB] 147s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-13ubuntu1 [21.1 kB] 147s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 147s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 147s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 147s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.6-1build1 [67.5 kB] 147s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el uuid-dev ppc64el 2.40.2-1ubuntu2 [55.3 kB] 147s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblkid-dev ppc64el 2.40.2-1ubuntu2 [278 kB] 147s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB] 147s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu3 [254 kB] 147s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB] 147s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu3 [7108 B] 147s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu3 [817 kB] 147s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu1 [194 kB] 147s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmount-dev ppc64el 2.40.2-1ubuntu2 [33.2 kB] 147s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 47.2-1 [61.4 kB] 147s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 147s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 147s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 147s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 147s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev ppc64el 2.82.4-1 [2152 kB] 148s Fetched 63.1 MB in 2s (27.0 MB/s) 148s Selecting previously unselected package libisl23:ppc64el. 148s (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 ... 74042 files and directories currently installed.) 148s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 148s Unpacking libisl23:ppc64el (0.27-1) ... 148s Selecting previously unselected package libmpc3:ppc64el. 148s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 148s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 148s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 148s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package cpp-14. 148s Preparing to unpack .../03-cpp-14_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking cpp-14 (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 148s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 148s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 148s Selecting previously unselected package cpp. 148s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 148s Unpacking cpp (4:14.1.0-2ubuntu1) ... 148s Selecting previously unselected package libcc1-0:ppc64el. 148s Preparing to unpack .../06-libcc1-0_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking libcc1-0:ppc64el (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package libgomp1:ppc64el. 148s Preparing to unpack .../07-libgomp1_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking libgomp1:ppc64el (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package libitm1:ppc64el. 148s Preparing to unpack .../08-libitm1_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking libitm1:ppc64el (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package libasan8:ppc64el. 148s Preparing to unpack .../09-libasan8_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking libasan8:ppc64el (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package liblsan0:ppc64el. 148s Preparing to unpack .../10-liblsan0_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking liblsan0:ppc64el (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package libtsan2:ppc64el. 148s Preparing to unpack .../11-libtsan2_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking libtsan2:ppc64el (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package libubsan1:ppc64el. 148s Preparing to unpack .../12-libubsan1_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking libubsan1:ppc64el (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package libquadmath0:ppc64el. 148s Preparing to unpack .../13-libquadmath0_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking libquadmath0:ppc64el (14.2.0-13ubuntu1) ... 148s Selecting previously unselected package libgcc-14-dev:ppc64el. 148s Preparing to unpack .../14-libgcc-14-dev_14.2.0-13ubuntu1_ppc64el.deb ... 148s Unpacking libgcc-14-dev:ppc64el (14.2.0-13ubuntu1) ... 149s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 149s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-13ubuntu1_ppc64el.deb ... 149s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 149s Selecting previously unselected package gcc-14. 149s Preparing to unpack .../16-gcc-14_14.2.0-13ubuntu1_ppc64el.deb ... 149s Unpacking gcc-14 (14.2.0-13ubuntu1) ... 149s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 149s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 149s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 149s Selecting previously unselected package gcc. 149s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 149s Unpacking gcc (4:14.1.0-2ubuntu1) ... 149s Selecting previously unselected package libstdc++-14-dev:ppc64el. 149s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-13ubuntu1_ppc64el.deb ... 149s Unpacking libstdc++-14-dev:ppc64el (14.2.0-13ubuntu1) ... 149s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 149s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-13ubuntu1_ppc64el.deb ... 149s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 149s Selecting previously unselected package g++-14. 149s Preparing to unpack .../21-g++-14_14.2.0-13ubuntu1_ppc64el.deb ... 149s Unpacking g++-14 (14.2.0-13ubuntu1) ... 149s Selecting previously unselected package g++-powerpc64le-linux-gnu. 149s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 149s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 149s Selecting previously unselected package g++. 149s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 149s Unpacking g++ (4:14.1.0-2ubuntu1) ... 149s Selecting previously unselected package build-essential. 149s Preparing to unpack .../24-build-essential_12.10ubuntu1_ppc64el.deb ... 149s Unpacking build-essential (12.10ubuntu1) ... 149s Selecting previously unselected package libffi-dev:ppc64el. 149s Preparing to unpack .../25-libffi-dev_3.4.6-1build1_ppc64el.deb ... 149s Unpacking libffi-dev:ppc64el (3.4.6-1build1) ... 149s Selecting previously unselected package uuid-dev:ppc64el. 149s Preparing to unpack .../26-uuid-dev_2.40.2-1ubuntu2_ppc64el.deb ... 149s Unpacking uuid-dev:ppc64el (2.40.2-1ubuntu2) ... 149s Selecting previously unselected package libblkid-dev:ppc64el. 149s Preparing to unpack .../27-libblkid-dev_2.40.2-1ubuntu2_ppc64el.deb ... 149s Unpacking libblkid-dev:ppc64el (2.40.2-1ubuntu2) ... 149s Selecting previously unselected package libsepol-dev:ppc64el. 149s Preparing to unpack .../28-libsepol-dev_3.7-1_ppc64el.deb ... 149s Unpacking libsepol-dev:ppc64el (3.7-1) ... 149s Selecting previously unselected package libpcre2-16-0:ppc64el. 149s Preparing to unpack .../29-libpcre2-16-0_10.42-4ubuntu3_ppc64el.deb ... 149s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 150s Selecting previously unselected package libpcre2-32-0:ppc64el. 150s Preparing to unpack .../30-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ... 150s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 150s Selecting previously unselected package libpcre2-posix3:ppc64el. 150s Preparing to unpack .../31-libpcre2-posix3_10.42-4ubuntu3_ppc64el.deb ... 150s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 150s Selecting previously unselected package libpcre2-dev:ppc64el. 150s Preparing to unpack .../32-libpcre2-dev_10.42-4ubuntu3_ppc64el.deb ... 150s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 150s Selecting previously unselected package libselinux1-dev:ppc64el. 150s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu1_ppc64el.deb ... 150s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu1) ... 150s Selecting previously unselected package libmount-dev:ppc64el. 150s Preparing to unpack .../34-libmount-dev_2.40.2-1ubuntu2_ppc64el.deb ... 150s Unpacking libmount-dev:ppc64el (2.40.2-1ubuntu2) ... 150s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 150s Preparing to unpack .../35-libsysprof-capture-4-dev_47.2-1_ppc64el.deb ... 150s Unpacking libsysprof-capture-4-dev:ppc64el (47.2-1) ... 150s Selecting previously unselected package libpkgconf3:ppc64el. 150s Preparing to unpack .../36-libpkgconf3_1.8.1-4_ppc64el.deb ... 150s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 150s Selecting previously unselected package pkgconf-bin. 150s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_ppc64el.deb ... 150s Unpacking pkgconf-bin (1.8.1-4) ... 150s Selecting previously unselected package pkgconf:ppc64el. 150s Preparing to unpack .../38-pkgconf_1.8.1-4_ppc64el.deb ... 150s Unpacking pkgconf:ppc64el (1.8.1-4) ... 150s Selecting previously unselected package zlib1g-dev:ppc64el. 150s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 150s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 150s Selecting previously unselected package libgio-2.0-dev:ppc64el. 150s Preparing to unpack .../40-libgio-2.0-dev_2.82.4-1_ppc64el.deb ... 150s Unpacking libgio-2.0-dev:ppc64el (2.82.4-1) ... 150s Setting up libgomp1:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up libffi-dev:ppc64el (3.4.6-1build1) ... 150s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 150s Setting up libsysprof-capture-4-dev:ppc64el (47.2-1) ... 150s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 150s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 150s Setting up uuid-dev:ppc64el (2.40.2-1ubuntu2) ... 150s Setting up libquadmath0:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 150s Setting up libsepol-dev:ppc64el (3.7-1) ... 150s Setting up pkgconf-bin (1.8.1-4) ... 150s Setting up libubsan1:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 150s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 150s Setting up libasan8:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up libtsan2:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up libisl23:ppc64el (0.27-1) ... 150s Setting up libcc1-0:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up liblsan0:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up libitm1:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up libblkid-dev:ppc64el (2.40.2-1ubuntu2) ... 150s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 150s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu1) ... 150s Setting up pkgconf:ppc64el (1.8.1-4) ... 150s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 150s Setting up cpp-14 (14.2.0-13ubuntu1) ... 150s Setting up libgcc-14-dev:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up libstdc++-14-dev:ppc64el (14.2.0-13ubuntu1) ... 150s Setting up libmount-dev:ppc64el (2.40.2-1ubuntu2) ... 150s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 150s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 150s Setting up libgio-2.0-dev:ppc64el (2.82.4-1) ... 150s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 150s Setting up gcc-14 (14.2.0-13ubuntu1) ... 150s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 150s Setting up cpp (4:14.1.0-2ubuntu1) ... 150s Setting up g++-14 (14.2.0-13ubuntu1) ... 150s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 150s Setting up gcc (4:14.1.0-2ubuntu1) ... 150s Setting up g++ (4:14.1.0-2ubuntu1) ... 150s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 150s Setting up build-essential (12.10ubuntu1) ... 150s Processing triggers for libc-bin (2.40-4ubuntu1) ... 150s Processing triggers for man-db (2.13.0-1) ... 152s Processing triggers for libglib2.0-0t64:ppc64el (2.82.4-1) ... 152s No schema files found: doing nothing. 152s Processing triggers for install-info (7.1.1-1) ... 154s autopkgtest [00:29:03]: test build: [----------------------- 154s + mode=dynamic 154s + getopt -o --long static -n debian/tests/build -- 154s + getopt_temp= -- 154s + eval set -- -- 154s + set -- -- 154s + true 154s + shift 154s + break 154s + mktemp -d 154s + WORKDIR=/tmp/tmp.Ot8pnzx4Mr 154s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 154s + cd /tmp/tmp.Ot8pnzx4Mr 154s + [ -n ] 154s + CROSS_COMPILE= 154s + cat 154s + cat 154s + cat 154s + cat 154s + cat 154s + cat 154s + cflags= 154s + pcflags= 154s + packages=glib-2.0 154s + pkg-config --cflags --libs glib-2.0 154s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 154s + echo build (glib, dynamic): OK 154s + [ -x glib-dynamic ] 154s + foo=bar ./glib-dynamic 154s + echo run (glib, dynamic): OK 154s + cflags= 154s + pcflags= 154s + packages=gobject-2.0 154s + pkg-config --cflags --libs gobject-2.0 154s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 154s build (glib, dynamic): OK 154s run (glib, dynamic): OK 154s build (gobject, dynamic): OK 154s + echo build (gobject, dynamic): OK 154s + [ -x gobject-dynamic ] 154s + foo=bar ./gobject-dynamic 154s + echo run (gobject, dynamic): OK 154s + cflags= 154s + pcflags= 154s + packages=gio-2.0 154s + pkg-config --cflags --libs gio-2.0 154s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 154s run (gobject, dynamic): OK 155s build (gio, dynamic): OK 155s + echo build (gio, dynamic): OK 155s + [ -x gio-dynamic ] 155s + foo=bar ./gio-dynamic 155s + echo run (gio, dynamic): OK 155s + cflags= 155s + pcflags= 155s + packages=gio-unix-2.0 155s + run (gio, dynamic): OK 155s pkg-config --cflags --libs gio-unix-2.0 155s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 155s build (gio-unix, dynamic): OK 155s + echo build (gio-unix, dynamic): OK 155s + [ -x gio-unix-dynamic ] 155s + foo=bar ./gio-unix-dynamic 155s run (gio-unix, dynamic): OK 155s + echo run (gio-unix, dynamic): OK 155s + cflags= 155s + pcflags= 155s + packages=gmodule-2.0 155s + pkg-config --cflags --libs gmodule-2.0 155s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 155s build (gmodule, dynamic): OK 155s + echo build (gmodule, dynamic): OK 155s + [ -x gmodule-dynamic ] 155s + foo=bar ./gmodule-dynamic 155s + echo run (gmodule, dynamic): OK 155s + cflags= 155s + pcflags= 155s + packages=gthread-2.0 155s run (gmodule, dynamic): OK 155s + pkg-config --cflags --libs gthread-2.0 155s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 155s build (gthread, dynamic): OK 155s run (gthread, dynamic): OK 155s + echo build (gthread, dynamic): OK 155s + [ -x gthread-dynamic ] 155s + foo=bar ./gthread-dynamic 155s + echo run (gthread, dynamic): OK 155s + rm -rf /tmp/tmp.Ot8pnzx4Mr 155s autopkgtest [00:29:04]: test build: -----------------------] 156s autopkgtest [00:29:05]: test build: - - - - - - - - - - results - - - - - - - - - - 156s build PASS (superficial) 156s autopkgtest [00:29:05]: test build-static: preparing testbed 156s Reading package lists... 157s Building dependency tree... 157s Reading state information... 157s Starting pkgProblemResolver with broken count: 0 157s Starting 2 pkgProblemResolver with broken count: 0 157s Done 157s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 158s autopkgtest [00:29:07]: test build-static: [----------------------- 158s + mode=dynamic 158s + getopt -o --long static -n debian/tests/build -- --static 158s + getopt_temp= --static -- 158s + eval set -- --static -- 158s + set -- --static -- 158s + true 158s + mode=static 158s + shift 158s + continue 158s + true 158s + shift 158s + break 158s + mktemp -d 158s + WORKDIR=/tmp/tmp.fEwbjeHoDE 158s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 158s + cd /tmp/tmp.fEwbjeHoDE 158s + [ -n ] 158s + CROSS_COMPILE= 158s + cat 158s + cat 158s + cat 158s + cat 158s + cat 158s + cat 158s + cflags= 158s + pcflags= 158s + packages=glib-2.0 158s + cflags=-static 158s + pcflags=--static 158s + pkg-config --static --cflags --libs glib-2.0 158s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 158s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 158s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 158s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 158s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 158s build (glib, static): OK 158s + echo build (glib, static): OK 158s + [ -x glib-static ] 158s + foo=bar ./glib-static 158s run (glib, static): OK 158s + echo run (glib, static): OK 158s + cflags= 158s + pcflags= 158s + packages=gobject-2.0 158s + cflags=-static 158s + pcflags=--static 158s + pkg-config --static --cflags --libs gobject-2.0 158s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 158s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 158s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 158s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 158s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 159s + echobuild (gobject, static): OK 159s build (gobject, static): OK 159s + [ -x gobject-static ] 159s + foo=bar ./gobject-static 159s + echo run (gobject, static): OK 159s + cflags=run (gobject, static): OK 159s 159s + pcflags= 159s + packages=gio-2.0 159s + cflags=-static 159s + pcflags=--static 159s + continue 159s + cflags= 159s + pcflags= 159s + packages=gio-unix-2.0 159s + cflags=-static 159s + pcflags=--static 159s + continue 159s + cflags= 159s + pcflags= 159s + packages=gmodule-2.0 159s + cflags=-static 159s + pcflags=--static 159s + pkg-config --static --cflags --libs gmodule-2.0 159s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 159s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 159s (.text+0x914): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 159s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 159s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 159s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 159s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 159s build (gmodule, static): OK 159s + echo build (gmodule, static): OK 159s + [ -x gmodule-static ] 159s + foo=bar ./gmodule-static 159s run (gmodule, static): OK 159s + echo run (gmodule, static): OK 159s + cflags= 159s + pcflags= 159s + packages=gthread-2.0 159s + cflags=-static 159s + pcflags=--static 159s + pkg-config --static --cflags --libs gthread-2.0 159s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 159s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 159s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 159s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 159s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 159s build (gthread, static): OK 159s run (gthread, static): OK 159s + echo build (gthread, static): OK 159s + [ -x gthread-static ] 159s + foo=bar ./gthread-static 159s + echo run (gthread, static): OK 159s + rm -rf /tmp/tmp.fEwbjeHoDE 159s autopkgtest [00:29:08]: test build-static: -----------------------] 160s autopkgtest [00:29:09]: test build-static: - - - - - - - - - - results - - - - - - - - - - 160s build-static PASS (superficial) 160s autopkgtest [00:29:09]: test girepository-tools: preparing testbed 259s autopkgtest [00:30:48]: testbed dpkg architecture: ppc64el 260s autopkgtest [00:30:49]: testbed apt version: 2.9.18 260s autopkgtest [00:30:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 260s autopkgtest [00:30:49]: testbed release detected to be: plucky 261s autopkgtest [00:30:50]: updating testbed package index (apt update) 261s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 261s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 262s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 262s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 262s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [163 kB] 262s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [846 kB] 262s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 262s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 262s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [274 kB] 262s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 262s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [985 kB] 262s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [14.5 kB] 262s Fetched 2381 kB in 1s (1974 kB/s) 263s Reading package lists... 264s + lsb_release --codename --short 264s + RELEASE=plucky 264s + cat 264s + [ plucky != trusty ] 264s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 264s Reading package lists... 264s Building dependency tree... 264s Reading state information... 264s Calculating upgrade... 264s The following packages will be upgraded: 264s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-certifi 264s python3-chardet python3-jwt rng-tools-debian usb.ids 265s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 265s Need to get 1421 kB of archives. 265s After this operation, 0 B of additional disk space will be used. 265s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ppc64el rng-tools-debian ppc64el 2.6 [46.3 kB] 265s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libatomic1 ppc64el 14.2.0-13ubuntu1 [10.7 kB] 265s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-13ubuntu1 [53.0 kB] 265s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++6 ppc64el 14.2.0-13ubuntu1 [886 kB] 265s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-s1 ppc64el 14.2.0-13ubuntu1 [39.1 kB] 265s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el usb.ids all 2025.01.14-1 [223 kB] 265s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgudev-1.0-0 ppc64el 1:238-6 [15.7 kB] 265s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-certifi all 2024.12.14+ds-1 [9800 B] 265s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-chardet all 5.2.0+dfsg-2 [116 kB] 265s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-jwt all 2.10.1-2 [21.0 kB] 266s Fetched 1421 kB in 1s (2192 kB/s) 266s (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 ... 74045 files and directories currently installed.) 266s Preparing to unpack .../rng-tools-debian_2.6_ppc64el.deb ... 266s Unpacking rng-tools-debian (2.6) over (2.5) ... 266s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_ppc64el.deb ... 266s Unpacking libatomic1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 266s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_ppc64el.deb ... 266s Unpacking gcc-14-base:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 266s Setting up gcc-14-base:ppc64el (14.2.0-13ubuntu1) ... 266s (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 ... 74045 files and directories currently installed.) 266s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_ppc64el.deb ... 266s Unpacking libstdc++6:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 266s Setting up libstdc++6:ppc64el (14.2.0-13ubuntu1) ... 266s (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 ... 74045 files and directories currently installed.) 266s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_ppc64el.deb ... 266s Unpacking libgcc-s1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 266s Setting up libgcc-s1:ppc64el (14.2.0-13ubuntu1) ... 266s (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 ... 74045 files and directories currently installed.) 266s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 266s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 266s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_ppc64el.deb ... 266s Unpacking libgudev-1.0-0:ppc64el (1:238-6) over (1:238-5ubuntu1) ... 266s Preparing to unpack .../python3-certifi_2024.12.14+ds-1_all.deb ... 266s Unpacking python3-certifi (2024.12.14+ds-1) over (2024.8.30+dfsg-1) ... 266s Preparing to unpack .../python3-chardet_5.2.0+dfsg-2_all.deb ... 267s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 267s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 267s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 267s Setting up python3-jwt (2.10.1-2) ... 267s Setting up python3-chardet (5.2.0+dfsg-2) ... 267s Setting up python3-certifi (2024.12.14+ds-1) ... 267s Setting up rng-tools-debian (2.6) ... 268s Setting up libatomic1:ppc64el (14.2.0-13ubuntu1) ... 268s Setting up usb.ids (2025.01.14-1) ... 268s Setting up libgudev-1.0-0:ppc64el (1:238-6) ... 268s Processing triggers for man-db (2.13.0-1) ... 271s Processing triggers for libc-bin (2.40-4ubuntu1) ... 271s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 271s + /usr/lib/apt/apt-helper analyze-pattern ?true 271s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 271s Reading package lists... 271s Building dependency tree... 271s Reading state information... 271s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 271s + grep -q trusty /etc/lsb-release 271s + [ ! -d /usr/share/doc/unattended-upgrades ] 271s + [ ! -d /usr/share/doc/lxd ] 271s + [ ! -d /usr/share/doc/lxd-client ] 271s + [ ! -d /usr/share/doc/snapd ] 271s + type iptables 271s + cat 271s + chmod 755 /etc/rc.local 271s + . /etc/rc.local 271s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 271s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 271s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 271s + uname -m 271s + [ ppc64le = ppc64le ] 271s + systemctl is-active keyboard-setup.service 271s + [ active = failed ] 271s + [ -d /run/systemd/system ] 271s + systemd-detect-virt --quiet --vm 271s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 271s + cat 271s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 271s + echo COMPRESS=lz4 271s + sync 272s autopkgtest [00:31:01]: upgrading testbed (apt dist-upgrade and autopurge) 272s Reading package lists... 272s Building dependency tree... 272s Reading state information... 272s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 272s Starting 2 pkgProblemResolver with broken count: 0 272s Done 273s Entering ResolveByKeep 273s 273s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 273s Reading package lists... 274s Building dependency tree... 274s Reading state information... 274s Starting pkgProblemResolver with broken count: 0 274s Starting 2 pkgProblemResolver with broken count: 0 274s Done 274s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 274s autopkgtest [00:31:03]: rebooting testbed after setup commands that affected boot 309s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 319s Reading package lists... 319s Building dependency tree... 319s Reading state information... 319s Starting pkgProblemResolver with broken count: 0 319s Starting 2 pkgProblemResolver with broken count: 0 319s Done 320s The following NEW packages will be installed: 320s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 320s native-architecture 320s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 320s Need to get 1070 kB of archives. 320s After this operation, 12.8 MB of additional disk space will be used. 320s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.82.4-1 [853 kB] 320s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.3 [1990 B] 320s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.4-1 [84.0 kB] 320s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.82.4-1 [131 kB] 321s Fetched 1070 kB in 1s (1807 kB/s) 321s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 321s (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 ... 74042 files and directories currently installed.) 321s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_ppc64el.deb ... 321s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 321s Selecting previously unselected package native-architecture. 321s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 321s Unpacking native-architecture (0.2.3) ... 321s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 321s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_ppc64el.deb ... 321s Unpacking libgirepository-2.0-0:ppc64el (2.82.4-1) ... 321s Selecting previously unselected package girepository-tools:ppc64el. 321s Preparing to unpack .../girepository-tools_2.82.4-1_ppc64el.deb ... 321s Unpacking girepository-tools:ppc64el (2.82.4-1) ... 321s Setting up native-architecture (0.2.3) ... 321s Setting up libgirepository-2.0-0:ppc64el (2.82.4-1) ... 321s Setting up gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 321s Setting up girepository-tools:ppc64el (2.82.4-1) ... 321s Processing triggers for man-db (2.13.0-1) ... 322s Processing triggers for libc-bin (2.40-4ubuntu1) ... 327s autopkgtest [00:31:56]: test girepository-tools: [----------------------- 327s + cd /tmp/autopkgtest.p21SP2/autopkgtest_tmp 327s + dpkg-architecture -qDEB_HOST_GNU_TYPE 327s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 327s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 327s + dpkg-architecture -qDEB_HOST_MULTIARCH 327s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 327s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 327s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 328s typelib: GLib-2.0 328s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 328s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 328s autopkgtest [00:31:57]: test girepository-tools: -----------------------] 329s girepository-tools PASS (superficial) 329s autopkgtest [00:31:58]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 329s autopkgtest [00:31:58]: test libgio-2.0-dev-bin: preparing testbed 417s autopkgtest [00:33:26]: testbed dpkg architecture: ppc64el 417s autopkgtest [00:33:26]: testbed apt version: 2.9.18 418s autopkgtest [00:33:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 418s autopkgtest [00:33:27]: testbed release detected to be: plucky 419s autopkgtest [00:33:28]: updating testbed package index (apt update) 419s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 419s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 419s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 419s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 419s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 419s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [846 kB] 420s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [163 kB] 420s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 420s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [274 kB] 420s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 420s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [985 kB] 420s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [14.5 kB] 420s Fetched 2381 kB in 1s (1974 kB/s) 421s Reading package lists... 422s + lsb_release --codename --short 422s + RELEASE=plucky 422s + cat 422s + [ plucky != trusty ] 422s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 422s Reading package lists... 422s Building dependency tree... 422s Reading state information... 422s Calculating upgrade... 422s The following packages will be upgraded: 422s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-certifi 422s python3-chardet python3-jwt rng-tools-debian usb.ids 422s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 422s Need to get 1421 kB of archives. 422s After this operation, 0 B of additional disk space will be used. 422s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ppc64el rng-tools-debian ppc64el 2.6 [46.3 kB] 423s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libatomic1 ppc64el 14.2.0-13ubuntu1 [10.7 kB] 423s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-13ubuntu1 [53.0 kB] 423s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++6 ppc64el 14.2.0-13ubuntu1 [886 kB] 423s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-s1 ppc64el 14.2.0-13ubuntu1 [39.1 kB] 423s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el usb.ids all 2025.01.14-1 [223 kB] 423s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgudev-1.0-0 ppc64el 1:238-6 [15.7 kB] 423s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-certifi all 2024.12.14+ds-1 [9800 B] 423s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-chardet all 5.2.0+dfsg-2 [116 kB] 423s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-jwt all 2.10.1-2 [21.0 kB] 424s Fetched 1421 kB in 1s (2160 kB/s) 424s (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 ... 74045 files and directories currently installed.) 424s Preparing to unpack .../rng-tools-debian_2.6_ppc64el.deb ... 424s Unpacking rng-tools-debian (2.6) over (2.5) ... 424s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_ppc64el.deb ... 424s Unpacking libatomic1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 424s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_ppc64el.deb ... 424s Unpacking gcc-14-base:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 424s Setting up gcc-14-base:ppc64el (14.2.0-13ubuntu1) ... 424s (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 ... 74045 files and directories currently installed.) 424s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_ppc64el.deb ... 424s Unpacking libstdc++6:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 424s Setting up libstdc++6:ppc64el (14.2.0-13ubuntu1) ... 424s (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 ... 74045 files and directories currently installed.) 424s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_ppc64el.deb ... 424s Unpacking libgcc-s1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 424s Setting up libgcc-s1:ppc64el (14.2.0-13ubuntu1) ... 425s (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 ... 74045 files and directories currently installed.) 425s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 425s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 425s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_ppc64el.deb ... 425s Unpacking libgudev-1.0-0:ppc64el (1:238-6) over (1:238-5ubuntu1) ... 425s Preparing to unpack .../python3-certifi_2024.12.14+ds-1_all.deb ... 425s Unpacking python3-certifi (2024.12.14+ds-1) over (2024.8.30+dfsg-1) ... 425s Preparing to unpack .../python3-chardet_5.2.0+dfsg-2_all.deb ... 425s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 425s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 425s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 425s Setting up python3-jwt (2.10.1-2) ... 425s Setting up python3-chardet (5.2.0+dfsg-2) ... 426s Setting up python3-certifi (2024.12.14+ds-1) ... 426s Setting up rng-tools-debian (2.6) ... 427s Setting up libatomic1:ppc64el (14.2.0-13ubuntu1) ... 427s Setting up usb.ids (2025.01.14-1) ... 427s Setting up libgudev-1.0-0:ppc64el (1:238-6) ... 427s Processing triggers for man-db (2.13.0-1) ... 429s Processing triggers for libc-bin (2.40-4ubuntu1) ... 429s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 429s + /usr/lib/apt/apt-helper analyze-pattern ?true 429s + DEBIAN_FRONTEND=noninteractiveReading package lists... 429s Building dependency tree... eatmydata apt-get -y purge --autoremove ?obsolete 429s 429s Reading state information... 430s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 430s + grep -q trusty /etc/lsb-release 430s + [ ! -d /usr/share/doc/unattended-upgrades ] 430s + [ ! -d /usr/share/doc/lxd ] 430s + [ ! -d /usr/share/doc/lxd-client ] 430s + [ ! -d /usr/share/doc/snapd ] 430s + type iptables 430s + cat 430s + chmod 755 /etc/rc.local 430s + . /etc/rc.local 430s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 430s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 430s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 430s + uname -m 430s + [ ppc64le = ppc64le ] 430s + systemctl is-active keyboard-setup.service 430s + [ active = failed ] 430s + [ -d /run/systemd/system ] 430s + systemd-detect-virt --quiet --vm 430s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 430s + cat 430s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 430s + echo COMPRESS=lz4 430s + sync 430s autopkgtest [00:33:39]: upgrading testbed (apt dist-upgrade and autopurge) 430s Reading package lists... 430s Building dependency tree... 430s Reading state information... 431s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 431s Starting 2 pkgProblemResolver with broken count: 0 431s Done 431s Entering ResolveByKeep 431s 431s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 432s Reading package lists... 432s Building dependency tree... 432s Reading state information... 432s Starting pkgProblemResolver with broken count: 0 432s Starting 2 pkgProblemResolver with broken count: 0 432s Done 432s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 433s autopkgtest [00:33:42]: rebooting testbed after setup commands that affected boot 468s Reading package lists... 469s Building dependency tree... 469s Reading state information... 469s Starting pkgProblemResolver with broken count: 0 469s Starting 2 pkgProblemResolver with broken count: 0 469s Done 469s The following NEW packages will be installed: 469s libgio-2.0-dev-bin python3-packaging 469s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 469s Need to get 182 kB of archives. 469s After this operation, 1067 kB of additional disk space will be used. 469s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 469s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.82.4-1 [131 kB] 470s Fetched 182 kB in 0s (409 kB/s) 470s Selecting previously unselected package python3-packaging. 470s (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 ... 74042 files and directories currently installed.) 470s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 470s Unpacking python3-packaging (24.2-1) ... 470s Selecting previously unselected package libgio-2.0-dev-bin. 470s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_ppc64el.deb ... 470s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 470s Setting up python3-packaging (24.2-1) ... 471s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 471s Processing triggers for man-db (2.13.0-1) ... 476s autopkgtest [00:34:25]: test libgio-2.0-dev-bin: [----------------------- 477s + gdbus-codegen --help 477s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 477s [--c-namespace NAMESPACE] [--c-generate-object-manager] 477s [--c-generate-autocleanup {none,objects,all}] 477s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 477s [--generate-rst OUTFILES] [--pragma-once] 477s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 477s [--glib-min-required VERSION] 477s [--glib-max-allowed VERSION] 477s [--symbol-decorator SYMBOL_DECORATOR] 477s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 477s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 477s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 477s [--output FILE | --output-directory OUTDIR] 477s FILE [FILE ...] 477s 477s D-Bus code and documentation generator 477s 477s positional arguments: 477s FILE D-Bus introspection XML file 477s 477s options: 477s -h, --help show this help message and exit 477s --interface-prefix PREFIX 477s String to strip from D-Bus interface names for code 477s and docs 477s --c-namespace NAMESPACE 477s The namespace to use for generated C code 477s --c-generate-object-manager 477s Generate a GDBusObjectManagerClient subclass when 477s generating C code 477s --c-generate-autocleanup {none,objects,all} 477s Generate autocleanup support 477s --generate-docbook OUTFILES 477s Generate Docbook in OUTFILES-org.Project.IFace.xml 477s --generate-md OUTFILES 477s Generate Markdown in OUTFILES-org.Project.IFace.md 477s --generate-rst OUTFILES 477s Generate reStructuredText in OUTFILES- 477s org.Project.IFace.rst 477s --pragma-once Use "pragma once" as the inclusion guard 477s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 477s Add annotation (may be used several times) 477s --glib-min-required VERSION 477s Minimum version of GLib to be supported by the 477s outputted code (default: 2.30) 477s --glib-max-allowed VERSION 477s Maximum version of GLib to be used by the outputted 477s code (default: current GLib version) 477s --symbol-decorator SYMBOL_DECORATOR 477s Macro used to decorate a symbol in the outputted 477s header, possibly to export symbols 477s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 477s Additional header required for decorator specified by 477s --symbol-decorator 477s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 477s Additional define required for decorator specified by 477s --symbol-decorator 477s --generate-c-code OUTFILES 477s Generate C code in OUTFILES.[ch] 477s --header Generate C headers 477s --body Generate C code 477s --interface-info-header 477s Generate GDBusInterfaceInfo C header 477s --interface-info-body 477s Generate GDBusInterfaceInfo C code 477s --output FILE Write output into the specified file 477s --output-directory OUTDIR 477s Location to output generated files 477s + glib-compile-resources --version 477s 2.82.4 477s + glib-genmarshal --version 477s glib-genmarshal version 2.82.4 477s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 477s You may redistribute copies of glib-genmarshal under the terms of 477s the GNU General Public License which can be found in the 477s GLib source package. Sources, examples and contact 477s information are available at http://www.gtk.org 477s + glib-gettextize --version 477s + glib-mkenums --version 477s /usr/bin/glib-gettextize (GNU glib) 2.82.4 477s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 477s This is free software; see the source for copying conditions. There is NO 477s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 477s Written by Ulrich Drepper 477s glib-mkenums version 2.82.4 477s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 477s You may redistribute copies of glib-mkenums under the terms of 477s the GNU General Public License which can be found in the 477s GLib source package. Sources, examples and contact 477s information are available at http://www.gtk.org 477s GObject 477s gtester version 2.82.4 477s + gobject-query tree 477s + gtester --version 477s + gtester-report --version 477s gtester-report (GLib utils) version 2.82.4. 477s autopkgtest [00:34:26]: test libgio-2.0-dev-bin: -----------------------] 478s autopkgtest [00:34:27]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 478s libgio-2.0-dev-bin PASS (superficial) 478s autopkgtest [00:34:27]: test libglib2.0-dev: preparing testbed 565s autopkgtest [00:35:54]: testbed dpkg architecture: ppc64el 565s autopkgtest [00:35:54]: testbed apt version: 2.9.18 565s autopkgtest [00:35:54]: @@@@@@@@@@@@@@@@@@@@ test bed setup 565s autopkgtest [00:35:54]: testbed release detected to be: plucky 566s autopkgtest [00:35:55]: updating testbed package index (apt update) 567s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 567s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 567s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 567s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 567s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 567s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 567s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [163 kB] 567s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [846 kB] 567s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [274 kB] 567s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 567s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [985 kB] 567s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [14.5 kB] 568s Fetched 2381 kB in 1s (2147 kB/s) 568s Reading package lists... 569s + lsb_release --codename --short 569s + RELEASE=plucky 569s + cat 569s + [ plucky != trusty ] 569s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 569s Reading package lists... 569s Building dependency tree... 569s Reading state information... 570s Calculating upgrade... 570s The following packages will be upgraded: 570s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-certifi 570s python3-chardet python3-jwt rng-tools-debian usb.ids 570s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 570s Need to get 1421 kB of archives. 570s After this operation, 0 B of additional disk space will be used. 570s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ppc64el rng-tools-debian ppc64el 2.6 [46.3 kB] 570s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libatomic1 ppc64el 14.2.0-13ubuntu1 [10.7 kB] 570s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-13ubuntu1 [53.0 kB] 570s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++6 ppc64el 14.2.0-13ubuntu1 [886 kB] 571s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-s1 ppc64el 14.2.0-13ubuntu1 [39.1 kB] 571s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el usb.ids all 2025.01.14-1 [223 kB] 571s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgudev-1.0-0 ppc64el 1:238-6 [15.7 kB] 571s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-certifi all 2024.12.14+ds-1 [9800 B] 571s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-chardet all 5.2.0+dfsg-2 [116 kB] 571s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-jwt all 2.10.1-2 [21.0 kB] 571s Fetched 1421 kB in 1s (2203 kB/s) 572s (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 ... 74045 files and directories currently installed.) 572s Preparing to unpack .../rng-tools-debian_2.6_ppc64el.deb ... 572s Unpacking rng-tools-debian (2.6) over (2.5) ... 572s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_ppc64el.deb ... 572s Unpacking libatomic1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 572s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_ppc64el.deb ... 572s Unpacking gcc-14-base:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 572s Setting up gcc-14-base:ppc64el (14.2.0-13ubuntu1) ... 572s (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 ... 74045 files and directories currently installed.) 572s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_ppc64el.deb ... 572s Unpacking libstdc++6:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 572s Setting up libstdc++6:ppc64el (14.2.0-13ubuntu1) ... 572s (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 ... 74045 files and directories currently installed.) 572s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_ppc64el.deb ... 572s Unpacking libgcc-s1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 572s Setting up libgcc-s1:ppc64el (14.2.0-13ubuntu1) ... 572s (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 ... 74045 files and directories currently installed.) 572s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 572s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 572s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_ppc64el.deb ... 572s Unpacking libgudev-1.0-0:ppc64el (1:238-6) over (1:238-5ubuntu1) ... 572s Preparing to unpack .../python3-certifi_2024.12.14+ds-1_all.deb ... 572s Unpacking python3-certifi (2024.12.14+ds-1) over (2024.8.30+dfsg-1) ... 572s Preparing to unpack .../python3-chardet_5.2.0+dfsg-2_all.deb ... 572s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 572s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 572s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 572s Setting up python3-jwt (2.10.1-2) ... 573s Setting up python3-chardet (5.2.0+dfsg-2) ... 573s Setting up python3-certifi (2024.12.14+ds-1) ... 573s Setting up rng-tools-debian (2.6) ... 574s Setting up libatomic1:ppc64el (14.2.0-13ubuntu1) ... 574s Setting up usb.ids (2025.01.14-1) ... 574s Setting up libgudev-1.0-0:ppc64el (1:238-6) ... 574s Processing triggers for man-db (2.13.0-1) ... 576s Processing triggers for libc-bin (2.40-4ubuntu1) ... 576s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 576s + /usr/lib/apt/apt-helper analyze-pattern ?true 576s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 576s Reading package lists... 576s Building dependency tree... 576s Reading state information... 577s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 577s + grep -q trusty /etc/lsb-release 577s + [ ! -d /usr/share/doc/unattended-upgrades ] 577s + [ ! -d /usr/share/doc/lxd ] 577s + [ ! -d /usr/share/doc/lxd-client ] 577s + [ ! -d /usr/share/doc/snapd ] 577s + type iptables 577s + cat 577s + chmod 755 /etc/rc.local 577s + . /etc/rc.local 577s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 577s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 577s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 577s + uname -m 577s + [ ppc64le = ppc64le ] 577s + systemctl is-active keyboard-setup.service 577s + [ active = failed ] 577s + [ -d /run/systemd/system ] 577s + systemd-detect-virt --quiet --vm 577s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 577s + cat 577s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 577s + echo COMPRESS=lz4 577s + sync 577s autopkgtest [00:36:06]: upgrading testbed (apt dist-upgrade and autopurge) 577s Reading package lists... 577s Building dependency tree... 577s Reading state information... 578s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 578s Starting 2 pkgProblemResolver with broken count: 0 578s Done 578s Entering ResolveByKeep 578s 578s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 579s Reading package lists... 579s Building dependency tree... 579s Reading state information... 579s Starting pkgProblemResolver with broken count: 0 579s Starting 2 pkgProblemResolver with broken count: 0 579s Done 579s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 579s autopkgtest [00:36:08]: rebooting testbed after setup commands that affected boot 602s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 615s Reading package lists... 615s Building dependency tree... 615s Reading state information... 615s Starting pkgProblemResolver with broken count: 0 615s Starting 2 pkgProblemResolver with broken count: 0 615s Done 616s The following NEW packages will be installed: 616s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 616s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 616s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 616s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 616s libblkid-dev libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev 616s libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 616s libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 616s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 616s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 616s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 616s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 616s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 616s Need to get 64.5 MB of archives. 616s After this operation, 249 MB of additional disk space will be used. 616s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 616s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 616s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-13ubuntu1 [10.5 MB] 617s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-13ubuntu1 [1036 B] 617s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 617s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 617s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-13ubuntu1 [48.1 kB] 617s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-13ubuntu1 [161 kB] 617s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-13ubuntu1 [32.2 kB] 617s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-13ubuntu1 [2945 kB] 617s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-13ubuntu1 [1322 kB] 617s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-13ubuntu1 [2695 kB] 617s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-13ubuntu1 [1191 kB] 617s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-13ubuntu1 [158 kB] 617s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-13ubuntu1 [1620 kB] 617s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-13ubuntu1 [20.6 MB] 617s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-13ubuntu1 [534 kB] 617s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 617s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 617s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-13ubuntu1 [2677 kB] 618s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-13ubuntu1 [12.0 MB] 618s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-13ubuntu1 [21.1 kB] 618s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 618s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 618s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 618s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.82.4-1 [853 kB] 618s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.3 [1990 B] 618s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.4-1 [84.0 kB] 618s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.82.4-1 [131 kB] 618s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.6-1build1 [67.5 kB] 618s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el uuid-dev ppc64el 2.40.2-1ubuntu2 [55.3 kB] 618s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblkid-dev ppc64el 2.40.2-1ubuntu2 [278 kB] 618s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB] 618s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu3 [254 kB] 618s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB] 618s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu3 [7108 B] 618s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu3 [817 kB] 618s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1-dev ppc64el 3.7-3ubuntu1 [194 kB] 618s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmount-dev ppc64el 2.40.2-1ubuntu2 [33.2 kB] 618s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 47.2-1 [61.4 kB] 618s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 618s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 618s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 618s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 618s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev ppc64el 2.82.4-1 [2152 kB] 618s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 618s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.82.4-1 [131 kB] 618s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.82.4-1 [111 kB] 618s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.82.4-1 [18.1 kB] 618s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev ppc64el 2.82.4-1 [18.8 kB] 619s Fetched 64.5 MB in 2s (26.0 MB/s) 619s Selecting previously unselected package libisl23:ppc64el. 619s (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 ... 74042 files and directories currently installed.) 619s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 619s Unpacking libisl23:ppc64el (0.27-1) ... 619s Selecting previously unselected package libmpc3:ppc64el. 619s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 619s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 619s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 619s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-13ubuntu1_ppc64el.deb ... 619s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 619s Selecting previously unselected package cpp-14. 619s Preparing to unpack .../03-cpp-14_14.2.0-13ubuntu1_ppc64el.deb ... 619s Unpacking cpp-14 (14.2.0-13ubuntu1) ... 619s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 619s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 619s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 619s Selecting previously unselected package cpp. 619s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 619s Unpacking cpp (4:14.1.0-2ubuntu1) ... 619s Selecting previously unselected package libcc1-0:ppc64el. 619s Preparing to unpack .../06-libcc1-0_14.2.0-13ubuntu1_ppc64el.deb ... 619s Unpacking libcc1-0:ppc64el (14.2.0-13ubuntu1) ... 619s Selecting previously unselected package libgomp1:ppc64el. 619s Preparing to unpack .../07-libgomp1_14.2.0-13ubuntu1_ppc64el.deb ... 619s Unpacking libgomp1:ppc64el (14.2.0-13ubuntu1) ... 619s Selecting previously unselected package libitm1:ppc64el. 619s Preparing to unpack .../08-libitm1_14.2.0-13ubuntu1_ppc64el.deb ... 619s Unpacking libitm1:ppc64el (14.2.0-13ubuntu1) ... 619s Selecting previously unselected package libasan8:ppc64el. 619s Preparing to unpack .../09-libasan8_14.2.0-13ubuntu1_ppc64el.deb ... 619s Unpacking libasan8:ppc64el (14.2.0-13ubuntu1) ... 619s Selecting previously unselected package liblsan0:ppc64el. 619s Preparing to unpack .../10-liblsan0_14.2.0-13ubuntu1_ppc64el.deb ... 619s Unpacking liblsan0:ppc64el (14.2.0-13ubuntu1) ... 620s Selecting previously unselected package libtsan2:ppc64el. 620s Preparing to unpack .../11-libtsan2_14.2.0-13ubuntu1_ppc64el.deb ... 620s Unpacking libtsan2:ppc64el (14.2.0-13ubuntu1) ... 620s Selecting previously unselected package libubsan1:ppc64el. 620s Preparing to unpack .../12-libubsan1_14.2.0-13ubuntu1_ppc64el.deb ... 620s Unpacking libubsan1:ppc64el (14.2.0-13ubuntu1) ... 620s Selecting previously unselected package libquadmath0:ppc64el. 620s Preparing to unpack .../13-libquadmath0_14.2.0-13ubuntu1_ppc64el.deb ... 620s Unpacking libquadmath0:ppc64el (14.2.0-13ubuntu1) ... 620s Selecting previously unselected package libgcc-14-dev:ppc64el. 620s Preparing to unpack .../14-libgcc-14-dev_14.2.0-13ubuntu1_ppc64el.deb ... 620s Unpacking libgcc-14-dev:ppc64el (14.2.0-13ubuntu1) ... 620s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 620s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-13ubuntu1_ppc64el.deb ... 620s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 620s Selecting previously unselected package gcc-14. 620s Preparing to unpack .../16-gcc-14_14.2.0-13ubuntu1_ppc64el.deb ... 620s Unpacking gcc-14 (14.2.0-13ubuntu1) ... 620s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 620s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 620s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 620s Selecting previously unselected package gcc. 620s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 620s Unpacking gcc (4:14.1.0-2ubuntu1) ... 620s Selecting previously unselected package libstdc++-14-dev:ppc64el. 620s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-13ubuntu1_ppc64el.deb ... 620s Unpacking libstdc++-14-dev:ppc64el (14.2.0-13ubuntu1) ... 621s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 621s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-13ubuntu1_ppc64el.deb ... 621s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 621s Selecting previously unselected package g++-14. 621s Preparing to unpack .../21-g++-14_14.2.0-13ubuntu1_ppc64el.deb ... 621s Unpacking g++-14 (14.2.0-13ubuntu1) ... 621s Selecting previously unselected package g++-powerpc64le-linux-gnu. 621s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 621s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 621s Selecting previously unselected package g++. 621s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 621s Unpacking g++ (4:14.1.0-2ubuntu1) ... 621s Selecting previously unselected package build-essential. 621s Preparing to unpack .../24-build-essential_12.10ubuntu1_ppc64el.deb ... 621s Unpacking build-essential (12.10ubuntu1) ... 621s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 621s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.82.4-1_ppc64el.deb ... 621s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 621s Selecting previously unselected package native-architecture. 621s Preparing to unpack .../26-native-architecture_0.2.3_all.deb ... 621s Unpacking native-architecture (0.2.3) ... 621s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 621s Preparing to unpack .../27-libgirepository-2.0-0_2.82.4-1_ppc64el.deb ... 621s Unpacking libgirepository-2.0-0:ppc64el (2.82.4-1) ... 621s Selecting previously unselected package girepository-tools:ppc64el. 621s Preparing to unpack .../28-girepository-tools_2.82.4-1_ppc64el.deb ... 621s Unpacking girepository-tools:ppc64el (2.82.4-1) ... 621s Selecting previously unselected package libffi-dev:ppc64el. 621s Preparing to unpack .../29-libffi-dev_3.4.6-1build1_ppc64el.deb ... 621s Unpacking libffi-dev:ppc64el (3.4.6-1build1) ... 621s Selecting previously unselected package uuid-dev:ppc64el. 621s Preparing to unpack .../30-uuid-dev_2.40.2-1ubuntu2_ppc64el.deb ... 621s Unpacking uuid-dev:ppc64el (2.40.2-1ubuntu2) ... 621s Selecting previously unselected package libblkid-dev:ppc64el. 621s Preparing to unpack .../31-libblkid-dev_2.40.2-1ubuntu2_ppc64el.deb ... 621s Unpacking libblkid-dev:ppc64el (2.40.2-1ubuntu2) ... 621s Selecting previously unselected package libsepol-dev:ppc64el. 621s Preparing to unpack .../32-libsepol-dev_3.7-1_ppc64el.deb ... 621s Unpacking libsepol-dev:ppc64el (3.7-1) ... 621s Selecting previously unselected package libpcre2-16-0:ppc64el. 621s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_ppc64el.deb ... 621s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 621s Selecting previously unselected package libpcre2-32-0:ppc64el. 621s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ... 621s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 621s Selecting previously unselected package libpcre2-posix3:ppc64el. 621s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_ppc64el.deb ... 621s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 621s Selecting previously unselected package libpcre2-dev:ppc64el. 621s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_ppc64el.deb ... 621s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 621s Selecting previously unselected package libselinux1-dev:ppc64el. 621s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu1_ppc64el.deb ... 621s Unpacking libselinux1-dev:ppc64el (3.7-3ubuntu1) ... 621s Selecting previously unselected package libmount-dev:ppc64el. 621s Preparing to unpack .../38-libmount-dev_2.40.2-1ubuntu2_ppc64el.deb ... 621s Unpacking libmount-dev:ppc64el (2.40.2-1ubuntu2) ... 621s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 621s Preparing to unpack .../39-libsysprof-capture-4-dev_47.2-1_ppc64el.deb ... 621s Unpacking libsysprof-capture-4-dev:ppc64el (47.2-1) ... 621s Selecting previously unselected package libpkgconf3:ppc64el. 621s Preparing to unpack .../40-libpkgconf3_1.8.1-4_ppc64el.deb ... 621s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 621s Selecting previously unselected package pkgconf-bin. 621s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_ppc64el.deb ... 621s Unpacking pkgconf-bin (1.8.1-4) ... 621s Selecting previously unselected package pkgconf:ppc64el. 621s Preparing to unpack .../42-pkgconf_1.8.1-4_ppc64el.deb ... 621s Unpacking pkgconf:ppc64el (1.8.1-4) ... 621s Selecting previously unselected package zlib1g-dev:ppc64el. 621s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 621s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 621s Selecting previously unselected package libgio-2.0-dev:ppc64el. 621s Preparing to unpack .../44-libgio-2.0-dev_2.82.4-1_ppc64el.deb ... 621s Unpacking libgio-2.0-dev:ppc64el (2.82.4-1) ... 622s Selecting previously unselected package python3-packaging. 622s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 622s Unpacking python3-packaging (24.2-1) ... 622s Selecting previously unselected package libgio-2.0-dev-bin. 622s Preparing to unpack .../46-libgio-2.0-dev-bin_2.82.4-1_ppc64el.deb ... 622s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 622s Selecting previously unselected package libglib2.0-bin. 622s Preparing to unpack .../47-libglib2.0-bin_2.82.4-1_ppc64el.deb ... 622s Unpacking libglib2.0-bin (2.82.4-1) ... 622s Selecting previously unselected package libglib2.0-dev-bin. 622s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.4-1_ppc64el.deb ... 622s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 622s Selecting previously unselected package libglib2.0-dev:ppc64el. 622s Preparing to unpack .../49-libglib2.0-dev_2.82.4-1_ppc64el.deb ... 622s Unpacking libglib2.0-dev:ppc64el (2.82.4-1) ... 622s Setting up native-architecture (0.2.3) ... 622s Setting up libgirepository-2.0-0:ppc64el (2.82.4-1) ... 622s Setting up libglib2.0-bin (2.82.4-1) ... 622s Setting up libgomp1:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up libffi-dev:ppc64el (3.4.6-1build1) ... 622s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 622s Setting up libsysprof-capture-4-dev:ppc64el (47.2-1) ... 622s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 622s Setting up python3-packaging (24.2-1) ... 622s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 622s Setting up uuid-dev:ppc64el (2.40.2-1ubuntu2) ... 622s Setting up libquadmath0:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 622s Setting up libsepol-dev:ppc64el (3.7-1) ... 622s Setting up pkgconf-bin (1.8.1-4) ... 622s Setting up libubsan1:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 622s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 622s Setting up gir1.2-glib-2.0-dev:ppc64el (2.82.4-1) ... 622s Setting up libasan8:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up libtsan2:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up libisl23:ppc64el (0.27-1) ... 622s Setting up libcc1-0:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up liblsan0:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up libitm1:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up libblkid-dev:ppc64el (2.40.2-1ubuntu2) ... 622s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 622s Setting up girepository-tools:ppc64el (2.82.4-1) ... 622s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 622s Setting up libselinux1-dev:ppc64el (3.7-3ubuntu1) ... 622s Setting up pkgconf:ppc64el (1.8.1-4) ... 622s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 622s Setting up cpp-14 (14.2.0-13ubuntu1) ... 622s Setting up libgcc-14-dev:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up libstdc++-14-dev:ppc64el (14.2.0-13ubuntu1) ... 622s Setting up libmount-dev:ppc64el (2.40.2-1ubuntu2) ... 622s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 622s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 622s Setting up libglib2.0-dev-bin (2.82.4-1) ... 622s Setting up libgio-2.0-dev:ppc64el (2.82.4-1) ... 622s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-13ubuntu1) ... 622s Setting up gcc-14 (14.2.0-13ubuntu1) ... 622s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 622s Setting up cpp (4:14.1.0-2ubuntu1) ... 622s Setting up g++-14 (14.2.0-13ubuntu1) ... 622s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 622s Setting up gcc (4:14.1.0-2ubuntu1) ... 622s Setting up g++ (4:14.1.0-2ubuntu1) ... 622s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 622s Setting up build-essential (12.10ubuntu1) ... 622s Processing triggers for install-info (7.1.1-1) ... 623s Processing triggers for libc-bin (2.40-4ubuntu1) ... 623s Processing triggers for man-db (2.13.0-1) ... 624s Processing triggers for libglib2.0-0t64:ppc64el (2.82.4-1) ... 624s No schema files found: doing nothing. 624s Setting up libglib2.0-dev:ppc64el (2.82.4-1) ... 629s autopkgtest [00:36:58]: test libglib2.0-dev: [----------------------- 630s + debian/tests/build 630s + mode=dynamic 630s + getopt -o --long static -n debian/tests/build -- 630s + getopt_temp= -- 630s + eval set -- -- 630s + set -- -- 630s + true 630s + shift 630s + break 630s + mktemp -d 630s + WORKDIR=/tmp/tmp.elnXVGU5yk 630s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 630s + cd /tmp/tmp.elnXVGU5yk 630s + [ -n ] 630s + CROSS_COMPILE= 630s + cat 630s + cat 630s + cat 630s + cat 630s + cat 630s + cat 630s + cflags= 630s + pcflags= 630s + packages=glib-2.0 630s + pkg-config --cflags --libs glib-2.0 630s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 630s build (glib, dynamic): OK 630s + echo build (glib, dynamic): OK 630s + [ -x glib-dynamic ] 630s + foo=bar ./glib-dynamic 630s + echo run (glib, dynamic): OK 630s + cflags= 630s + pcflags= 630s + packages=gobject-2.0 630s + pkg-config --cflags --libs gobject-2.0 630s run (glib, dynamic): OK 630s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 630s build (gobject, dynamic): OK 630s + echo build (gobject, dynamic): OK 630s + [ -x gobject-dynamic ] 630s + foo=bar ./gobject-dynamic 630s run (gobject, dynamic): OK 630s + echo run (gobject, dynamic): OK 630s + cflags= 630s + pcflags= 630s + packages=gio-2.0 630s + pkg-config --cflags --libs gio-2.0 630s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 630s build (gio, dynamic): OK 630s + echo build (gio, dynamic): OK 630s + [ -x gio-dynamic ] 630s + foo=bar ./gio-dynamic 630s + echo run (gio, dynamic): OK 630s + cflags= 630s + pcflags= 630s + packages=gio-unix-2.0 630s + pkg-config --cflags --libs gio-unix-2.0 630s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 630s run (gio, dynamic): OK 630s build (gio-unix, dynamic): OK 630s + echo build (gio-unix, dynamic): OK 630s + [ -x gio-unix-dynamic ] 630s + foo=bar ./gio-unix-dynamic 630s + echo run (gio-unix, dynamic): OK 630s + cflags= 630s + pcflags= 630s + packages=gmodule-2.0 630s + pkg-config --cflags --libs gmodule-2.0 630s run (gio-unix, dynamic): OK 630s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 631s build (gmodule, dynamic): OK 631s + echo build (gmodule, dynamic): OK 631s + [ -x gmodule-dynamic ] 631s + foo=bar ./gmodule-dynamic 631s + echo run (gmodule, dynamic): OK 631s + cflags= 631s + pcflags= 631s + packages=gthread-2.0 631s + pkg-config --cflags --libs gthread-2.0 631s run (gmodule, dynamic): OK 631s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 631s build (gthread, dynamic): OK 631s run (gthread, dynamic): OK 631s + echo build (gthread, dynamic): OK 631s + [ -x gthread-dynamic ] 631s + foo=bar ./gthread-dynamic 631s + echo run (gthread, dynamic): OK 631s + rm -rf /tmp/tmp.elnXVGU5yk 631s + debian/tests/build-static 631s + mode=dynamic 631s + getopt -o --long static -n debian/tests/build -- --static 631s + getopt_temp= --static -- 631s + eval set -- --static -- 631s + set -- --static -- 631s + true 631s + mode=static 631s + shift 631s + continue 631s + true 631s + shift 631s + break 631s + mktemp -d 631s + WORKDIR=/tmp/tmp.uBYL0iuryp 631s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 631s + cd /tmp/tmp.uBYL0iuryp 631s + [ -n ] 631s + CROSS_COMPILE= 631s + cat 631s + cat 631s + cat 631s + cat 631s + cat 631s + cat 631s + cflags= 631s + pcflags= 631s + packages=glib-2.0 631s + cflags=-static 631s + pcflags=--static 631s + pkg-config --static --cflags --libs glib-2.0 631s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 631s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 631s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s build (glib, static): OK 631s run (glib, static): OK 631s + echo build (glib, static): OK 631s + [ -x glib-static ] 631s + foo=bar ./glib-static 631s + echo run (glib, static): OK 631s + cflags= 631s + pcflags= 631s + packages=gobject-2.0 631s + cflags=-static 631s + pcflags=--static 631s + pkg-config --static --cflags --libs gobject-2.0 631s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 631s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 631s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s + echo build (gobject, static): OK 631s build (gobject, static): OK 631s run (gobject, static): OK 631s + [ -x gobject-static ] 631s + foo=bar ./gobject-static 631s + echo run (gobject, static): OK 631s + cflags= 631s + pcflags= 631s + packages=gio-2.0 631s + cflags=-static 631s + pcflags=--static 631s + continue 631s + cflags= 631s + pcflags= 631s + packages=gio-unix-2.0 631s + cflags=-static 631s + pcflags=--static 631s + continue 631s + cflags= 631s + pcflags= 631s + packages=gmodule-2.0 631s + cflags=-static 631s + pcflags=--static 631s + pkg-config --static --cflags --libs gmodule-2.0 631s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 631s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 631s (.text+0x914): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 631s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 631s build (gmodule, static): OK 631s + echo build (gmodule, static): OK 631s + [ -x gmodule-static ] 631s + foo=bar ./gmodule-static 631s + echo run (gmodule, static): OK 631s + cflags= 631s + pcflags= 631s + packages=gthread-2.0 631s + cflags=-static 631s + pcflags=--static 631s + pkg-config --static --cflags --libs gthread-2.0 631s run (gmodule, static): OK 631s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 632s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 632s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 632s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 632s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 632s build (gthread, static): OK 632s run (gthread, static): OK 632s + echo build (gthread, static): OK 632s + [ -x gthread-static ] 632s + foo=bar ./gthread-static 632s + echo run (gthread, static): OK 632s + rm -rf /tmp/tmp.uBYL0iuryp 632s + debian/tests/girepository-tools 632s + cd /tmp/autopkgtest.p21SP2/autopkgtest_tmp 632s + dpkg-architecture -qDEB_HOST_GNU_TYPE 632s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 632s + dpkg-architecture -qDEB_HOST_MULTIARCH 632s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 632s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 632s typelib: GLib-2.0 632s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 632s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 632s + debian/tests/libgio-2.0-dev-bin 632s + gdbus-codegen --help 632s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 632s [--c-namespace NAMESPACE] [--c-generate-object-manager] 632s [--c-generate-autocleanup {none,objects,all}] 632s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 632s [--generate-rst OUTFILES] [--pragma-once] 632s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 632s [--glib-min-required VERSION] 632s [--glib-max-allowed VERSION] 632s [--symbol-decorator SYMBOL_DECORATOR] 632s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 632s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 632s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 632s [--output FILE | --output-directory OUTDIR] 632s FILE [FILE ...] 632s 632s D-Bus code and documentation generator 632s 632s positional arguments: 632s FILE D-Bus introspection XML file 632s 632s options: 632s -h, --help show this help message and exit 632s --interface-prefix PREFIX 632s String to strip from D-Bus interface names for code 632s and docs 632s --c-namespace NAMESPACE 632s The namespace to use for generated C code 632s --c-generate-object-manager 632s Generate a GDBusObjectManagerClient subclass when 632s generating C code 632s --c-generate-autocleanup {none,objects,all} 632s Generate autocleanup support 632s --generate-docbook OUTFILES 632s Generate Docbook in OUTFILES-org.Project.IFace.xml 632s --generate-md OUTFILES 632s Generate Markdown in OUTFILES-org.Project.IFace.md 632s --generate-rst OUTFILES 632s Generate reStructuredText in OUTFILES- 632s org.Project.IFace.rst 632s --pragma-once Use "pragma once" as the inclusion guard 632s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 632s Add annotation (may be used several times) 632s --glib-min-required VERSION 632s Minimum version of GLib to be supported by the 632s outputted code (default: 2.30) 632s --glib-max-allowed VERSION 632s Maximum version of GLib to be used by the outputted 632s code (default: current GLib version) 632s --symbol-decorator SYMBOL_DECORATOR 632s Macro used to decorate a symbol in the outputted 632s header, possibly to export symbols 632s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 632s Additional header required for decorator specified by 632s --symbol-decorator 632s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 632s Additional define required for decorator specified by 632s --symbol-decorator 632s --generate-c-code OUTFILES 632s Generate C code in OUTFILES.[ch] 632s --header Generate C headers 632s --body Generate C code 632s --interface-info-header 632s Generate GDBusInterfaceInfo C header 632s --interface-info-body 632s Generate GDBusInterfaceInfo C code 632s --output FILE Write output into the specified file 632s --output-directory OUTDIR 632s Location to output generated files 632s + glib-compile-resources --version 632s 2.82.4 632s + glib-genmarshal --version 632s glib-genmarshal version 2.82.4 632s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 632s You may redistribute copies of glib-genmarshal under the terms of 632s the GNU General Public License which can be found in the 632s GLib source package. Sources, examples and contact 632s information are available at http://www.gtk.org 632s /usr/bin/glib-gettextize (GNU glib) 2.82.4 632s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 632s This is free software; see the source for copying conditions. There is NO 632s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 632s Written by Ulrich Drepper 632s + glib-gettextize --version 632s + glib-mkenums --version 632s glib-mkenums version 2.82.4 632s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 632s You may redistribute copies of glib-mkenums under the terms of 632s the GNU General Public License which can be found in the 632s GLib source package. Sources, examples and contact 632s information are available at http://www.gtk.org 632s GObject 632s gtester version 2.82.4 632s + gobject-query tree 632s + gtester --version 632s + gtester-report --version 632s gtester-report (GLib utils) version 2.82.4. 632s + cd /tmp/autopkgtest.p21SP2/autopkgtest_tmp 632s + dpkg-architecture -qDEB_HOST_MULTIARCH 632s typelib: GLib-2.0 632s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 632s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 632s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 632s + gi-decompile-typelib -o GLib.gir GLib.typelib 633s autopkgtest [00:37:02]: test libglib2.0-dev: -----------------------] 634s autopkgtest [00:37:03]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 634s libglib2.0-dev PASS (superficial) 634s autopkgtest [00:37:03]: test installed-tests: preparing testbed 719s autopkgtest [00:38:28]: testbed dpkg architecture: ppc64el 719s autopkgtest [00:38:28]: testbed apt version: 2.9.18 720s autopkgtest [00:38:29]: @@@@@@@@@@@@@@@@@@@@ test bed setup 720s autopkgtest [00:38:29]: testbed release detected to be: plucky 720s autopkgtest [00:38:29]: updating testbed package index (apt update) 721s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 721s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 721s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 721s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 721s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 721s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [163 kB] 721s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 721s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [846 kB] 722s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [274 kB] 722s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 722s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [985 kB] 722s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [14.5 kB] 722s Fetched 2381 kB in 1s (1927 kB/s) 723s Reading package lists... 723s + lsb_release --codename --short 723s + RELEASE=plucky 723s + cat 723s + [ plucky != trusty ] 723s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 723s Reading package lists... 724s Building dependency tree... 724s Reading state information... 724s Calculating upgrade... 724s The following packages will be upgraded: 724s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-certifi 724s python3-chardet python3-jwt rng-tools-debian usb.ids 724s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 724s Need to get 1421 kB of archives. 724s After this operation, 0 B of additional disk space will be used. 724s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ppc64el rng-tools-debian ppc64el 2.6 [46.3 kB] 724s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libatomic1 ppc64el 14.2.0-13ubuntu1 [10.7 kB] 724s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-13ubuntu1 [53.0 kB] 725s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++6 ppc64el 14.2.0-13ubuntu1 [886 kB] 725s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-s1 ppc64el 14.2.0-13ubuntu1 [39.1 kB] 725s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el usb.ids all 2025.01.14-1 [223 kB] 725s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgudev-1.0-0 ppc64el 1:238-6 [15.7 kB] 725s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-certifi all 2024.12.14+ds-1 [9800 B] 725s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-chardet all 5.2.0+dfsg-2 [116 kB] 725s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-jwt all 2.10.1-2 [21.0 kB] 725s Fetched 1421 kB in 1s (2012 kB/s) 725s (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 ... 74045 files and directories currently installed.) 725s Preparing to unpack .../rng-tools-debian_2.6_ppc64el.deb ... 725s Unpacking rng-tools-debian (2.6) over (2.5) ... 726s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_ppc64el.deb ... 726s Unpacking libatomic1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 726s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_ppc64el.deb ... 726s Unpacking gcc-14-base:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 726s Setting up gcc-14-base:ppc64el (14.2.0-13ubuntu1) ... 726s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 726s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_ppc64el.deb ... 726s Unpacking libstdc++6:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 726s Setting up libstdc++6:ppc64el (14.2.0-13ubuntu1) ... 726s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 726s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_ppc64el.deb ... 726s Unpacking libgcc-s1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 726s Setting up libgcc-s1:ppc64el (14.2.0-13ubuntu1) ... 726s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74045 files and directories currently installed.) 726s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 726s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 726s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_ppc64el.deb ... 726s Unpacking libgudev-1.0-0:ppc64el (1:238-6) over (1:238-5ubuntu1) ... 726s Preparing to unpack .../python3-certifi_2024.12.14+ds-1_all.deb ... 726s Unpacking python3-certifi (2024.12.14+ds-1) over (2024.8.30+dfsg-1) ... 726s Preparing to unpack .../python3-chardet_5.2.0+dfsg-2_all.deb ... 726s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 726s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 726s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 726s Setting up python3-jwt (2.10.1-2) ... 727s Setting up python3-chardet (5.2.0+dfsg-2) ... 727s Setting up python3-certifi (2024.12.14+ds-1) ... 727s Setting up rng-tools-debian (2.6) ... 728s Setting up libatomic1:ppc64el (14.2.0-13ubuntu1) ... 728s Setting up usb.ids (2025.01.14-1) ... 728s Setting up libgudev-1.0-0:ppc64el (1:238-6) ... 728s Processing triggers for man-db (2.13.0-1) ... 730s Processing triggers for libc-bin (2.40-4ubuntu1) ... 730s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 730s + /usr/lib/apt/apt-helper analyze-pattern ?true 730s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 730s Reading package lists... 730s Building dependency tree... 730s Reading state information... 730s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 730s + grep -q trusty /etc/lsb-release 730s + [ ! -d /usr/share/doc/unattended-upgrades ] 730s + [ ! -d /usr/share/doc/lxd ] 730s + [ ! -d /usr/share/doc/lxd-client ] 730s + [ ! -d /usr/share/doc/snapd ] 730s + type iptables 730s + cat 730s + chmod 755 /etc/rc.local 730s + . /etc/rc.local 730s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 730s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 730s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 730s + uname -m 730s + [ ppc64le = ppc64le ] 730s + systemctl is-active keyboard-setup.service 730s + [ active = failed ] 730s + [ -d /run/systemd/system ] 730s + systemd-detect-virt --quiet --vm 730s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 730s + cat 731s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 731s + echo COMPRESS=lz4 731s + sync 731s autopkgtest [00:38:40]: upgrading testbed (apt dist-upgrade and autopurge) 731s Reading package lists... 731s Building dependency tree... 731s Reading state information... 732s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 732s Starting 2 pkgProblemResolver with broken count: 0 732s Done 732s Entering ResolveByKeep 732s 732s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 733s Reading package lists... 733s Building dependency tree... 733s Reading state information... 733s Starting pkgProblemResolver with broken count: 0 733s Starting 2 pkgProblemResolver with broken count: 0 733s Done 733s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 734s autopkgtest [00:38:43]: rebooting testbed after setup commands that affected boot 768s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 801s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 811s Reading package lists... 811s Building dependency tree... 811s Reading state information... 812s Starting pkgProblemResolver with broken count: 0 812s Starting 2 pkgProblemResolver with broken count: 0 812s Done 812s The following NEW packages will be installed: 812s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 812s libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin libgirepository-2.0-0 812s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 812s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 812s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 812s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 812s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 812s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 812s native-architecture python3-dbusmock python3-packaging tzdata-legacy 812s x11-common x11-xkb-utils xserver-common xvfb 812s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 812s Need to get 15.6 MB of archives. 812s After this operation, 86.4 MB of additional disk space will be used. 812s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu5 [24.4 kB] 812s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el desktop-file-utils ppc64el 0.28-1 [62.3 kB] 812s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el native-architecture all 0.2.3 [1990 B] 812s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.4-1 [84.0 kB] 813s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el girepository-tools ppc64el 2.82.4-1 [131 kB] 813s Get:6 http://ftpmaster.internal/ubuntu plucky/universe ppc64el gnome-desktop-testing ppc64el 2021.1-4 [17.7 kB] 813s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdrm-radeon1 ppc64el 2.4.123-1 [29.0 kB] 813s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB] 813s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libwayland-server0 ppc64el 1.23.0-1 [41.3 kB] 813s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-randr0 ppc64el 1.17.0-2 [19.1 kB] 813s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglapi-mesa ppc64el 24.2.8-1ubuntu1 [44.6 kB] 813s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libx11-xcb1 ppc64el 2:1.8.10-2 [8008 B] 813s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri2-0 ppc64el 1.17.0-2 [7508 B] 813s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2 [7842 B] 813s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-present0 ppc64el 1.17.0-2 [6276 B] 813s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-sync1 ppc64el 1.17.0-2 [9804 B] 813s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2 [10.7 kB] 813s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxshmfence1 ppc64el 1.3-1build5 [4964 B] 813s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el mesa-libgallium ppc64el 24.2.8-1ubuntu1 [9164 kB] 814s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgbm1 ppc64el 24.2.8-1ubuntu1 [38.2 kB] 814s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.2-1 [51.5 kB] 814s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgio-2.0-dev-bin ppc64el 2.82.4-1 [131 kB] 814s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libvulkan1 ppc64el 1.3.296.0-1 [163 kB] 814s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1-mesa-dri ppc64el 24.2.8-1ubuntu1 [34.1 kB] 814s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.82.4-1 [111 kB] 814s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.82.4-1 [18.1 kB] 814s Get:27 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-dbusmock all 0.34.0-1 [92.2 kB] 814s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 814s Get:29 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libglib2.0-tests ppc64el 2.82.4-1 [2208 kB] 814s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-glx0 ppc64el 1.17.0-2 [26.3 kB] 814s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B] 814s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfixes3 ppc64el 1:6.0.0-2build1 [11.8 kB] 814s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB] 814s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx-mesa0 ppc64el 24.2.8-1ubuntu1 [187 kB] 814s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-common all 1:7.7+23ubuntu3 [21.7 kB] 814s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 814s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 814s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsm6 ppc64el 2:1.2.4-1 [18.4 kB] 814s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 814s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 814s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 814s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 814s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB] 814s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB] 814s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB] 814s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrandr2 ppc64el 2:1.5.4-1 [21.7 kB] 814s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-xkb-utils ppc64el 7.7+9 [201 kB] 814s Get:48 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el xserver-common all 2:21.1.15-2ubuntu2 [34.0 kB] 814s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglvnd0 ppc64el 1.7.0-1build1 [72.4 kB] 814s Get:50 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx0 ppc64el 1.7.0-1build1 [42.7 kB] 814s Get:51 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1 ppc64el 1.7.0-1build1 [107 kB] 814s Get:52 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el xvfb ppc64el 2:21.1.15-2ubuntu2 [1096 kB] 815s Fetched 15.6 MB in 2s (6571 kB/s) 815s Selecting previously unselected package dbus-x11. 815s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74042 files and directories currently installed.) 815s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_ppc64el.deb ... 815s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 815s Selecting previously unselected package desktop-file-utils. 815s Preparing to unpack .../01-desktop-file-utils_0.28-1_ppc64el.deb ... 815s Unpacking desktop-file-utils (0.28-1) ... 815s Selecting previously unselected package native-architecture. 815s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 815s Unpacking native-architecture (0.2.3) ... 816s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 816s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_ppc64el.deb ... 816s Unpacking libgirepository-2.0-0:ppc64el (2.82.4-1) ... 816s Selecting previously unselected package girepository-tools:ppc64el. 816s Preparing to unpack .../04-girepository-tools_2.82.4-1_ppc64el.deb ... 816s Unpacking girepository-tools:ppc64el (2.82.4-1) ... 816s Selecting previously unselected package gnome-desktop-testing. 816s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_ppc64el.deb ... 816s Unpacking gnome-desktop-testing (2021.1-4) ... 816s Selecting previously unselected package libdrm-radeon1:ppc64el. 816s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_ppc64el.deb ... 816s Unpacking libdrm-radeon1:ppc64el (2.4.123-1) ... 816s Selecting previously unselected package libfontenc1:ppc64el. 816s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ... 816s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ... 816s Selecting previously unselected package libwayland-server0:ppc64el. 816s Preparing to unpack .../08-libwayland-server0_1.23.0-1_ppc64el.deb ... 816s Unpacking libwayland-server0:ppc64el (1.23.0-1) ... 816s Selecting previously unselected package libxcb-randr0:ppc64el. 816s Preparing to unpack .../09-libxcb-randr0_1.17.0-2_ppc64el.deb ... 816s Unpacking libxcb-randr0:ppc64el (1.17.0-2) ... 816s Selecting previously unselected package libglapi-mesa:ppc64el. 816s Preparing to unpack .../10-libglapi-mesa_24.2.8-1ubuntu1_ppc64el.deb ... 816s Unpacking libglapi-mesa:ppc64el (24.2.8-1ubuntu1) ... 816s Selecting previously unselected package libx11-xcb1:ppc64el. 816s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_ppc64el.deb ... 816s Unpacking libx11-xcb1:ppc64el (2:1.8.10-2) ... 816s Selecting previously unselected package libxcb-dri2-0:ppc64el. 816s Preparing to unpack .../12-libxcb-dri2-0_1.17.0-2_ppc64el.deb ... 816s Unpacking libxcb-dri2-0:ppc64el (1.17.0-2) ... 816s Selecting previously unselected package libxcb-dri3-0:ppc64el. 816s Preparing to unpack .../13-libxcb-dri3-0_1.17.0-2_ppc64el.deb ... 816s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2) ... 816s Selecting previously unselected package libxcb-present0:ppc64el. 816s Preparing to unpack .../14-libxcb-present0_1.17.0-2_ppc64el.deb ... 816s Unpacking libxcb-present0:ppc64el (1.17.0-2) ... 816s Selecting previously unselected package libxcb-sync1:ppc64el. 816s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_ppc64el.deb ... 816s Unpacking libxcb-sync1:ppc64el (1.17.0-2) ... 816s Selecting previously unselected package libxcb-xfixes0:ppc64el. 816s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_ppc64el.deb ... 816s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2) ... 816s Selecting previously unselected package libxshmfence1:ppc64el. 816s Preparing to unpack .../17-libxshmfence1_1.3-1build5_ppc64el.deb ... 816s Unpacking libxshmfence1:ppc64el (1.3-1build5) ... 816s Selecting previously unselected package mesa-libgallium:ppc64el. 816s Preparing to unpack .../18-mesa-libgallium_24.2.8-1ubuntu1_ppc64el.deb ... 816s Unpacking mesa-libgallium:ppc64el (24.2.8-1ubuntu1) ... 816s Selecting previously unselected package libgbm1:ppc64el. 816s Preparing to unpack .../19-libgbm1_24.2.8-1ubuntu1_ppc64el.deb ... 816s Unpacking libgbm1:ppc64el (24.2.8-1ubuntu1) ... 816s Selecting previously unselected package python3-packaging. 816s Preparing to unpack .../20-python3-packaging_24.2-1_all.deb ... 816s Unpacking python3-packaging (24.2-1) ... 816s Selecting previously unselected package libgio-2.0-dev-bin. 816s Preparing to unpack .../21-libgio-2.0-dev-bin_2.82.4-1_ppc64el.deb ... 816s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 816s Selecting previously unselected package libvulkan1:ppc64el. 816s Preparing to unpack .../22-libvulkan1_1.3.296.0-1_ppc64el.deb ... 816s Unpacking libvulkan1:ppc64el (1.3.296.0-1) ... 816s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 816s Preparing to unpack .../23-libgl1-mesa-dri_24.2.8-1ubuntu1_ppc64el.deb ... 816s Unpacking libgl1-mesa-dri:ppc64el (24.2.8-1ubuntu1) ... 816s Selecting previously unselected package libglib2.0-bin. 816s Preparing to unpack .../24-libglib2.0-bin_2.82.4-1_ppc64el.deb ... 816s Unpacking libglib2.0-bin (2.82.4-1) ... 816s Selecting previously unselected package libglib2.0-dev-bin. 816s Preparing to unpack .../25-libglib2.0-dev-bin_2.82.4-1_ppc64el.deb ... 816s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 816s Selecting previously unselected package python3-dbusmock. 816s Preparing to unpack .../26-python3-dbusmock_0.34.0-1_all.deb ... 816s Unpacking python3-dbusmock (0.34.0-1) ... 816s Selecting previously unselected package tzdata-legacy. 816s Preparing to unpack .../27-tzdata-legacy_2024b-4ubuntu1_all.deb ... 816s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 816s Selecting previously unselected package libglib2.0-tests. 816s Preparing to unpack .../28-libglib2.0-tests_2.82.4-1_ppc64el.deb ... 816s Unpacking libglib2.0-tests (2.82.4-1) ... 817s Selecting previously unselected package libxcb-glx0:ppc64el. 817s Preparing to unpack .../29-libxcb-glx0_1.17.0-2_ppc64el.deb ... 817s Unpacking libxcb-glx0:ppc64el (1.17.0-2) ... 817s Selecting previously unselected package libxcb-shm0:ppc64el. 817s Preparing to unpack .../30-libxcb-shm0_1.17.0-2_ppc64el.deb ... 817s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ... 817s Selecting previously unselected package libxfixes3:ppc64el. 817s Preparing to unpack .../31-libxfixes3_1%3a6.0.0-2build1_ppc64el.deb ... 817s Unpacking libxfixes3:ppc64el (1:6.0.0-2build1) ... 817s Selecting previously unselected package libxxf86vm1:ppc64el. 817s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ... 817s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 817s Selecting previously unselected package libglx-mesa0:ppc64el. 817s Preparing to unpack .../33-libglx-mesa0_24.2.8-1ubuntu1_ppc64el.deb ... 817s Unpacking libglx-mesa0:ppc64el (24.2.8-1ubuntu1) ... 817s Selecting previously unselected package x11-common. 817s Preparing to unpack .../34-x11-common_1%3a7.7+23ubuntu3_all.deb ... 817s Unpacking x11-common (1:7.7+23ubuntu3) ... 817s Selecting previously unselected package libice6:ppc64el. 817s Preparing to unpack .../35-libice6_2%3a1.1.1-1_ppc64el.deb ... 817s Unpacking libice6:ppc64el (2:1.1.1-1) ... 817s Selecting previously unselected package libpixman-1-0:ppc64el. 817s Preparing to unpack .../36-libpixman-1-0_0.44.0-3_ppc64el.deb ... 817s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 817s Selecting previously unselected package libsm6:ppc64el. 817s Preparing to unpack .../37-libsm6_2%3a1.2.4-1_ppc64el.deb ... 817s Unpacking libsm6:ppc64el (2:1.2.4-1) ... 817s Selecting previously unselected package libxt6t64:ppc64el. 817s Preparing to unpack .../38-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 817s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 817s Selecting previously unselected package libxmu6:ppc64el. 817s Preparing to unpack .../39-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 817s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 817s Selecting previously unselected package libxpm4:ppc64el. 817s Preparing to unpack .../40-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 817s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 817s Selecting previously unselected package libxaw7:ppc64el. 817s Preparing to unpack .../41-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 817s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 817s Selecting previously unselected package libxfont2:ppc64el. 817s Preparing to unpack .../42-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ... 817s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ... 817s Selecting previously unselected package libxkbfile1:ppc64el. 817s Preparing to unpack .../43-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ... 817s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ... 817s Selecting previously unselected package libxrender1:ppc64el. 817s Preparing to unpack .../44-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ... 817s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ... 817s Selecting previously unselected package libxrandr2:ppc64el. 817s Preparing to unpack .../45-libxrandr2_2%3a1.5.4-1_ppc64el.deb ... 817s Unpacking libxrandr2:ppc64el (2:1.5.4-1) ... 817s Selecting previously unselected package x11-xkb-utils. 817s Preparing to unpack .../46-x11-xkb-utils_7.7+9_ppc64el.deb ... 817s Unpacking x11-xkb-utils (7.7+9) ... 817s Selecting previously unselected package xserver-common. 817s Preparing to unpack .../47-xserver-common_2%3a21.1.15-2ubuntu2_all.deb ... 817s Unpacking xserver-common (2:21.1.15-2ubuntu2) ... 817s Selecting previously unselected package libglvnd0:ppc64el. 817s Preparing to unpack .../48-libglvnd0_1.7.0-1build1_ppc64el.deb ... 817s Unpacking libglvnd0:ppc64el (1.7.0-1build1) ... 817s Selecting previously unselected package libglx0:ppc64el. 817s Preparing to unpack .../49-libglx0_1.7.0-1build1_ppc64el.deb ... 817s Unpacking libglx0:ppc64el (1.7.0-1build1) ... 817s Selecting previously unselected package libgl1:ppc64el. 817s Preparing to unpack .../50-libgl1_1.7.0-1build1_ppc64el.deb ... 817s Unpacking libgl1:ppc64el (1.7.0-1build1) ... 817s Selecting previously unselected package xvfb. 817s Preparing to unpack .../51-xvfb_2%3a21.1.15-2ubuntu2_ppc64el.deb ... 817s Unpacking xvfb (2:21.1.15-2ubuntu2) ... 817s Setting up gnome-desktop-testing (2021.1-4) ... 817s Setting up libxcb-dri3-0:ppc64el (1.17.0-2) ... 817s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 817s Setting up libwayland-server0:ppc64el (1.23.0-1) ... 817s Setting up libx11-xcb1:ppc64el (2:1.8.10-2) ... 817s Setting up native-architecture (0.2.3) ... 817s Setting up libxcb-xfixes0:ppc64el (1.17.0-2) ... 817s Setting up desktop-file-utils (0.28-1) ... 817s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 817s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ... 817s Setting up libgirepository-2.0-0:ppc64el (2.82.4-1) ... 817s Setting up libdrm-radeon1:ppc64el (2.4.123-1) ... 817s Setting up libglvnd0:ppc64el (1.7.0-1build1) ... 817s Setting up libxcb-glx0:ppc64el (1.17.0-2) ... 817s Setting up x11-common (1:7.7+23ubuntu3) ... 818s Setting up libglib2.0-bin (2.82.4-1) ... 818s Setting up libxcb-shm0:ppc64el (1.17.0-2) ... 818s Setting up python3-dbusmock (0.34.0-1) ... 818s Setting up tzdata-legacy (2024b-4ubuntu1) ... 818s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 818s Setting up libxcb-present0:ppc64el (1.17.0-2) ... 818s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ... 818s Setting up python3-packaging (24.2-1) ... 818s Setting up libxfixes3:ppc64el (1:6.0.0-2build1) ... 818s Setting up libxcb-sync1:ppc64el (1.17.0-2) ... 818s Setting up libxrandr2:ppc64el (2:1.5.4-1) ... 818s Setting up libglapi-mesa:ppc64el (24.2.8-1ubuntu1) ... 818s Setting up libvulkan1:ppc64el (1.3.296.0-1) ... 818s Setting up libxcb-dri2-0:ppc64el (1.17.0-2) ... 818s Setting up libxshmfence1:ppc64el (1.3-1build5) ... 818s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 818s Setting up libxcb-randr0:ppc64el (1.17.0-2) ... 818s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ... 818s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ... 818s Setting up libice6:ppc64el (2:1.1.1-1) ... 818s Setting up mesa-libgallium:ppc64el (24.2.8-1ubuntu1) ... 818s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 819s Setting up girepository-tools:ppc64el (2.82.4-1) ... 819s Setting up libgbm1:ppc64el (24.2.8-1ubuntu1) ... 819s Setting up libgl1-mesa-dri:ppc64el (24.2.8-1ubuntu1) ... 819s Setting up libsm6:ppc64el (2:1.2.4-1) ... 819s Setting up libglib2.0-dev-bin (2.82.4-1) ... 819s Setting up libglx-mesa0:ppc64el (24.2.8-1ubuntu1) ... 819s Setting up libglx0:ppc64el (1.7.0-1build1) ... 819s Setting up libgl1:ppc64el (1.7.0-1build1) ... 819s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 819s Setting up libglib2.0-tests (2.82.4-1) ... 819s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 819s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 819s Setting up x11-xkb-utils (7.7+9) ... 819s Setting up xserver-common (2:21.1.15-2ubuntu2) ... 819s Setting up xvfb (2:21.1.15-2ubuntu2) ... 819s Processing triggers for man-db (2.13.0-1) ... 820s Processing triggers for libc-bin (2.40-4ubuntu1) ... 827s autopkgtest [00:40:16]: test installed-tests: [----------------------- 827s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 827s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 827s group entry: ubuntu:x:1000: 827s Environment: 827s ADTTMP=/tmp/autopkgtest.p21SP2/autopkgtest_tmp 827s ADT_ARTIFACTS=/tmp/autopkgtest.p21SP2/installed-tests-artifacts 827s ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 827s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.p21SP2/installed-tests-artifacts 827s AUTOPKGTEST_TESTBED_ARCH=ppc64el 827s AUTOPKGTEST_TEST_ARCH=ppc64el 827s AUTOPKGTEST_TMP=/tmp/autopkgtest.p21SP2/autopkgtest_tmp 827s DEBIAN_FRONTEND=noninteractive 827s DEB_BUILD_OPTIONS=parallel=2 827s GIO_USE_VFS=local 827s GIO_USE_VOLUME_MONITOR=unix 827s HOME=/home/ubuntu 827s LANG=C.UTF-8 827s LOGNAME=ubuntu 827s MAIL=/var/mail/ubuntu 827s OLDPWD=/home/ubuntu 827s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 827s PWD=/tmp/autopkgtest.p21SP2/build.L5G/src 827s SHELL=/bin/bash 827s SHLVL=1 827s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests 827s SUDO_GID=1000 827s SUDO_UID=1000 827s SUDO_USER=ubuntu 827s TERM=linux 827s USER=ubuntu 827s XDG_RUNTIME_DIR=/tmp/autopkgtest.p21SP2/autopkgtest_tmp 827s http_proxy=http://squid.internal:3128 827s https_proxy=http://squid.internal:3128 827s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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 828s run-with-locales: de_DE=ISO-8859-1... 828s Character set: ISO-8859-1 828s Source file: de_DE 828s Output: /tmp/tmp.lIYV09YmiO/de_DE 828s run-with-locales: de_DE.utf8... 828s Character set: UTF-8 828s Source file: de_DE 828s Output: /tmp/tmp.lIYV09YmiO/de_DE.utf8 830s run-with-locales: de_DE@euro.utf8... 830s Character set: UTF-8 830s Source file: de_DE@euro 830s Output: /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8 831s run-with-locales: el_GR.utf8... 831s Character set: UTF-8 831s Source file: el_GR 831s Output: /tmp/tmp.lIYV09YmiO/el_GR.utf8 833s run-with-locales: en_GB=ISO-8859-1... 833s Character set: ISO-8859-1 833s Source file: en_GB 833s Output: /tmp/tmp.lIYV09YmiO/en_GB 833s run-with-locales: en_GB.utf8... 833s Character set: UTF-8 833s Source file: en_GB 833s Output: /tmp/tmp.lIYV09YmiO/en_GB.utf8 835s run-with-locales: en_US=ISO-8859-1... 835s Character set: ISO-8859-1 835s Source file: en_US 835s Output: /tmp/tmp.lIYV09YmiO/en_US 835s run-with-locales: en_US.utf8... 835s Character set: UTF-8 835s Source file: en_US 835s Output: /tmp/tmp.lIYV09YmiO/en_US.utf8 837s run-with-locales: es_ES.utf8... 837s Character set: UTF-8 837s Source file: es_ES 837s Output: /tmp/tmp.lIYV09YmiO/es_ES.utf8 838s run-with-locales: fa_IR=UTF-8... 838s Character set: UTF-8 838s Source file: fa_IR 838s Output: /tmp/tmp.lIYV09YmiO/fa_IR 839s run-with-locales: fa_IR.utf8... 839s Character set: UTF-8 839s Source file: fa_IR 839s Output: /tmp/tmp.lIYV09YmiO/fa_IR.utf8 841s run-with-locales: fr_FR.utf8... 841s Character set: UTF-8 841s Source file: fr_FR 841s Output: /tmp/tmp.lIYV09YmiO/fr_FR.utf8 843s run-with-locales: hr_HR.utf8... 843s Character set: UTF-8 843s Source file: hr_HR 843s Output: /tmp/tmp.lIYV09YmiO/hr_HR.utf8 844s run-with-locales: ja_JP.utf8... 844s Character set: UTF-8 844s Source file: ja_JP 844s Output: /tmp/tmp.lIYV09YmiO/ja_JP.utf8 845s run-with-locales: ja_JP.EUC-JP... 845s Character set: EUC-JP 845s Source file: ja_JP 845s Output: /tmp/tmp.lIYV09YmiO/ja_JP.eucjp 846s run-with-locales: lt_LT.utf8... 846s Character set: UTF-8 846s Source file: lt_LT 846s Output: /tmp/tmp.lIYV09YmiO/lt_LT.utf8 847s run-with-locales: pl_PL=ISO-8859-2... 847s Character set: ISO-8859-2 847s Source file: pl_PL 847s Output: /tmp/tmp.lIYV09YmiO/pl_PL 848s run-with-locales: pl_PL.ISO-8859-2... 848s Character set: ISO-8859-2 848s Source file: pl_PL 848s Output: /tmp/tmp.lIYV09YmiO/pl_PL.iso88592 848s run-with-locales: pl_PL.utf8... 848s Character set: UTF-8 848s Source file: pl_PL 848s Output: /tmp/tmp.lIYV09YmiO/pl_PL.utf8 850s run-with-locales: ru_RU=ISO-8859-5... 850s Character set: ISO-8859-5 850s Source file: ru_RU 850s Output: /tmp/tmp.lIYV09YmiO/ru_RU 850s run-with-locales: ru_RU.utf8... 850s Character set: UTF-8 850s Source file: ru_RU 850s Output: /tmp/tmp.lIYV09YmiO/ru_RU.utf8 852s run-with-locales: sr_RS=UTF-8... 852s Character set: UTF-8 852s Source file: sr_RS 852s Output: /tmp/tmp.lIYV09YmiO/sr_RS 853s run-with-locales: sr_RS@latin=UTF-8... 853s Character set: UTF-8 853s Source file: sr_RS@latin 853s Output: /tmp/tmp.lIYV09YmiO/sr_RS@latin 855s run-with-locales: sv_SE=ISO-8859-1... 855s Character set: ISO-8859-1 855s Source file: sv_SE 855s Output: /tmp/tmp.lIYV09YmiO/sv_SE 855s run-with-locales: sv_SE.utf8... 855s Character set: UTF-8 855s Source file: sv_SE 855s Output: /tmp/tmp.lIYV09YmiO/sv_SE.utf8 856s run-with-locales: tr_TR=ISO-8859-9... 856s Character set: ISO-8859-9 856s Source file: tr_TR 856s Output: /tmp/tmp.lIYV09YmiO/tr_TR 857s run-with-locales: tr_TR.utf8... 857s Character set: UTF-8 857s Source file: tr_TR 857s Output: /tmp/tmp.lIYV09YmiO/tr_TR.utf8 858s run-with-locales: tt_RU=UTF-8... 858s Character set: UTF-8 858s Source file: tt_RU 858s Output: /tmp/tmp.lIYV09YmiO/tt_RU 860s run-with-locales: tt_RU.utf8... 860s Character set: UTF-8 860s Source file: tt_RU 860s Output: /tmp/tmp.lIYV09YmiO/tt_RU.utf8 861s run-with-locales: tt_RU@iqtelif=UTF-8... 861s Character set: UTF-8 861s Source file: tt_RU@iqtelif 861s Output: /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif 863s /tmp/tmp.lIYV09YmiO 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/en_US 863s /tmp/tmp.lIYV09YmiO/en_US/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/en_US/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/en_US/LC_TIME 863s /tmp/tmp.lIYV09YmiO/en_US/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/en_US/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/en_US/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/en_US/LC_NAME 863s /tmp/tmp.lIYV09YmiO/en_US/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/en_US/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/en_US/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/en_US/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/en_US/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/en_US/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tt_RU 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_TIME 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_NAME 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_TIME 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_NAME 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tr_TR 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_TIME 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_NAME 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/pl_PL 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_TIME 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_NAME 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/en_US.utf8 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/sr_RS 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_TIME 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_NAME 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/ru_RU 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_TIME 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_NAME 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_TIME 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_NAME 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_TELEPHONE 863s 1..319 863s # Running test: glib/spawn-singlethread.test 863s ok - glib/spawn-singlethread.test 863s # Running test: glib/mkenums.py.test 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_TIME 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_NAME 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_TIME 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_NAME 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/fa_IR 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_TIME 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_NAME 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/en_GB 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_TIME 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_NAME 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/sv_SE 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_TIME 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_NAME 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/de_DE 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_TIME 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_NAME 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_TELEPHONE 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_IDENTIFICATION 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_TIME 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_CTYPE 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_PAPER 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_COLLATE 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_NAME 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_ADDRESS 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_NUMERIC 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_MONETARY 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_MEASUREMENT 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_MESSAGES 863s /tmp/tmp.lIYV09YmiO/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 863s TAP version 14 863s # random seed: R02S0f2622607356697429bc51302459431a 863s 1..9 863s # Start of gthread tests 863s ok 1 /gthread/spawn-single-sync 863s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 863s ok 2 /gthread/spawn-stderr-socket 863s ok 3 /gthread/spawn-single-async 863s # thread 1 863s # thread 1 863s ok 4 /gthread/spawn-single-async-with-fds 863s ok 5 /gthread/spawn-async-with-invalid-fds 863s ok 6 /gthread/spawn-script 863s ok 7 /gthread/spawn-posix-spawn 863s # Start of spawn tests 863s ok 8 /gthread/spawn/nonexistent 863s # FD map: 863s # • 5 → 15 863s # • 6 → 16 863s # • 7 → 17 863s # • 8 → 18 863s # • 9 → 19 863s # • 10 → 20 863s # • 11 → 21 863s # • 12 → 22 863s # • 13 → 23 863s # • 3 → 13 863s ok 9 /gthread/spawn/fd-assignment-clash 863s # End of spawn tests 863s # End of gthread tests 863s TAP version 13 863s ok 1 __main__.TestMkenums.test_available_in 863s # tmpdir: /tmp/tmpfhpypg_c 863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 863s # /tmp/tmpfhpypg_c/tmplsxuflq_.h: 863s # typedef enum { 863s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 863s # } GDBusServerFlags; 863s # 863s # /tmp/tmpfhpypg_c/tmp7_ou0yhs.template: 863s # /*** BEGIN file-header ***/ 863s # file-header 863s # /*** END file-header ***/ 863s # 863s # /*** BEGIN file-production ***/ 863s # file-production 863s # filename: @filename@ 863s # basename: @basename@ 863s # /*** END file-production ***/ 863s # 863s # /*** BEGIN enumeration-production ***/ 863s # enumeration-production 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END enumeration-production ***/ 863s # 863s # /*** BEGIN value-header ***/ 863s # value-header 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-header ***/ 863s # 863s # /*** BEGIN value-production ***/ 863s # value-production 863s # VALUENAME: @VALUENAME@ 863s # valuenick: @valuenick@ 863s # valuenum: @valuenum@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-production ***/ 863s # 863s # /*** BEGIN value-tail ***/ 863s # value-tail 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-tail ***/ 863s # 863s # /*** BEGIN comment ***/ 863s # comment 863s # comment: @comment@ 863s # /*** END comment ***/ 863s # 863s # /*** BEGIN file-tail ***/ 863s # file-tail 863s # /*** END file-tail ***/ 863s # 863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfhpypg_c/tmp7_ou0yhs.template', '/tmp/tmpfhpypg_c/tmplsxuflq_.h'] 863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 863s # Output: comment 863s # 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. 863s # 863s # 863s # file-header 863s # file-production 863s # filename: /tmp/tmpfhpypg_c/tmplsxuflq_.h 863s # basename: tmplsxuflq_.h 863s # enumeration-production 863s # EnumName: GDBusServerFlags 863s # enum_name: g_dbus_server_flags 863s # ENUMNAME: G_DBUS_SERVER_FLAGS 863s # ENUMSHORT: DBUS_SERVER_FLAGS 863s # ENUMPREFIX: G 863s # enumsince: 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # value-header 863s # EnumName: GDBusServerFlags 863s # enum_name: g_dbus_server_flags 863s # ENUMNAME: G_DBUS_SERVER_FLAGS 863s # ENUMSHORT: DBUS_SERVER_FLAGS 863s # ENUMPREFIX: G 863s # enumsince: 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # value-production 863s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 863s # valuenick: user 863s # valuenum: 4 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # value-tail 863s # EnumName: GDBusServerFlags 863s # enum_name: g_dbus_server_flags 863s # ENUMNAME: G_DBUS_SERVER_FLAGS 863s # ENUMSHORT: DBUS_SERVER_FLAGS 863s # ENUMPREFIX: G 863s # enumsince: 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # file-tail 863s # 863s # comment 863s # comment: Generated data ends here 863s ok 2 __main__.TestMkenums.test_comma_in_enum_value 863s # tmpdir: /tmp/tmpx2pa5k6f 863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 863s # /tmp/tmpx2pa5k6f/tmplgb_3zgy.h: 863s # typedef enum { 863s # ENUM_VALUE_WITH_COMMA = ',', 863s # } TestCommaEnum; 863s # 863s # /tmp/tmpx2pa5k6f/tmp05t5qji6.template: 863s # /*** BEGIN file-header ***/ 863s # file-header 863s # /*** END file-header ***/ 863s # 863s # /*** BEGIN file-production ***/ 863s # file-production 863s # filename: @filename@ 863s # basename: @basename@ 863s # /*** END file-production ***/ 863s # 863s # /*** BEGIN enumeration-production ***/ 863s # enumeration-production 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END enumeration-production ***/ 863s # 863s # /*** BEGIN value-header ***/ 863s # value-header 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-header ***/ 863s # 863s # /*** BEGIN value-production ***/ 863s # value-production 863s # VALUENAME: @VALUENAME@ 863s # valuenick: @valuenick@ 863s # valuenum: @valuenum@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-production ***/ 863s # 863s # /*** BEGIN value-tail ***/ 863s # value-tail 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-tail ***/ 863s # 863s # /*** BEGIN comment ***/ 863s # comment 863s # comment: @comment@ 863s # /*** END comment ***/ 863s # 863s # /*** BEGIN file-tail ***/ 863s # file-tail 863s # /*** END file-tail ***/ 863s # 863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx2pa5k6f/tmp05t5qji6.template', '/tmp/tmpx2pa5k6f/tmplgb_3zgy.h'] 863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 863s # Output: comment 863s # 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. 863s # 863s # 863s # file-header 863s # file-production 863s # filename: /tmp/tmpx2pa5k6f/tmplgb_3zgy.h 863s # basename: tmplgb_3zgy.h 863s # enumeration-production 863s # EnumName: TestCommaEnum 863s # enum_name: test_comma_enum 863s # ENUMNAME: TEST_COMMA_ENUM 863s # ENUMSHORT: COMMA_ENUM 863s # ENUMPREFIX: TEST 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-header 863s # EnumName: TestCommaEnum 863s # enum_name: test_comma_enum 863s # ENUMNAME: TEST_COMMA_ENUM 863s # ENUMSHORT: COMMA_ENUM 863s # ENUMPREFIX: TEST 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-production 863s # VALUENAME: ENUM_VALUE_WITH_COMMA 863s # valuenick: comma 863s # valuenum: 44 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-tail 863s # EnumName: TestCommaEnum 863s # enum_name: test_comma_enum 863s # ENUMNAME: TEST_COMMA_ENUM 863s # ENUMSHORT: COMMA_ENUM 863s # ENUMPREFIX: TEST 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # file-tail 863s # 863s # comment 863s # comment: Generated data ends here 863s ok 3 __main__.TestMkenums.test_deprecated_in 863s # tmpdir: /tmp/tmp0p8gli97 863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 863s # /tmp/tmp0p8gli97/tmpr1q3oq_z.h: 863s # typedef enum { 863s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 863s # } GDBusServerFlags; 863s # 863s # /tmp/tmp0p8gli97/tmp7qr778pq.template: 863s # /*** BEGIN file-header ***/ 863s # file-header 863s # /*** END file-header ***/ 863s # 863s # /*** BEGIN file-production ***/ 863s # file-production 863s # filename: @filename@ 863s # basename: @basename@ 863s # /*** END file-production ***/ 863s # 863s # /*** BEGIN enumeration-production ***/ 863s # enumeration-production 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END enumeration-production ***/ 863s # 863s # /*** BEGIN value-header ***/ 863s # value-header 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-header ***/ 863s # 863s # /*** BEGIN value-production ***/ 863s # value-production 863s # VALUENAME: @VALUENAME@ 863s # valuenick: @valuenick@ 863s # valuenum: @valuenum@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-production ***/ 863s # 863s # /*** BEGIN value-tail ***/ 863s # value-tail 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-tail ***/ 863s # 863s # /*** BEGIN comment ***/ 863s # comment 863s # comment: @comment@ 863s # /*** END comment ***/ 863s # 863s # /*** BEGIN file-tail ***/ 863s # file-tail 863s # /*** END file-tail ***/ 863s # 863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0p8gli97/tmp7qr778pq.template', '/tmp/tmp0p8gli97/tmpr1q3oq_z.h'] 863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 863s # Output: comment 863s # 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. 863s # 863s # 863s # file-header 863s # file-production 863s # filename: /tmp/tmp0p8gli97/tmpr1q3oq_z.h 863s # basename: tmpr1q3oq_z.h 863s # enumeration-production 863s # EnumName: GDBusServerFlags 863s # enum_name: g_dbus_server_flags 863s # ENUMNAME: G_DBUS_SERVER_FLAGS 863s # ENUMSHORT: DBUS_SERVER_FLAGS 863s # ENUMPREFIX: G 863s # enumsince: 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # value-header 863s # EnumName: GDBusServerFlags 863s # enum_name: g_dbus_server_flags 863s # ENUMNAME: G_DBUS_SERVER_FLAGS 863s # ENUMSHORT: DBUS_SERVER_FLAGS 863s # ENUMPREFIX: G 863s # enumsince: 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # value-production 863s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 863s # valuenick: user 863s # valuenum: 4 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # value-tail 863s # EnumName: GDBusServerFlags 863s # enum_name: g_dbus_server_flags 863s # ENUMNAME: G_DBUS_SERVER_FLAGS 863s # ENUMSHORT: DBUS_SERVER_FLAGS 863s # ENUMPREFIX: G 863s # enumsince: 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # file-tail 863s # 863s # comment 863s # comment: Generated data ends here 863s ok 4 __main__.TestMkenums.test_deprecated_in_for 863s # tmpdir: /tmp/tmpnvmczptj 863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 863s # /tmp/tmpnvmczptj/tmpv1xh6vzw.h: 863s # typedef enum { 863s # 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) 863s # } GDBusServerFlags; 863s # 863s # /tmp/tmpnvmczptj/tmpi9evyokh.template: 863s # /*** BEGIN file-header ***/ 863s # file-header 863s # /*** END file-header ***/ 863s # 863s # /*** BEGIN file-production ***/ 863s # file-production 863s # filename: @filename@ 863s # basename: @basename@ 863s # /*** END file-production ***/ 863s # 863s # /*** BEGIN enumeration-production ***/ 863s # enumeration-production 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END enumeration-production ***/ 863s # 863s # /*** BEGIN value-header ***/ 863s # value-header 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-header ***/ 863s # 863s # /*** BEGIN value-production ***/ 863s # value-production 863s # VALUENAME: @VALUENAME@ 863s # valuenick: @valuenick@ 863s # valuenum: @valuenum@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-production ***/ 863s # 863s # /*** BEGIN value-tail ***/ 863s # value-tail 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-tail ***/ 863s # 863s # /*** BEGIN comment ***/ 863s # comment 863s # comment: @comment@ 863s # /*** END comment ***/ 863s # 863s # /*** BEGIN file-tail ***/ 863s # file-tail 863s # /*** END file-tail ***/ 863s # 863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnvmczptj/tmpi9evyokh.template', '/tmp/tmpnvmczptj/tmpv1xh6vzw.h'] 863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 863s # Output: comment 863s # 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. 863s # 863s # 863s # file-header 863s # file-production 863s # filename: /tmp/tmpnvmczptj/tmpv1xh6vzw.h 863s # basename: tmpv1xh6vzw.h 863s # enumeration-production 863s # EnumName: GDBusServerFlags 863s # enum_name: g_dbus_server_flags 863s # ENUMNAME: G_DBUS_SERVER_FLAGS 863s # ENUMSHORT: DBUS_SERVER_FLAGS 863s # ENUMPREFIX: G 863s # enumsince: 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # value-header 863s # EnumName: GDBusServerFlags 863s # enum_name: g_dbus_server_flags 863s # ENUMNAME: G_DBUS_SERVER_FLAGS 863s # ENUMSHORT: DBUS_SERVER_FLAGS 863s # ENUMPREFIX: G 863s # enumsince: 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # value-production 863s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 863s # valuenick: user 863s # valuenum: 4 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # value-tail 863s # EnumName: GDBusServerFlags 863s # enum_name: g_dbus_server_flags 863s # ENUMNAME: G_DBUS_SERVER_FLAGS 863s # ENUMSHORT: DBUS_SERVER_FLAGS 863s # ENUMPREFIX: G 863s # enumsince: 863s # type: flags 863s # Type: Flags 863s # TYPE: FLAGS 863s # file-tail 863s # 863s # comment 863s # comment: Generated data ends here 863s ok 5 __main__.TestMkenums.test_empty_header 863s # tmpdir: /tmp/tmp967xmarg 863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 863s # /tmp/tmp967xmarg/tmp6kar9a9c.h: 863s # /tmp/tmp967xmarg/tmpgjjjq0_l.template: 863s # /*** BEGIN file-header ***/ 863s # file-header 863s # /*** END file-header ***/ 863s # 863s # /*** BEGIN file-production ***/ 863s # file-production 863s # filename: @filename@ 863s # basename: @basename@ 863s # /*** END file-production ***/ 863s # 863s # /*** BEGIN enumeration-production ***/ 863s # enumeration-production 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END enumeration-production ***/ 863s # 863s # /*** BEGIN value-header ***/ 863s # value-header 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-header ***/ 863s # 863s # /*** BEGIN value-production ***/ 863s # value-production 863s # VALUENAME: @VALUENAME@ 863s # valuenick: @valuenick@ 863s # valuenum: @valuenum@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-production ***/ 863s # 863s # /*** BEGIN value-tail ***/ 863s # value-tail 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-tail ***/ 863s # 863s # /*** BEGIN comment ***/ 863s # comment 863s # comment: @comment@ 863s # /*** END comment ***/ 863s # 863s # /*** BEGIN file-tail ***/ 863s # file-tail 863s # /*** END file-tail ***/ 863s # 863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp967xmarg/tmpgjjjq0_l.template', '/tmp/tmp967xmarg/tmp6kar9a9c.h'] 863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 863s # Output: comment 863s # 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. 863s # 863s # 863s # file-header 863s # file-tail 863s # 863s # comment 863s # comment: Generated data ends here 863s ok 6 __main__.TestMkenums.test_empty_template 863s # tmpdir: /tmp/tmpm_zsd41p 863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 863s # /tmp/tmpm_zsd41p/tmpkexu5_25.template: 863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpm_zsd41p/tmpkexu5_25.template'] 863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 863s # 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. */ 863s # 863s # 863s # /* Generated data ends here */ 863s ok 7 __main__.TestMkenums.test_enum_name 863s # tmpdir: /tmp/tmpq7qvzts6 863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 863s # /tmp/tmpq7qvzts6/tmpx62sl5jf.h: 863s # typedef enum _SomeEnumIdentifier { 863s # ENUM_VALUE 863s # } SomeEnumIdentifier; 863s # 863s # /tmp/tmpq7qvzts6/tmpku72rx3i.template: 863s # /*** BEGIN file-header ***/ 863s # file-header 863s # /*** END file-header ***/ 863s # 863s # /*** BEGIN file-production ***/ 863s # file-production 863s # filename: @filename@ 863s # basename: @basename@ 863s # /*** END file-production ***/ 863s # 863s # /*** BEGIN enumeration-production ***/ 863s # enumeration-production 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END enumeration-production ***/ 863s # 863s # /*** BEGIN value-header ***/ 863s # value-header 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-header ***/ 863s # 863s # /*** BEGIN value-production ***/ 863s # value-production 863s # VALUENAME: @VALUENAME@ 863s # valuenick: @valuenick@ 863s # valuenum: @valuenum@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-production ***/ 863s # 863s # /*** BEGIN value-tail ***/ 863s # value-tail 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-tail ***/ 863s # 863s # /*** BEGIN comment ***/ 863s # comment 863s # comment: @comment@ 863s # /*** END comment ***/ 863s # 863s # /*** BEGIN file-tail ***/ 863s # file-tail 863s # /*** END file-tail ***/ 863s # 863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq7qvzts6/tmpku72rx3i.template', '/tmp/tmpq7qvzts6/tmpx62sl5jf.h'] 863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 863s # Output: comment 863s # 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. 863s # 863s # 863s # file-header 863s # file-production 863s # filename: /tmp/tmpq7qvzts6/tmpx62sl5jf.h 863s # basename: tmpx62sl5jf.h 863s # enumeration-production 863s # EnumName: SomeEnumIdentifier 863s # enum_name: some_enum_identifier 863s # ENUMNAME: SOME_ENUM_IDENTIFIER 863s # ENUMSHORT: ENUM_IDENTIFIER 863s # ENUMPREFIX: SOME 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-header 863s # EnumName: SomeEnumIdentifier 863s # enum_name: some_enum_identifier 863s # ENUMNAME: SOME_ENUM_IDENTIFIER 863s # ENUMSHORT: ENUM_IDENTIFIER 863s # ENUMPREFIX: SOME 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-production 863s # VALUENAME: ENUM_VALUE 863s # valuenick: value 863s # valuenum: 0 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-tail 863s # EnumName: SomeEnumIdentifier 863s # enum_name: some_enum_identifier 863s # ENUMNAME: SOME_ENUM_IDENTIFIER 863s # ENUMSHORT: ENUM_IDENTIFIER 863s # ENUMPREFIX: SOME 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # file-tail 863s # 863s # comment 863s # comment: Generated data ends here 863s ok 8 __main__.TestMkenums.test_enum_private_public 863s # tmpdir: /tmp/tmpne9qoy5z 863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 863s # /tmp/tmpne9qoy5z/tmpbstu41ek.h: 863s # typedef enum { 863s # ENUM_VALUE_PUBLIC1, 863s # /*< private >*/ 863s # ENUM_VALUE_PRIVATE, 863s # } SomeEnumA 863s # 863s # /tmp/tmpne9qoy5z/tmpnz4jbq2i.template: 863s # /*** BEGIN file-header ***/ 863s # file-header 863s # /*** END file-header ***/ 863s # 863s # /*** BEGIN file-production ***/ 863s # file-production 863s # filename: @filename@ 863s # basename: @basename@ 863s # /*** END file-production ***/ 863s # 863s # /*** BEGIN enumeration-production ***/ 863s # enumeration-production 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END enumeration-production ***/ 863s # 863s # /*** BEGIN value-header ***/ 863s # value-header 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-header ***/ 863s # 863s # /*** BEGIN value-production ***/ 863s # value-production 863s # VALUENAME: @VALUENAME@ 863s # valuenick: @valuenick@ 863s # valuenum: @valuenum@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-production ***/ 863s # 863s # /*** BEGIN value-tail ***/ 863s # value-tail 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-tail ***/ 863s # 863s # /*** BEGIN comment ***/ 863s # comment 863s # comment: @comment@ 863s # /*** END comment ***/ 863s # 863s # /*** BEGIN file-tail ***/ 863s # file-tail 863s # /*** END file-tail ***/ 863s # 863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpne9qoy5z/tmpnz4jbq2i.template', '/tmp/tmpne9qoy5z/tmpbstu41ek.h'] 863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 863s # Output: comment 863s # 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. 863s # 863s # 863s # file-header 863s # file-production 863s # filename: /tmp/tmpne9qoy5z/tmpbstu41ek.h 863s # basename: tmpbstu41ek.h 863s # enumeration-production 863s # EnumName: SomeEnumA 863s # enum_name: some_enum_a 863s # ENUMNAME: SOME_ENUM_A 863s # ENUMSHORT: ENUM_A 863s # ENUMPREFIX: SOME 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-header 863s # EnumName: SomeEnumA 863s # enum_name: some_enum_a 863s # ENUMNAME: SOME_ENUM_A 863s # ENUMSHORT: ENUM_A 863s # ENUMPREFIX: SOME 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-production 863s # VALUENAME: ENUM_VALUE_PUBLIC1 863s # valuenick: public1 863s # valuenum: 0 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-tail 863s # EnumName: SomeEnumA 863s # enum_name: some_enum_a 863s # ENUMNAME: SOME_ENUM_A 863s # ENUMSHORT: ENUM_A 863s # ENUMPREFIX: SOME 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # file-tail 863s # 863s # comment 863s # comment: Generated data ends here 863s # /tmp/tmpne9qoy5z/tmppryq91pt.h: 863s # typedef enum { 863s # /*< private >*/ 863s # ENUM_VALUE_PRIVATE, 863s # /*< public >*/ 863s # ENUM_VALUE_PUBLIC2, 863s # } SomeEnumB; 863s # 863s # /tmp/tmpne9qoy5z/tmpxcul4y7n.template: 863s # /*** BEGIN file-header ***/ 863s # file-header 863s # /*** END file-header ***/ 863s # 863s # /*** BEGIN file-production ***/ 863s # file-production 863s # filename: @filename@ 863s # basename: @basename@ 863s # /*** END file-production ***/ 863s # 863s # /*** BEGIN enumeration-production ***/ 863s # enumeration-production 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END enumeration-production ***/ 863s # 863s # /*** BEGIN value-header ***/ 863s # value-header 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-header ***/ 863s # 863s # /*** BEGIN value-production ***/ 863s # value-production 863s # VALUENAME: @VALUENAME@ 863s # valuenick: @valuenick@ 863s # valuenum: @valuenum@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-production ***/ 863s # 863s # /*** BEGIN value-tail ***/ 863s # value-tail 863s # EnumName: @EnumName@ 863s # enum_name: @enum_name@ 863s # ENUMNAME: @ENUMNAME@ 863s # ENUMSHORT: @ENUMSHORT@ 863s # ENUMPREFIX: @ENUMPREFIX@ 863s # enumsince: @enumsince@ 863s # type: @type@ 863s # Type: @Type@ 863s # TYPE: @TYPE@ 863s # /*** END value-tail ***/ 863s # 863s # /*** BEGIN comment ***/ 863s # comment 863s # comment: @comment@ 863s # /*** END comment ***/ 863s # 863s # /*** BEGIN file-tail ***/ 863s # file-tail 863s # /*** END file-tail ***/ 863s # 863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpne9qoy5z/tmpxcul4y7n.template', '/tmp/tmpne9qoy5z/tmppryq91pt.h'] 863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 863s # Output: comment 863s # 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. 863s # 863s # 863s # file-header 863s # file-production 863s # filename: /tmp/tmpne9qoy5z/tmppryq91pt.h 863s # basename: tmppryq91pt.h 863s # enumeration-production 863s # EnumName: SomeEnumB 863s # enum_name: some_enum_b 863s # ENUMNAME: SOME_ENUM_B 863s # ENUMSHORT: ENUM_B 863s # ENUMPREFIX: SOME 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-header 863s # EnumName: SomeEnumB 863s # enum_name: some_enum_b 863s # ENUMNAME: SOME_ENUM_B 863s # ENUMSHORT: ENUM_B 863s # ENUMPREFIX: SOME 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-production 863s # VALUENAME: ENUM_VALUE_PUBLIC2 863s # valuenick: public2 863s # valuenum: 1 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # value-tail 863s # EnumName: SomeEnumB 863s # enum_name: some_enum_b 863s # ENUMNAME: SOME_ENUM_B 863s # ENUMSHORT: ENUM_B 863s # ENUMPREFIX: SOME 863s # enumsince: 863s # type: enum 863s # Type: Enum 863s # TYPE: ENUM 863s # file-tail 863s # 863s # comment 863s # comment: Generated data ends here 864s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 864s # tmpdir: /tmp/tmpgz8ncsdy 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpgz8ncsdy/tmpfa9mpfqe.h: 864s # typedef enum { 864s # /*< private >*/ 864s # ENUM_VALUE_PRIVATE = 5, 864s # /*< public >*/ 864s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 864s # } TestSymbolicEnum; 864s # 864s # /tmp/tmpgz8ncsdy/tmpergg6nqi.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgz8ncsdy/tmpergg6nqi.template', '/tmp/tmpgz8ncsdy/tmpfa9mpfqe.h'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmpgz8ncsdy/tmpfa9mpfqe.h 864s # basename: tmpfa9mpfqe.h 864s # enumeration-production 864s # EnumName: TestSymbolicEnum 864s # enum_name: test_symbolic_enum 864s # ENUMNAME: TEST_SYMBOLIC_ENUM 864s # ENUMSHORT: SYMBOLIC_ENUM 864s # ENUMPREFIX: TEST 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-header 864s # EnumName: TestSymbolicEnum 864s # enum_name: test_symbolic_enum 864s # ENUMNAME: TEST_SYMBOLIC_ENUM 864s # ENUMSHORT: SYMBOLIC_ENUM 864s # ENUMPREFIX: TEST 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-production 864s # VALUENAME: ENUM_VALUE_PUBLIC 864s # valuenick: public 864s # valuenum: 7 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-tail 864s # EnumName: TestSymbolicEnum 864s # enum_name: test_symbolic_enum 864s # ENUMNAME: TEST_SYMBOLIC_ENUM 864s # ENUMSHORT: SYMBOLIC_ENUM 864s # ENUMPREFIX: TEST 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 864s # tmpdir: /tmp/tmps3v6rmxv 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmps3v6rmxv/tmp_n68hdpu.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-tail ***/ 864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmps3v6rmxv/tmp_n68hdpu.template'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # filename: @filename@ 864s # basename: @basename@ 864s # file-tail 864s # filename: @filename@ 864s # basename: @basename@ 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 11 __main__.TestMkenums.test_help 864s # tmpdir: /tmp/tmpf7_lecwd 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # Running: ['/usr/bin/glib-mkenums', '--help'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 864s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 864s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 864s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 864s # [--comments COMMENT_TMPL] [--template TEMPLATE] 864s # [--output OUTPUT] [--version] 864s # [args ...] 864s # 864s # positional arguments: 864s # args One or more input files, or a single argument 864s # @rspfile_path pointing to a file that contains the 864s # actual arguments 864s # 864s # options: 864s # -h, --help show this help message and exit 864s # --identifier-prefix IDPREFIX 864s # Identifier prefix 864s # --symbol-prefix SYMPREFIX 864s # Symbol prefix 864s # --fhead FHEAD Output file header 864s # --ftail FTAIL Output file footer 864s # --fprod FPROD Put out TEXT every time a new input file is being 864s # processed. 864s # --eprod EPROD Per enum text, produced prior to value iterations 864s # --vhead VHEAD Value header, produced before iterating over enum 864s # values 864s # --vprod VPROD Value text, produced for each enum value. 864s # --vtail VTAIL Value tail, produced after iterating over enum values 864s # --comments COMMENT_TMPL 864s # Comment structure 864s # --template TEMPLATE Template file 864s # --output OUTPUT 864s # --version, -v Print version information 864s # 864s # Production text substitutions: 864s # @EnumName@ PrefixTheXEnum 864s # @enum_name@ prefix_the_xenum 864s # @ENUMNAME@ PREFIX_THE_XENUM 864s # @ENUMSHORT@ THE_XENUM 864s # @ENUMPREFIX@ PREFIX 864s # @enumsince@ the user-provided since value given 864s # @VALUENAME@ PREFIX_THE_XVALUE 864s # @valuenick@ the-xvalue 864s # @valuenum@ the integer value (limited support, Since: 2.26) 864s # @type@ either enum or flags 864s # @Type@ either Enum or Flags 864s # @TYPE@ either ENUM or FLAGS 864s # @filename@ name of current input file 864s # @basename@ base name of the current input file (Since: 2.22) 864s ok 12 __main__.TestMkenums.test_no_args 864s # tmpdir: /tmp/tmp2p91ts04 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # Running: ['/usr/bin/glib-mkenums'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # 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. */ 864s # 864s # 864s # /* Generated data ends here */ 864s ok 13 __main__.TestMkenums.test_no_headers 864s # tmpdir: /tmp/tmpr6ptvhtx 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpr6ptvhtx/tmpvgewp_1p.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpr6ptvhtx/tmpvgewp_1p.template'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 14 __main__.TestMkenums.test_no_nick 864s # tmpdir: /tmp/tmps7n2apc7 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmps7n2apc7/tmp17s0pg9d.h: 864s # typedef enum { 864s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 864s # } GeglSamplerType; 864s # 864s # /tmp/tmps7n2apc7/tmpl87pqsxk.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmps7n2apc7/tmpl87pqsxk.template', '/tmp/tmps7n2apc7/tmp17s0pg9d.h'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmps7n2apc7/tmp17s0pg9d.h 864s # basename: tmp17s0pg9d.h 864s # enumeration-production 864s # EnumName: GeglSamplerType 864s # enum_name: gegl_sampler_type 864s # ENUMNAME: GEGL_SAMPLER_TYPE 864s # ENUMSHORT: SAMPLER_TYPE 864s # ENUMPREFIX: GEGL 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-header 864s # EnumName: GeglSamplerType 864s # enum_name: gegl_sampler_type 864s # ENUMNAME: GEGL_SAMPLER_TYPE 864s # ENUMSHORT: SAMPLER_TYPE 864s # ENUMPREFIX: GEGL 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-production 864s # VALUENAME: GEGL_SAMPLER_NEAREST 864s # valuenick: nearest 864s # valuenum: 0 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-tail 864s # EnumName: GeglSamplerType 864s # enum_name: gegl_sampler_type 864s # ENUMNAME: GEGL_SAMPLER_TYPE 864s # ENUMSHORT: SAMPLER_TYPE 864s # ENUMPREFIX: GEGL 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 15 __main__.TestMkenums.test_non_utf8_encoding 864s # tmpdir: /tmp/tmp98w79c4x 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmp98w79c4x/tmplmkv7p8g.h: 864s # /* Copyright © La Peña */ 864s # typedef enum { 864s # ENUM_VALUE 864s # } SomeEnumIdentifier; 864s # 864s # /tmp/tmp98w79c4x/tmp2h61cubl.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp98w79c4x/tmp2h61cubl.template', '/tmp/tmp98w79c4x/tmplmkv7p8g.h'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmp98w79c4x/tmplmkv7p8g.h 864s # basename: tmplmkv7p8g.h 864s # enumeration-production 864s # EnumName: SomeEnumIdentifier 864s # enum_name: some_enum_identifier 864s # ENUMNAME: SOME_ENUM_IDENTIFIER 864s # ENUMSHORT: ENUM_IDENTIFIER 864s # ENUMPREFIX: SOME 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-header 864s # EnumName: SomeEnumIdentifier 864s # enum_name: some_enum_identifier 864s # ENUMNAME: SOME_ENUM_IDENTIFIER 864s # ENUMSHORT: ENUM_IDENTIFIER 864s # ENUMPREFIX: SOME 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-production 864s # VALUENAME: ENUM_VALUE 864s # valuenick: value 864s # valuenum: 0 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-tail 864s # EnumName: SomeEnumIdentifier 864s # enum_name: some_enum_identifier 864s # ENUMNAME: SOME_ENUM_IDENTIFIER 864s # ENUMSHORT: ENUM_IDENTIFIER 864s # ENUMPREFIX: SOME 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 16 __main__.TestMkenums.test_reproducible 864s # tmpdir: /tmp/tmpo6mzzxsq 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpo6mzzxsq/tmpjln11k48.template: template 864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpo6mzzxsq/tmpjln11k48.template', '/tmp/tmpo6mzzxsq/tmpjyb3273b1.h', '/tmp/tmpo6mzzxsq/tmphv8wj4rg2.h'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # 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. */ 864s # 864s # 864s # /* Generated data ends here */ 864s # /tmp/tmpo6mzzxsq/tmp4dplsz_p.template: template 864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpo6mzzxsq/tmp4dplsz_p.template', '/tmp/tmpo6mzzxsq/tmphv8wj4rg2.h', '/tmp/tmpo6mzzxsq/tmpjyb3273b1.h'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # 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. */ 864s # 864s # 864s # /* Generated data ends here */ 864s ok 17 __main__.TestMkenums.test_since 864s # tmpdir: /tmp/tmp9p5439o_ 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmp9p5439o_/tmpgxt8hnmv.h: 864s # typedef enum { /*< since=1.0 >*/ 864s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 864s # } QmiWmsMessageProtocol; 864s # 864s # /tmp/tmp9p5439o_/tmpqhtmweva.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9p5439o_/tmpqhtmweva.template', '/tmp/tmp9p5439o_/tmpgxt8hnmv.h'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmp9p5439o_/tmpgxt8hnmv.h 864s # basename: tmpgxt8hnmv.h 864s # enumeration-production 864s # EnumName: QmiWmsMessageProtocol 864s # enum_name: qmi_wms_message_protocol 864s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 864s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 864s # ENUMPREFIX: QMI 864s # enumsince: 1.0 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-header 864s # EnumName: QmiWmsMessageProtocol 864s # enum_name: qmi_wms_message_protocol 864s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 864s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 864s # ENUMPREFIX: QMI 864s # enumsince: 1.0 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-production 864s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 864s # valuenick: cdma 864s # valuenum: 0 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-tail 864s # EnumName: QmiWmsMessageProtocol 864s # enum_name: qmi_wms_message_protocol 864s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 864s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 864s # ENUMPREFIX: QMI 864s # enumsince: 1.0 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 18 __main__.TestMkenums.test_with_double_quotes 864s # tmpdir: /tmp/tmpxsyzeew0 864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpxsyzeew0/tmpjhjaue7x.h: 864s # typedef enum { 864s # FOO_VALUE /*< nick="eek, a comma" >*/ 864s # } Foo; 864s # 864s # /tmp/tmpxsyzeew0/tmp0qft4q62.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxsyzeew0/tmp0qft4q62.template', '/tmp/tmpxsyzeew0/tmpjhjaue7x.h'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmpxsyzeew0/tmpjhjaue7x.h 864s # basename: tmpjhjaue7x.h 864s # enumeration-production 864s # EnumName: Foo 864s # enum_name: foo_ 864s # ENUMNAME: FOO_ 864s # ENUMSHORT: 864s # ENUMPREFIX: FOO 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-header 864s # EnumName: Foo 864s # enum_name: foo_ 864s # ENUMNAME: FOO_ 864s # ENUMSHORT: 864s # ENUMPREFIX: FOO 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-production 864s # VALUENAME: FOO_VALUE 864s # valuenick: eek, a comma 864s # valuenum: 0 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-tail 864s # EnumName: Foo 864s # enum_name: foo_ 864s # ENUMNAME: FOO_ 864s # ENUMSHORT: 864s # ENUMPREFIX: FOO 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 19 __main__.TestRspMkenums.test_available_in 864s # tmpdir: /tmp/tmpiq7iby6j 864s # rspfile: True, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpiq7iby6j/tmpjqlql04t.h: 864s # typedef enum { 864s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 864s # } GDBusServerFlags; 864s # 864s # /tmp/tmpiq7iby6j/tmpbn_cqcpy.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Response file contains: --template /tmp/tmpiq7iby6j/tmpbn_cqcpy.template /tmp/tmpiq7iby6j/tmpjqlql04t.h 864s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiq7iby6j/tmplwqp7k5e'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmpiq7iby6j/tmpjqlql04t.h 864s # basename: tmpjqlql04t.h 864s # enumeration-production 864s # EnumName: GDBusServerFlags 864s # enum_name: g_dbus_server_flags 864s # ENUMNAME: G_DBUS_SERVER_FLAGS 864s # ENUMSHORT: DBUS_SERVER_FLAGS 864s # ENUMPREFIX: G 864s # enumsince: 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # value-header 864s # EnumName: GDBusServerFlags 864s # enum_name: g_dbus_server_flags 864s # ENUMNAME: G_DBUS_SERVER_FLAGS 864s # ENUMSHORT: DBUS_SERVER_FLAGS 864s # ENUMPREFIX: G 864s # enumsince: 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # value-production 864s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 864s # valuenick: user 864s # valuenum: 4 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # value-tail 864s # EnumName: GDBusServerFlags 864s # enum_name: g_dbus_server_flags 864s # ENUMNAME: G_DBUS_SERVER_FLAGS 864s # ENUMSHORT: DBUS_SERVER_FLAGS 864s # ENUMPREFIX: G 864s # enumsince: 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 864s # tmpdir: /tmp/tmpxqphlg4o 864s # rspfile: True, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpxqphlg4o/tmp30__fjka.h: 864s # typedef enum { 864s # ENUM_VALUE_WITH_COMMA = ',', 864s # } TestCommaEnum; 864s # 864s # /tmp/tmpxqphlg4o/tmpbel8_74o.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Response file contains: --template /tmp/tmpxqphlg4o/tmpbel8_74o.template /tmp/tmpxqphlg4o/tmp30__fjka.h 864s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxqphlg4o/tmpqkegslaj'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmpxqphlg4o/tmp30__fjka.h 864s # basename: tmp30__fjka.h 864s # enumeration-production 864s # EnumName: TestCommaEnum 864s # enum_name: test_comma_enum 864s # ENUMNAME: TEST_COMMA_ENUM 864s # ENUMSHORT: COMMA_ENUM 864s # ENUMPREFIX: TEST 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-header 864s # EnumName: TestCommaEnum 864s # enum_name: test_comma_enum 864s # ENUMNAME: TEST_COMMA_ENUM 864s # ENUMSHORT: COMMA_ENUM 864s # ENUMPREFIX: TEST 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-production 864s # VALUENAME: ENUM_VALUE_WITH_COMMA 864s # valuenick: comma 864s # valuenum: 44 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-tail 864s # EnumName: TestCommaEnum 864s # enum_name: test_comma_enum 864s # ENUMNAME: TEST_COMMA_ENUM 864s # ENUMSHORT: COMMA_ENUM 864s # ENUMPREFIX: TEST 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 21 __main__.TestRspMkenums.test_deprecated_in 864s # tmpdir: /tmp/tmpbmm3sj5n 864s # rspfile: True, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpbmm3sj5n/tmprvtt7ewh.h: 864s # typedef enum { 864s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 864s # } GDBusServerFlags; 864s # 864s # /tmp/tmpbmm3sj5n/tmp3xeujvtz.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Response file contains: --template /tmp/tmpbmm3sj5n/tmp3xeujvtz.template /tmp/tmpbmm3sj5n/tmprvtt7ewh.h 864s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbmm3sj5n/tmpf4_gii7w'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmpbmm3sj5n/tmprvtt7ewh.h 864s # basename: tmprvtt7ewh.h 864s # enumeration-production 864s # EnumName: GDBusServerFlags 864s # enum_name: g_dbus_server_flags 864s # ENUMNAME: G_DBUS_SERVER_FLAGS 864s # ENUMSHORT: DBUS_SERVER_FLAGS 864s # ENUMPREFIX: G 864s # enumsince: 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # value-header 864s # EnumName: GDBusServerFlags 864s # enum_name: g_dbus_server_flags 864s # ENUMNAME: G_DBUS_SERVER_FLAGS 864s # ENUMSHORT: DBUS_SERVER_FLAGS 864s # ENUMPREFIX: G 864s # enumsince: 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # value-production 864s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 864s # valuenick: user 864s # valuenum: 4 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # value-tail 864s # EnumName: GDBusServerFlags 864s # enum_name: g_dbus_server_flags 864s # ENUMNAME: G_DBUS_SERVER_FLAGS 864s # ENUMSHORT: DBUS_SERVER_FLAGS 864s # ENUMPREFIX: G 864s # enumsince: 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 864s # tmpdir: /tmp/tmp1fprf0n1 864s # rspfile: True, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmp1fprf0n1/tmp_lkv7qsu.h: 864s # typedef enum { 864s # 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) 864s # } GDBusServerFlags; 864s # 864s # /tmp/tmp1fprf0n1/tmpimpg96qz.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Response file contains: --template /tmp/tmp1fprf0n1/tmpimpg96qz.template /tmp/tmp1fprf0n1/tmp_lkv7qsu.h 864s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1fprf0n1/tmp5cmb0g1u'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmp1fprf0n1/tmp_lkv7qsu.h 864s # basename: tmp_lkv7qsu.h 864s # enumeration-production 864s # EnumName: GDBusServerFlags 864s # enum_name: g_dbus_server_flags 864s # ENUMNAME: G_DBUS_SERVER_FLAGS 864s # ENUMSHORT: DBUS_SERVER_FLAGS 864s # ENUMPREFIX: G 864s # enumsince: 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # value-header 864s # EnumName: GDBusServerFlags 864s # enum_name: g_dbus_server_flags 864s # ENUMNAME: G_DBUS_SERVER_FLAGS 864s # ENUMSHORT: DBUS_SERVER_FLAGS 864s # ENUMPREFIX: G 864s # enumsince: 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # value-production 864s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 864s # valuenick: user 864s # valuenum: 4 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # value-tail 864s # EnumName: GDBusServerFlags 864s # enum_name: g_dbus_server_flags 864s # ENUMNAME: G_DBUS_SERVER_FLAGS 864s # ENUMSHORT: DBUS_SERVER_FLAGS 864s # ENUMPREFIX: G 864s # enumsince: 864s # type: flags 864s # Type: Flags 864s # TYPE: FLAGS 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 23 __main__.TestRspMkenums.test_empty_header 864s # tmpdir: /tmp/tmpbpyubmb8 864s # rspfile: True, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpbpyubmb8/tmpe8v_zfq3.h: 864s # /tmp/tmpbpyubmb8/tmpmqizu32k.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Response file contains: --template /tmp/tmpbpyubmb8/tmpmqizu32k.template /tmp/tmpbpyubmb8/tmpe8v_zfq3.h 864s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbpyubmb8/tmp1vrt0foa'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 24 __main__.TestRspMkenums.test_empty_template 864s # tmpdir: /tmp/tmpa25w47ax 864s # rspfile: True, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpa25w47ax/tmp8r0x9hrn.template: 864s # Response file contains: --template /tmp/tmpa25w47ax/tmp8r0x9hrn.template 864s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa25w47ax/tmp9zmjnlyi'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # 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. */ 864s # 864s # 864s # /* Generated data ends here */ 864s ok 25 __main__.TestRspMkenums.test_enum_name 864s # tmpdir: /tmp/tmpflee80nu 864s # rspfile: True, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpflee80nu/tmpcr0i5yv4.h: 864s # typedef enum _SomeEnumIdentifier { 864s # ENUM_VALUE 864s # } SomeEnumIdentifier; 864s # 864s # /tmp/tmpflee80nu/tmp_lbmlkk1.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 864s # /*** BEGIN value-tail ***/ 864s # value-tail 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-tail ***/ 864s # 864s # /*** BEGIN comment ***/ 864s # comment 864s # comment: @comment@ 864s # /*** END comment ***/ 864s # 864s # /*** BEGIN file-tail ***/ 864s # file-tail 864s # /*** END file-tail ***/ 864s # 864s # Response file contains: --template /tmp/tmpflee80nu/tmp_lbmlkk1.template /tmp/tmpflee80nu/tmpcr0i5yv4.h 864s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpflee80nu/tmpk1glqz1l'] 864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 864s # Output: comment 864s # 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. 864s # 864s # 864s # file-header 864s # file-production 864s # filename: /tmp/tmpflee80nu/tmpcr0i5yv4.h 864s # basename: tmpcr0i5yv4.h 864s # enumeration-production 864s # EnumName: SomeEnumIdentifier 864s # enum_name: some_enum_identifier 864s # ENUMNAME: SOME_ENUM_IDENTIFIER 864s # ENUMSHORT: ENUM_IDENTIFIER 864s # ENUMPREFIX: SOME 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-header 864s # EnumName: SomeEnumIdentifier 864s # enum_name: some_enum_identifier 864s # ENUMNAME: SOME_ENUM_IDENTIFIER 864s # ENUMSHORT: ENUM_IDENTIFIER 864s # ENUMPREFIX: SOME 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-production 864s # VALUENAME: ENUM_VALUE 864s # valuenick: value 864s # valuenum: 0 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # value-tail 864s # EnumName: SomeEnumIdentifier 864s # enum_name: some_enum_identifier 864s # ENUMNAME: SOME_ENUM_IDENTIFIER 864s # ENUMSHORT: ENUM_IDENTIFIER 864s # ENUMPREFIX: SOME 864s # enumsince: 864s # type: enum 864s # Type: Enum 864s # TYPE: ENUM 864s # file-tail 864s # 864s # comment 864s # comment: Generated data ends here 864s ok 26 __main__.TestRspMkenums.test_enum_private_public 864s # tmpdir: /tmp/tmpzd6b3vy_ 864s # rspfile: True, mkenums: /usr/bin/glib-mkenums 864s # /tmp/tmpzd6b3vy_/tmpo3g4urzp.h: 864s # typedef enum { 864s # ENUM_VALUE_PUBLIC1, 864s # /*< private >*/ 864s # ENUM_VALUE_PRIVATE, 864s # } SomeEnumA 864s # 864s # /tmp/tmpzd6b3vy_/tmpq0vpw29v.template: 864s # /*** BEGIN file-header ***/ 864s # file-header 864s # /*** END file-header ***/ 864s # 864s # /*** BEGIN file-production ***/ 864s # file-production 864s # filename: @filename@ 864s # basename: @basename@ 864s # /*** END file-production ***/ 864s # 864s # /*** BEGIN enumeration-production ***/ 864s # enumeration-production 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END enumeration-production ***/ 864s # 864s # /*** BEGIN value-header ***/ 864s # value-header 864s # EnumName: @EnumName@ 864s # enum_name: @enum_name@ 864s # ENUMNAME: @ENUMNAME@ 864s # ENUMSHORT: @ENUMSHORT@ 864s # ENUMPREFIX: @ENUMPREFIX@ 864s # enumsince: @enumsince@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-header ***/ 864s # 864s # /*** BEGIN value-production ***/ 864s # value-production 864s # VALUENAME: @VALUENAME@ 864s # valuenick: @valuenick@ 864s # valuenum: @valuenum@ 864s # type: @type@ 864s # Type: @Type@ 864s # TYPE: @TYPE@ 864s # /*** END value-production ***/ 864s # 865s # /*** BEGIN value-tail ***/ 865s # value-tail 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-tail ***/ 865s # 865s # /*** BEGIN comment ***/ 865s # comment 865s # comment: @comment@ 865s # /*** END comment ***/ 865s # 865s # /*** BEGIN file-tail ***/ 865s # file-tail 865s # /*** END file-tail ***/ 865s # 865s # Response file contains: --template /tmp/tmpzd6b3vy_/tmpq0vpw29v.template /tmp/tmpzd6b3vy_/tmpo3g4urzp.h 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzd6b3vy_/tmpwkiq7p7c'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: comment 865s # 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. 865s # 865s # 865s # file-header 865s # file-production 865s # filename: /tmp/tmpzd6b3vy_/tmpo3g4urzp.h 865s # basename: tmpo3g4urzp.h 865s # enumeration-production 865s # EnumName: SomeEnumA 865s # enum_name: some_enum_a 865s # ENUMNAME: SOME_ENUM_A 865s # ENUMSHORT: ENUM_A 865s # ENUMPREFIX: SOME 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-header 865s # EnumName: SomeEnumA 865s # enum_name: some_enum_a 865s # ENUMNAME: SOME_ENUM_A 865s # ENUMSHORT: ENUM_A 865s # ENUMPREFIX: SOME 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-production 865s # VALUENAME: ENUM_VALUE_PUBLIC1 865s # valuenick: public1 865s # valuenum: 0 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-tail 865s # EnumName: SomeEnumA 865s # enum_name: some_enum_a 865s # ENUMNAME: SOME_ENUM_A 865s # ENUMSHORT: ENUM_A 865s # ENUMPREFIX: SOME 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # file-tail 865s # 865s # comment 865s # comment: Generated data ends here 865s # /tmp/tmpzd6b3vy_/tmpgbqcynbt.h: 865s # typedef enum { 865s # /*< private >*/ 865s # ENUM_VALUE_PRIVATE, 865s # /*< public >*/ 865s # ENUM_VALUE_PUBLIC2, 865s # } SomeEnumB; 865s # 865s # /tmp/tmpzd6b3vy_/tmp1zddx6ul.template: 865s # /*** BEGIN file-header ***/ 865s # file-header 865s # /*** END file-header ***/ 865s # 865s # /*** BEGIN file-production ***/ 865s # file-production 865s # filename: @filename@ 865s # basename: @basename@ 865s # /*** END file-production ***/ 865s # 865s # /*** BEGIN enumeration-production ***/ 865s # enumeration-production 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END enumeration-production ***/ 865s # 865s # /*** BEGIN value-header ***/ 865s # value-header 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-header ***/ 865s # 865s # /*** BEGIN value-production ***/ 865s # value-production 865s # VALUENAME: @VALUENAME@ 865s # valuenick: @valuenick@ 865s # valuenum: @valuenum@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-production ***/ 865s # 865s # /*** BEGIN value-tail ***/ 865s # value-tail 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-tail ***/ 865s # 865s # /*** BEGIN comment ***/ 865s # comment 865s # comment: @comment@ 865s # /*** END comment ***/ 865s # 865s # /*** BEGIN file-tail ***/ 865s # file-tail 865s # /*** END file-tail ***/ 865s # 865s # Response file contains: --template /tmp/tmpzd6b3vy_/tmp1zddx6ul.template /tmp/tmpzd6b3vy_/tmpgbqcynbt.h 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzd6b3vy_/tmpxos_wz20'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: comment 865s # 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. 865s # 865s # 865s # file-header 865s # file-production 865s # filename: /tmp/tmpzd6b3vy_/tmpgbqcynbt.h 865s # basename: tmpgbqcynbt.h 865s # enumeration-production 865s # EnumName: SomeEnumB 865s # enum_name: some_enum_b 865s # ENUMNAME: SOME_ENUM_B 865s # ENUMSHORT: ENUM_B 865s # ENUMPREFIX: SOME 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-header 865s # EnumName: SomeEnumB 865s # enum_name: some_enum_b 865s # ENUMNAME: SOME_ENUM_B 865s # ENUMSHORT: ENUM_B 865s # ENUMPREFIX: SOME 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-production 865s # VALUENAME: ENUM_VALUE_PUBLIC2 865s # valuenick: public2 865s # valuenum: 1 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-tail 865s # EnumName: SomeEnumB 865s # enum_name: some_enum_b 865s # ENUMNAME: SOME_ENUM_B 865s # ENUMSHORT: ENUM_B 865s # ENUMPREFIX: SOME 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # file-tail 865s # 865s # comment 865s # comment: Generated data ends here 865s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 865s # tmpdir: /tmp/tmpdm7w4wa7 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # /tmp/tmpdm7w4wa7/tmp_0aafikw.h: 865s # typedef enum { 865s # /*< private >*/ 865s # ENUM_VALUE_PRIVATE = 5, 865s # /*< public >*/ 865s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 865s # } TestSymbolicEnum; 865s # 865s # /tmp/tmpdm7w4wa7/tmpe3r66nc0.template: 865s # /*** BEGIN file-header ***/ 865s # file-header 865s # /*** END file-header ***/ 865s # 865s # /*** BEGIN file-production ***/ 865s # file-production 865s # filename: @filename@ 865s # basename: @basename@ 865s # /*** END file-production ***/ 865s # 865s # /*** BEGIN enumeration-production ***/ 865s # enumeration-production 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END enumeration-production ***/ 865s # 865s # /*** BEGIN value-header ***/ 865s # value-header 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-header ***/ 865s # 865s # /*** BEGIN value-production ***/ 865s # value-production 865s # VALUENAME: @VALUENAME@ 865s # valuenick: @valuenick@ 865s # valuenum: @valuenum@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-production ***/ 865s # 865s # /*** BEGIN value-tail ***/ 865s # value-tail 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-tail ***/ 865s # 865s # /*** BEGIN comment ***/ 865s # comment 865s # comment: @comment@ 865s # /*** END comment ***/ 865s # 865s # /*** BEGIN file-tail ***/ 865s # file-tail 865s # /*** END file-tail ***/ 865s # 865s # Response file contains: --template /tmp/tmpdm7w4wa7/tmpe3r66nc0.template /tmp/tmpdm7w4wa7/tmp_0aafikw.h 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdm7w4wa7/tmpvwfruxvy'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: comment 865s # 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. 865s # 865s # 865s # file-header 865s # file-production 865s # filename: /tmp/tmpdm7w4wa7/tmp_0aafikw.h 865s # basename: tmp_0aafikw.h 865s # enumeration-production 865s # EnumName: TestSymbolicEnum 865s # enum_name: test_symbolic_enum 865s # ENUMNAME: TEST_SYMBOLIC_ENUM 865s # ENUMSHORT: SYMBOLIC_ENUM 865s # ENUMPREFIX: TEST 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-header 865s # EnumName: TestSymbolicEnum 865s # enum_name: test_symbolic_enum 865s # ENUMNAME: TEST_SYMBOLIC_ENUM 865s # ENUMSHORT: SYMBOLIC_ENUM 865s # ENUMPREFIX: TEST 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-production 865s # VALUENAME: ENUM_VALUE_PUBLIC 865s # valuenick: public 865s # valuenum: 7 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-tail 865s # EnumName: TestSymbolicEnum 865s # enum_name: test_symbolic_enum 865s # ENUMNAME: TEST_SYMBOLIC_ENUM 865s # ENUMSHORT: SYMBOLIC_ENUM 865s # ENUMPREFIX: TEST 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # file-tail 865s # 865s # comment 865s # comment: Generated data ends here 865s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 865s # tmpdir: /tmp/tmpiadlqbma 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # /tmp/tmpiadlqbma/tmp89q7qepv.template: 865s # /*** BEGIN file-header ***/ 865s # file-header 865s # filename: @filename@ 865s # basename: @basename@ 865s # /*** END file-header ***/ 865s # 865s # /*** BEGIN comment ***/ 865s # comment 865s # comment: @comment@ 865s # /*** END comment ***/ 865s # 865s # /*** BEGIN file-tail ***/ 865s # file-tail 865s # filename: @filename@ 865s # basename: @basename@ 865s # /*** END file-tail ***/ 865s # Response file contains: --template /tmp/tmpiadlqbma/tmp89q7qepv.template 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiadlqbma/tmpkhx_f8g9'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: comment 865s # 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. 865s # 865s # 865s # file-header 865s # filename: @filename@ 865s # basename: @basename@ 865s # file-tail 865s # filename: @filename@ 865s # basename: @basename@ 865s # 865s # comment 865s # comment: Generated data ends here 865s ok 29 __main__.TestRspMkenums.test_help 865s # tmpdir: /tmp/tmpns6rd_e9 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # Response file contains: --help 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpns6rd_e9/tmp4vcxq9tm'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 865s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 865s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 865s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 865s # [--comments COMMENT_TMPL] [--template TEMPLATE] 865s # [--output OUTPUT] [--version] 865s # [args ...] 865s # 865s # positional arguments: 865s # args One or more input files, or a single argument 865s # @rspfile_path pointing to a file that contains the 865s # actual arguments 865s # 865s # options: 865s # -h, --help show this help message and exit 865s # --identifier-prefix IDPREFIX 865s # Identifier prefix 865s # --symbol-prefix SYMPREFIX 865s # Symbol prefix 865s # --fhead FHEAD Output file header 865s # --ftail FTAIL Output file footer 865s # --fprod FPROD Put out TEXT every time a new input file is being 865s # processed. 865s # --eprod EPROD Per enum text, produced prior to value iterations 865s # --vhead VHEAD Value header, produced before iterating over enum 865s # values 865s # --vprod VPROD Value text, produced for each enum value. 865s # --vtail VTAIL Value tail, produced after iterating over enum values 865s # --comments COMMENT_TMPL 865s # Comment structure 865s # --template TEMPLATE Template file 865s # --output OUTPUT 865s # --version, -v Print version information 865s # 865s # Production text substitutions: 865s # @EnumName@ PrefixTheXEnum 865s # @enum_name@ prefix_the_xenum 865s # @ENUMNAME@ PREFIX_THE_XENUM 865s # @ENUMSHORT@ THE_XENUM 865s # @ENUMPREFIX@ PREFIX 865s # @enumsince@ the user-provided since value given 865s # @VALUENAME@ PREFIX_THE_XVALUE 865s # @valuenick@ the-xvalue 865s # @valuenum@ the integer value (limited support, Since: 2.26) 865s # @type@ either enum or flags 865s # @Type@ either Enum or Flags 865s # @TYPE@ either ENUM or FLAGS 865s # @filename@ name of current input file 865s # @basename@ base name of the current input file (Since: 2.22) 865s ok 30 __main__.TestRspMkenums.test_no_args 865s # tmpdir: /tmp/tmpns8f5mjf 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # Response file contains: 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpns8f5mjf/tmptm51bjot'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # 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. */ 865s # 865s # 865s # /* Generated data ends here */ 865s ok 31 __main__.TestRspMkenums.test_no_headers 865s # tmpdir: /tmp/tmp6303ice_ 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # /tmp/tmp6303ice_/tmpfi5787p_.template: 865s # /*** BEGIN file-header ***/ 865s # file-header 865s # /*** END file-header ***/ 865s # 865s # /*** BEGIN file-production ***/ 865s # file-production 865s # filename: @filename@ 865s # basename: @basename@ 865s # /*** END file-production ***/ 865s # 865s # /*** BEGIN enumeration-production ***/ 865s # enumeration-production 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END enumeration-production ***/ 865s # 865s # /*** BEGIN value-header ***/ 865s # value-header 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-header ***/ 865s # 865s # /*** BEGIN value-production ***/ 865s # value-production 865s # VALUENAME: @VALUENAME@ 865s # valuenick: @valuenick@ 865s # valuenum: @valuenum@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-production ***/ 865s # 865s # /*** BEGIN value-tail ***/ 865s # value-tail 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-tail ***/ 865s # 865s # /*** BEGIN comment ***/ 865s # comment 865s # comment: @comment@ 865s # /*** END comment ***/ 865s # 865s # /*** BEGIN file-tail ***/ 865s # file-tail 865s # /*** END file-tail ***/ 865s # 865s # Response file contains: --template /tmp/tmp6303ice_/tmpfi5787p_.template 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6303ice_/tmpfzvfxeu5'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: comment 865s # 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. 865s # 865s # 865s # file-header 865s # file-tail 865s # 865s # comment 865s # comment: Generated data ends here 865s ok 32 __main__.TestRspMkenums.test_no_nick 865s # tmpdir: /tmp/tmpz5h34cvq 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # /tmp/tmpz5h34cvq/tmpfrj_yggd.h: 865s # typedef enum { 865s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 865s # } GeglSamplerType; 865s # 865s # /tmp/tmpz5h34cvq/tmp6u2prxvj.template: 865s # /*** BEGIN file-header ***/ 865s # file-header 865s # /*** END file-header ***/ 865s # 865s # /*** BEGIN file-production ***/ 865s # file-production 865s # filename: @filename@ 865s # basename: @basename@ 865s # /*** END file-production ***/ 865s # 865s # /*** BEGIN enumeration-production ***/ 865s # enumeration-production 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END enumeration-production ***/ 865s # 865s # /*** BEGIN value-header ***/ 865s # value-header 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-header ***/ 865s # 865s # /*** BEGIN value-production ***/ 865s # value-production 865s # VALUENAME: @VALUENAME@ 865s # valuenick: @valuenick@ 865s # valuenum: @valuenum@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-production ***/ 865s # 865s # /*** BEGIN value-tail ***/ 865s # value-tail 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-tail ***/ 865s # 865s # /*** BEGIN comment ***/ 865s # comment 865s # comment: @comment@ 865s # /*** END comment ***/ 865s # 865s # /*** BEGIN file-tail ***/ 865s # file-tail 865s # /*** END file-tail ***/ 865s # 865s # Response file contains: --template /tmp/tmpz5h34cvq/tmp6u2prxvj.template /tmp/tmpz5h34cvq/tmpfrj_yggd.h 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpz5h34cvq/tmpu8_xp6tw'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: comment 865s # 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. 865s # 865s # 865s # file-header 865s # file-production 865s # filename: /tmp/tmpz5h34cvq/tmpfrj_yggd.h 865s # basename: tmpfrj_yggd.h 865s # enumeration-production 865s # EnumName: GeglSamplerType 865s # enum_name: gegl_sampler_type 865s # ENUMNAME: GEGL_SAMPLER_TYPE 865s # ENUMSHORT: SAMPLER_TYPE 865s # ENUMPREFIX: GEGL 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-header 865s # EnumName: GeglSamplerType 865s # enum_name: gegl_sampler_type 865s # ENUMNAME: GEGL_SAMPLER_TYPE 865s # ENUMSHORT: SAMPLER_TYPE 865s # ENUMPREFIX: GEGL 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-production 865s # VALUENAME: GEGL_SAMPLER_NEAREST 865s # valuenick: nearest 865s # valuenum: 0 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-tail 865s # EnumName: GeglSamplerType 865s # enum_name: gegl_sampler_type 865s # ENUMNAME: GEGL_SAMPLER_TYPE 865s # ENUMSHORT: SAMPLER_TYPE 865s # ENUMPREFIX: GEGL 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # file-tail 865s # 865s # comment 865s # comment: Generated data ends here 865s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 865s # tmpdir: /tmp/tmp3utcifwf 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # /tmp/tmp3utcifwf/tmp5pobeufm.h: 865s # /* Copyright © La Peña */ 865s # typedef enum { 865s # ENUM_VALUE 865s # } SomeEnumIdentifier; 865s # 865s # /tmp/tmp3utcifwf/tmp8erc7kn_.template: 865s # /*** BEGIN file-header ***/ 865s # file-header 865s # /*** END file-header ***/ 865s # 865s # /*** BEGIN file-production ***/ 865s # file-production 865s # filename: @filename@ 865s # basename: @basename@ 865s # /*** END file-production ***/ 865s # 865s # /*** BEGIN enumeration-production ***/ 865s # enumeration-production 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END enumeration-production ***/ 865s # 865s # /*** BEGIN value-header ***/ 865s # value-header 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-header ***/ 865s # 865s # /*** BEGIN value-production ***/ 865s # value-production 865s # VALUENAME: @VALUENAME@ 865s # valuenick: @valuenick@ 865s # valuenum: @valuenum@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-production ***/ 865s # 865s # /*** BEGIN value-tail ***/ 865s # value-tail 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-tail ***/ 865s # 865s # /*** BEGIN comment ***/ 865s # comment 865s # comment: @comment@ 865s # /*** END comment ***/ 865s # 865s # /*** BEGIN file-tail ***/ 865s # file-tail 865s # /*** END file-tail ***/ 865s # 865s # Response file contains: --template /tmp/tmp3utcifwf/tmp8erc7kn_.template /tmp/tmp3utcifwf/tmp5pobeufm.h 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3utcifwf/tmpq5y2317r'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: comment 865s # 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. 865s # 865s # 865s # file-header 865s # file-production 865s # filename: /tmp/tmp3utcifwf/tmp5pobeufm.h 865s # basename: tmp5pobeufm.h 865s # enumeration-production 865s # EnumName: SomeEnumIdentifier 865s # enum_name: some_enum_identifier 865s # ENUMNAME: SOME_ENUM_IDENTIFIER 865s # ENUMSHORT: ENUM_IDENTIFIER 865s # ENUMPREFIX: SOME 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-header 865s # EnumName: SomeEnumIdentifier 865s # enum_name: some_enum_identifier 865s # ENUMNAME: SOME_ENUM_IDENTIFIER 865s # ENUMSHORT: ENUM_IDENTIFIER 865s # ENUMPREFIX: SOME 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-production 865s # VALUENAME: ENUM_VALUE 865s # valuenick: value 865s # valuenum: 0 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-tail 865s # EnumName: SomeEnumIdentifier 865s # enum_name: some_enum_identifier 865s # ENUMNAME: SOME_ENUM_IDENTIFIER 865s # ENUMSHORT: ENUM_IDENTIFIER 865s # ENUMPREFIX: SOME 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # file-tail 865s # 865s # comment 865s # comment: Generated data ends here 865s ok 34 __main__.TestRspMkenums.test_reproducible 865s # tmpdir: /tmp/tmpchiwlpl1 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # /tmp/tmpchiwlpl1/tmpkuthinip.template: template 865s # Response file contains: --template /tmp/tmpchiwlpl1/tmpkuthinip.template /tmp/tmpchiwlpl1/tmph_o6e0_b1.h /tmp/tmpchiwlpl1/tmpvdsvmxcd2.h 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpchiwlpl1/tmp0h6eb377'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # 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. */ 865s # 865s # 865s # /* Generated data ends here */ 865s # /tmp/tmpchiwlpl1/tmp07ltrnc2.template: template 865s # Response file contains: --template /tmp/tmpchiwlpl1/tmp07ltrnc2.template /tmp/tmpchiwlpl1/tmpvdsvmxcd2.h /tmp/tmpchiwlpl1/tmph_o6e0_b1.h 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpchiwlpl1/tmpekonfic7'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # 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. */ 865s # 865s # 865s # /* Generated data ends here */ 865s ok 35 __main__.TestRspMkenums.test_since 865s # tmpdir: /tmp/tmp0xbbtm0l 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # /tmp/tmp0xbbtm0l/tmphuswsw2q.h: 865s # typedef enum { /*< since=1.0 >*/ 865s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 865s # } QmiWmsMessageProtocol; 865s # 865s # /tmp/tmp0xbbtm0l/tmpt8ucmf_w.template: 865s # /*** BEGIN file-header ***/ 865s # file-header 865s # /*** END file-header ***/ 865s # 865s # /*** BEGIN file-production ***/ 865s # file-production 865s # filename: @filename@ 865s # basename: @basename@ 865s # /*** END file-production ***/ 865s # 865s # /*** BEGIN enumeration-production ***/ 865s # enumeration-production 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END enumeration-production ***/ 865s # 865s # /*** BEGIN value-header ***/ 865s # value-header 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-header ***/ 865s # 865s # /*** BEGIN value-production ***/ 865s # value-production 865s # VALUENAME: @VALUENAME@ 865s # valuenick: @valuenick@ 865s # valuenum: @valuenum@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-production ***/ 865s # 865s # /*** BEGIN value-tail ***/ 865s # value-tail 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-tail ***/ 865s # 865s # /*** BEGIN comment ***/ 865s # comment 865s # comment: @comment@ 865s # /*** END comment ***/ 865s # 865s # /*** BEGIN file-tail ***/ 865s # file-tail 865s # /*** END file-tail ***/ 865s # 865s # Response file contains: --template /tmp/tmp0xbbtm0l/tmpt8ucmf_w.template /tmp/tmp0xbbtm0l/tmphuswsw2q.h 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0xbbtm0l/tmp62d9dpxn'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: comment 865s # 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. 865s # 865s # 865s # file-header 865s # file-production 865s # filename: /tmp/tmp0xbbtm0l/tmphuswsw2q.h 865s # basename: tmphuswsw2q.h 865s # enumeration-production 865s # EnumName: QmiWmsMessageProtocol 865s # enum_name: qmi_wms_message_protocol 865s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 865s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 865s # ENUMPREFIX: QMI 865s # enumsince: 1.0 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-header 865s # EnumName: QmiWmsMessageProtocol 865s # enum_name: qmi_wms_message_protocol 865s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 865s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 865s # ENUMPREFIX: QMI 865s # enumsince: 1.0 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-production 865s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 865s # valuenick: cdma 865s # valuenum: 0 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-tail 865s # EnumName: QmiWmsMessageProtocol 865s # enum_name: qmi_wms_message_protocol 865s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 865s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 865s # ENUMPREFIX: QMI 865s # enumsince: 1.0 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # file-tail 865s # 865s # comment 865s # comment: Generated data ends here 865s ok 36 __main__.TestRspMkenums.test_with_double_quotes 865s ok - glib/mkenums.py.test 865s # Running test: glib/string.test 865s ok - glib/string.test 865s # Running test: glib/timeout.test 865s # tmpdir: /tmp/tmp1ckau41z 865s # rspfile: True, mkenums: /usr/bin/glib-mkenums 865s # /tmp/tmp1ckau41z/tmpxv2aomvo.h: 865s # typedef enum { 865s # FOO_VALUE /*< nick="eek, a comma" >*/ 865s # } Foo; 865s # 865s # /tmp/tmp1ckau41z/tmpj7etvz9w.template: 865s # /*** BEGIN file-header ***/ 865s # file-header 865s # /*** END file-header ***/ 865s # 865s # /*** BEGIN file-production ***/ 865s # file-production 865s # filename: @filename@ 865s # basename: @basename@ 865s # /*** END file-production ***/ 865s # 865s # /*** BEGIN enumeration-production ***/ 865s # enumeration-production 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END enumeration-production ***/ 865s # 865s # /*** BEGIN value-header ***/ 865s # value-header 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-header ***/ 865s # 865s # /*** BEGIN value-production ***/ 865s # value-production 865s # VALUENAME: @VALUENAME@ 865s # valuenick: @valuenick@ 865s # valuenum: @valuenum@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-production ***/ 865s # 865s # /*** BEGIN value-tail ***/ 865s # value-tail 865s # EnumName: @EnumName@ 865s # enum_name: @enum_name@ 865s # ENUMNAME: @ENUMNAME@ 865s # ENUMSHORT: @ENUMSHORT@ 865s # ENUMPREFIX: @ENUMPREFIX@ 865s # enumsince: @enumsince@ 865s # type: @type@ 865s # Type: @Type@ 865s # TYPE: @TYPE@ 865s # /*** END value-tail ***/ 865s # 865s # /*** BEGIN comment ***/ 865s # comment 865s # comment: @comment@ 865s # /*** END comment ***/ 865s # 865s # /*** BEGIN file-tail ***/ 865s # file-tail 865s # /*** END file-tail ***/ 865s # 865s # Response file contains: --template /tmp/tmp1ckau41z/tmpj7etvz9w.template /tmp/tmp1ckau41z/tmpxv2aomvo.h 865s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1ckau41z/tmpg03j_veg'] 865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 865s # Output: comment 865s # 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. 865s # 865s # 865s # file-header 865s # file-production 865s # filename: /tmp/tmp1ckau41z/tmpxv2aomvo.h 865s # basename: tmpxv2aomvo.h 865s # enumeration-production 865s # EnumName: Foo 865s # enum_name: foo_ 865s # ENUMNAME: FOO_ 865s # ENUMSHORT: 865s # ENUMPREFIX: FOO 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-header 865s # EnumName: Foo 865s # enum_name: foo_ 865s # ENUMNAME: FOO_ 865s # ENUMSHORT: 865s # ENUMPREFIX: FOO 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-production 865s # VALUENAME: FOO_VALUE 865s # valuenick: eek, a comma 865s # valuenum: 0 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # value-tail 865s # EnumName: Foo 865s # enum_name: foo_ 865s # ENUMNAME: FOO_ 865s # ENUMSHORT: 865s # ENUMPREFIX: FOO 865s # enumsince: 865s # type: enum 865s # Type: Enum 865s # TYPE: ENUM 865s # file-tail 865s # 865s # comment 865s # comment: Generated data ends here 865s 1..36 865s TAP version 14 865s # random seed: R02Sae77a9f3d0ac253418bd2043e30f4e20 865s 1..23 865s # Start of string tests 865s ok 1 /string/test-string-chunks 865s ok 2 /string/test-string-chunk-insert 865s ok 3 /string/test-string-new 865s ok 4 /string/test-string-printf 865s ok 5 /string/test-string-assign 865s ok 6 /string/test-string-append-c 865s ok 7 /string/test-string-append 865s ok 8 /string/test-string-append-vprintf 865s ok 9 /string/test-string-prepend-c 865s ok 10 /string/test-string-prepend 865s ok 11 /string/test-string-insert 865s ok 12 /string/test-string-insert-unichar 865s ok 13 /string/test-string-equal 865s ok 14 /string/test-string-truncate 865s ok 15 /string/test-string-overwrite 865s ok 16 /string/test-string-nul-handling 865s ok 17 /string/test-string-up-down 865s ok 18 /string/test-string-set-size 865s ok 19 /string/test-string-to-bytes 865s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 865s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 865s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 865s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 865s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 865s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 865s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 865s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 865s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 865s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 865s # 5: Replacing "o" with "" (limit 0) in "food for foals" 865s # -> 4 replacements, "fd fr fals" 865s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 865s # -> 3 replacements, "aaaaaaaaa" 865s # 7: Replacing "a" with "" (limit 0) in "aaa" 865s # -> 3 replacements, "" 865s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 865s # -> 1 replacements, "bba" 865s # 9: Replacing "" with "bar" (limit 0) in "foo" 865s # -> 4 replacements, "barfbarobarobar" 865s # 10: Replacing "" with "x" (limit 0) in "" 865s # -> 1 replacements, "x" 865s # 11: Replacing "" with "" (limit 0) in "" 865s # -> 1 replacements, "" 865s ok 20 /string/test-string-replace 865s ok 21 /string/test-string-steal 865s ok 22 /string/test-string-new-take 865s # Start of test-string-new-take tests 865s ok 23 /string/test-string-new-take/null 865s # End of test-string-new-take tests 865s # End of string tests 865s TAP version 14 865s # random seed: R02Sf7e37b95114beee1f17f7a90b0bbb59c 865s 1..5 865s # Start of timeout tests 865s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 867s ok 1 /timeout/seconds 867s # slow test /timeout/seconds executed in 2.10 secs 868s # Executing: glib/timeout.test 869s ok 2 /timeout/seconds-once 869s # slow test /timeout/seconds-once executed in 2.10 secs 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 871s ok 3 /timeout/weeks-overflow 871s # slow test /timeout/weeks-overflow executed in 2.10 secs 871s ok 4 /timeout/far-future-ready-time 873s # Executing: glib/timeout.test 878s # Executing: glib/timeout.test 882s ok 5 /timeout/rounding 882s # slow test /timeout/rounding executed in 10.66 secs 882s # End of timeout tests 882s ok - glib/timeout.test 882s # Running test: glib/dump.test 882s TAP version 14 882s # random seed: R02S3060257aeba644ec251627151a5fe431 882s 1..4 882s # Start of dump tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_OEFL02/dump/empty-file/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_OEFL02/dump/empty-file/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_OEFL02/dump/empty-file/.dirs/system-config1:/tmp/test_dump_OEFL02/dump/empty-file/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_OEFL02/dump/empty-file/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_OEFL02/dump/empty-file/.dirs/system-data1:/tmp/test_dump_OEFL02/dump/empty-file/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_OEFL02/dump/empty-file/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_OEFL02/dump/empty-file/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_OEFL02/dump/empty-file/.dirs/runtime 882s ok 1 /dump/empty-file 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_OEFL02/dump/missing-get-type/.dirs/runtime 882s Invalid GType function: 'does_not_exist_get_type' 882s ok 2 /dump/missing-get-type 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_OEFL02/dump/missing-quark/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_OEFL02/dump/missing-quark/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_OEFL02/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_OEFL02/dump/missing-quark/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_OEFL02/dump/missing-quark/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_OEFL02/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_OEFL02/dump/missing-quark/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_OEFL02/dump/missing-quark/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_OEFL02/dump/missing-quark/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_OEFL02/dump/missing-quark/.dirs/runtime 882s Invalid error quark function: 'does_not_exist_error' 882s ok 3 /dump/missing-quark 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_OEFL02/dump/basic/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_OEFL02/dump/basic/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_OEFL02/dump/basic/.dirs/system-config1:/tmp/test_dump_OEFL02/dump/basic/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_OEFL02/dump/basic/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_OEFL02/dump/basic/.dirs/system-data1:/tmp/test_dump_OEFL02/dump/basic/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_OEFL02/dump/basic/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_OEFL02/dump/basic/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_OEFL02/dump/basic/.dirs/runtime 882s ok 4 /dump/basic 882s # End of dump tests 882s ok - glib/dump.test 882s # Running test: glib/mimeapps.test 882s TAP version 14 882s # random seed: R02Sc49612f63496e853a69a245fb79d154b 882s 1..7 882s # Start of appinfo tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/runtime 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/system-data1/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data/applications/myapp.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data/applications/myapp2.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data/applications/myapp3.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data/applications/myapp4.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data/applications/myapp5.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 882s # removing '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/data/applications/mimeinfo.cache' 882s ok 1 /appinfo/all 882s # Start of mime tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/runtime 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/system-data1/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 882s # removing '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/config 882s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_7UAL02/appinfo/all/.dirs/config to /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/config 882s ok 2 /appinfo/mime/api 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/runtime 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/system-data1/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 882s # removing '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/config 882s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_7UAL02/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/config 882s ok 3 /appinfo/mime/default 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/runtime 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/system-data1/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 882s # removing '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/config 882s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_7UAL02/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/config 882s ok 4 /appinfo/mime/file 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/runtime 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 882s # removing '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 882s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_7UAL02/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/config 882s ok 5 /appinfo/mime/scheme-handler 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/runtime 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/system-data1/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 882s # removing '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/config 882s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_7UAL02/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/config 882s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/config 882s ok 6 /appinfo/mime/default-last-used 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/runtime 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 882s # removing '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 882s # creating '/tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 882s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_7UAL02/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_7UAL02/appinfo/mime/ignore-nonexisting/.dirs/config 882s ok 7 /appinfo/mime/ignore-nonexisting 882s # End of mime tests 882s # End of appinfo tests 882s ok - glib/mimeapps.test 882s # Running test: glib/memory-monitor-dbus.test 882s TAP version 13 882s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 882s 1..1 882s ok - glib/memory-monitor-dbus.test 882s # Running test: glib/signals-refcount4.test 882s TAP version 14 882s # random seed: R02Se8ed3fbe56e988e658c23ff97804ad5d 882s 1..1 882s # Start of gobject tests 882s # Start of refcount tests 882s # init 0xa0399bbf420 882s # 882s # init 0xa0399bbf5c0 882s # 883s # Executing: glib/signals-refcount4.test 887s ok - glib/signals-refcount4.test 887s # Running test: glib/cxx-11.test 887s # dispose 0xa0399bbf420! 887s # 887s # dispose 0xa0399bbf5c0! 887s # 887s ok 1 /gobject/refcount/signals 887s # slow test /gobject/refcount/signals executed in 5.00 secs 887s # End of refcount tests 887s # End of gobject tests 887s TAP version 14 887s # random seed: R02S55612120edcc9aec0d63f72f5b6f036d 887s 1..2 887s # Start of gtask tests 887s # 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. 887s ok 1 /gtask/name 887s # Start of name tests 887s # 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. 887s ok 2 /gtask/name/macro-wrapper 887s # End of name tests 887s # End of gtask tests 887s ok - glib/cxx-11.test 887s TAP version 14 887s # random seed: R02Sc0f3751b18aa46e715b5e0081fde5875 887s 1..2 887s # Start of gtask tests 887s # 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. 887s ok 1 /gtask/name 887s # Start of name tests 887s # 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. 887s ok 2 /gtask/name/macro-wrapper 887s # End of name tests 887s # End of gtask tests 887s TAP version 14 887s # random seed: R02S890d83046d2fe0f21b5c99027c076dc0 887s 1..10 887s # Start of memory-output-stream tests 887s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 887s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 887s ok 1 /memory-output-stream/truncate 887s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 887s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 887s ok 2 /memory-output-stream/get-data-size 887s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 887s ok 3 /memory-output-stream/properties 887s ok 4 /memory-output-stream/write-bytes 887s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 887s ok 5 /memory-output-stream/write-null 887s ok 6 /memory-output-stream/writev 887s ok 7 /memory-output-stream/writev_nonblocking 887s ok 8 /memory-output-stream/steal_as_bytes 887s # Start of seek tests 887s ok 9 /memory-output-stream/seek/fixed 887s ok 10 /memory-output-stream/seek/resizable 887s # End of seek tests 887s # End of memory-output-stream tests 887s TAP version 14 887s # random seed: R02S0f838638cd75f1a9922871d24b7af244 887s 1..1 887s # Start of gobject tests 887s # Start of refcount tests 887s # Running test: glib/cxx.test 887s ok - glib/cxx.test 887s # Running test: glib/memory-output-stream.test 887s ok - glib/memory-output-stream.test 887s # Running test: glib/properties-refcount1.test 888s # .d 888s # .c 888s # .f 888s # .b 888s # .e 888s # .f 888s # .d 888s # .c 888s # .b 888s # .e 888s # .f 888s # Executing: glib/properties-refcount1.test 888s # .d 888s # .c 888s # .b 888s # .e 888s # .f 888s # .d 888s # .c 888s # .b 888s # .e 888s # .f 888s # .d 888s # .c 888s # .b 888s # .d 888s # .e 888s # .f 888s # .c 889s # .d 889s # .b 889s # .e 889s # .f 889s # .d 889s # .c 889s # .d 889s # .b 889s # .e 889s # .f 889s # .c 889s # .d 889s # .b 889s # .d 889s # .b 889s # .f 889s # .e 889s # .c 889s # .d 889s # .f 889s # .e 889s # .b 889s # .c 889s # .d 889s # .f 889s # .e 889s # .b 889s # .d 889s # .c 889s # .f 889s # .e 889s # .b 889s # .c 889s # .e 889s # .d 889s # .f 889s # .b 889s # .c 889s # .d 889s # .f 889s # .e 889s # .b 890s # .c 890s # .f 890s # .d 890s # .e 890s # .b 890s # .c 890s # .f 890s # .d 890s # .c 890s # .b 890s # .e 890s # .f 890s # .d 890s # .c 890s # .e 890s # .b 890s # .f 890s # .d 890s # .e 890s # .c 890s # .b 890s # .f 890s # .d 890s # .e 890s # .c 890s # .b 890s # .d 890s # .e 890s # .f 890s # .c 890s # .b 890s # .d 890s # .f 890s # .e 890s # .c 890s # .b 890s # .d 890s # .f 890s # .e 890s # .b 890s # .c 890s # .d 890s # .f 890s # .d 890s # .e 890s # .b 890s # .f 890s # .c 890s ok 1 /gobject/refcount/properties-1 890s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 890s # End of refcount tests 890s # End of gobject tests 890s ok - glib/properties-refcount1.test 890s # Running test: glib/signalgroup.test 890s TAP version 14 890s # random seed: R02Sb9b96e25f98da253606e20428db7e787 890s 1..9 890s # Start of GObject tests 890s # Start of SignalGroup tests 890s ok 1 /GObject/SignalGroup/invalid 890s ok 2 /GObject/SignalGroup/simple 890s ok 3 /GObject/SignalGroup/changing-target 890s ok 4 /GObject/SignalGroup/blocking 890s ok 5 /GObject/SignalGroup/weak-ref-target 890s ok 6 /GObject/SignalGroup/connect-object 890s ok 7 /GObject/SignalGroup/signal-parsing 890s ok 8 /GObject/SignalGroup/properties 890s ok 9 /GObject/SignalGroup/interface 890s # Start of signal-parsing tests 890s # End of signal-parsing tests 890s # End of SignalGroup tests 890s # End of GObject tests 890s ok - glib/signalgroup.test 890s # Running test: glib/atomic-c-17.test 890s TAP version 14 890s # random seed: R02Sdf0c461244be89ee59dc9dcd60a65391 890s 1..2 890s # Start of atomic tests 890s ok 1 /atomic/types 891s ok - glib/atomic-c-17.test 891s # Running test: glib/macros-c-17.test 891s ok - glib/macros-c-17.test 891s # Running test: glib/cxx-03.test 891s ok 2 /atomic/threaded 891s # End of atomic tests 891s TAP version 14 891s # random seed: R02Seb1b428c6bda0deddc4e3a14d6623a05 891s 1..4 891s # Start of C tests 891s ok 1 /C/standard-17 891s # End of C tests 891s # Start of alignof tests 891s ok 2 /alignof/fallback 891s # End of alignof tests 891s # Start of assert tests 891s ok 3 /assert/static 891s # End of assert tests 891s # Start of struct tests 891s ok 4 /struct/sizeof_member 891s # End of struct tests 891s TAP version 14 891s # random seed: R02S90ebac65a6c62507b90bc1fc571b8b89 891s 1..2 891s # Start of gtask tests 891s # 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. 891s ok 1 /gtask/name 891s # Start of name tests 891s # 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. 891s ok 2 /gtask/name/macro-wrapper 891s # End of name tests 891s # End of gtask tests 891s ok - glib/cxx-03.test 891s # Running test: glib/utf8-misc.test 891s ok - glib/utf8-misc.test 891s # Running test: glib/cxx-2b.test 891s ok - glib/cxx-2b.test 891s # Running test: glib/gdbus-subscribe.test 891s TAP version 14 891s # random seed: R02S9ee3a011e41c95c741b602abe88e1e22 891s 1..7 891s # Start of utf8 tests 891s ok 1 /utf8/strlen 891s ok 2 /utf8/strncpy 891s ok 3 /utf8/strrchr 891s ok 4 /utf8/reverse 891s ok 5 /utf8/substring 891s ok 6 /utf8/make-valid 891s ok 7 /utf8/truncate-middle 891s # End of utf8 tests 891s TAP version 14 891s # random seed: R02Sf9cfe2a83fe2571126b3d2ff9e5c6292 891s 1..2 891s # Start of gtask tests 891s # 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. 891s ok 1 /gtask/name 891s # Start of name tests 891s # 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. 891s ok 2 /gtask/name/macro-wrapper 891s # End of name tests 891s # End of gtask tests 891s TAP version 14 891s # random seed: R02S1f010ee58a5f2d05590aada9fb03b258 891s 1..24 891s # Start of gdbus tests 891s # Start of subscribe tests 891s # Start of conn tests 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/simple/.dirs/runtime 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 891s # Step 0: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 1: adding subscription 891s # Sender: (any) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 2: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 2 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 1 /gdbus/subscribe/conn/simple 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 891s # Step 0: adding subscription 891s # Sender: (any) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: service 2 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 3: emitting signal 891s # Sender: service 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 4: emitting signal 891s # Sender: service 2 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 1 891s # Signal received from service 2 :1.2 891s # Signal received from service 2 :1.2 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 2 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 3 891s # Signal received from service 2 :1.2 891s # Signal received from service 2 :1.2 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/match_twice/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 891s # Step 0: adding subscription 891s # Sender: service :1.1 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 1: adding subscription 891s # Sender: (any) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: (any) 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 2: adding subscription 891s # Sender: (any) 891s # Path: (any) 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 3: adding subscription 891s # Sender: service :1.1 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 4: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 3 /gdbus/subscribe/conn/match_twice 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 891s # Step 0: adding subscription 891s # Sender: service :1.1 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 3: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 3 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 891s # Step 0: adding subscription 891s # Sender: :0.this.had.better.not.exist 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /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 891s # Step 0: claiming bus name 891s # Name: org.gtk.Test.AlreadyOwned 891s # Owner: service 891s # Step 1: adding subscription 891s # Sender: org.gtk.Test.AlreadyOwned 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 2: adding subscription 891s # Sender: org.gtk.Test.OwnedLater 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 3: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 4: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 5: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 6: claiming bus name 891s # Name: org.gtk.Test.OwnedLater 891s # Owner: service 891s # Step 7: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 5 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 7 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 7 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 891s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 891s # Step 0: adding subscription 891s # Sender: org.freedesktop.DBus 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # String argument 0: would I lie to you? 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # Waiting for signal to reach message bus 891s # Step 3: claiming bus name 891s # Name: org.gtk.Test.OwnedLater 891s # Owner: service 891s # Signal received from message bus org.freedesktop.DBus 891s # Signal received from (unused) org.freedesktop.DBus via connection 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 891s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 891s # Step 0: claiming bus name 891s # Name: org.gtk.Test.AlreadyOwned 891s # Owner: service 891s # Step 1: adding subscription 891s # Sender: org.gtk.Test.AlreadyOwned 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Immediately unsubscribing 891s # Waiting for AddMatch to be processed 891s # Step 2: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 891s # End of conn tests 891s # Start of proxy tests 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/simple/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 891s # Step 0: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 1: adding subscription 891s # Sender: (any) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Cannot subscribe via proxy: no bus name 891s # Waiting for AddMatch to be processed 891s # Step 2: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 9 /gdbus/subscribe/proxy/simple 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 891s # Step 0: adding subscription 891s # Sender: (any) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Cannot subscribe via proxy: no bus name 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: service 2 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 3: emitting signal 891s # Sender: service 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 4: emitting signal 891s # Sender: service 2 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/match_twice/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 891s # Step 0: adding subscription 891s # Sender: service :1.1 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 1: adding subscription 891s # Sender: (any) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: (any) 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Cannot subscribe via proxy: no bus name 891s # Waiting for AddMatch to be processed 891s # Step 2: adding subscription 891s # Sender: (any) 891s # Path: (any) 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Cannot subscribe via proxy: no bus name 891s # Waiting for AddMatch to be processed 891s # Step 3: adding subscription 891s # Sender: service :1.1 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 4: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 11 /gdbus/subscribe/proxy/match_twice 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 891s # Step 0: adding subscription 891s # Sender: service :1.1 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 3: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 3 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 891s # Step 0: adding subscription 891s # Sender: :0.this.had.better.not.exist 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /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 891s # Step 0: claiming bus name 891s # Name: org.gtk.Test.AlreadyOwned 891s # Owner: service 891s # Step 1: adding subscription 891s # Sender: org.gtk.Test.AlreadyOwned 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 2: adding subscription 891s # Sender: org.gtk.Test.OwnedLater 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 3: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 4: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 5: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 6: claiming bus name 891s # Name: org.gtk.Test.OwnedLater 891s # Owner: service 891s # Step 7: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 5 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 7 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 7 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 891s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 891s # Step 0: adding subscription 891s # Sender: org.freedesktop.DBus 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # String argument 0: would I lie to you? 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # Waiting for signal to reach message bus 891s # Step 3: claiming bus name 891s # Name: org.gtk.Test.OwnedLater 891s # Owner: service 891s # Signal received from message bus org.freedesktop.DBus 891s # Signal received from (unused) org.freedesktop.DBus via proxy 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 891s # Step 0: claiming bus name 891s # Name: org.gtk.Test.AlreadyOwned 891s # Owner: service 891s # Step 1: adding subscription 891s # Sender: org.gtk.Test.AlreadyOwned 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 2: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 2 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 891s # End of proxy tests 891s # Start of parallel tests 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/simple/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 891s # Step 0: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 1: adding subscription 891s # Sender: (any) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Cannot subscribe via proxy: no bus name 891s # Waiting for AddMatch to be processed 891s # Step 2: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 2 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 17 /gdbus/subscribe/parallel/simple 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 891s # Step 0: adding subscription 891s # Sender: (any) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Cannot subscribe via proxy: no bus name 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: service 2 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 3: emitting signal 891s # Sender: service 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 4: emitting signal 891s # Sender: service 2 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 1 891s # Signal received from service 2 :1.2 891s # Signal received from service 2 :1.2 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 2 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 3 891s # Signal received from service 2 :1.2 891s # Signal received from service 2 :1.2 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/match_twice/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 891s # Step 0: adding subscription 891s # Sender: service :1.1 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 1: adding subscription 891s # Sender: (any) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: (any) 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Cannot subscribe via proxy: no bus name 891s # Waiting for AddMatch to be processed 891s # Step 2: adding subscription 891s # Sender: (any) 891s # Path: (any) 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Cannot subscribe via proxy: no bus name 891s # Waiting for AddMatch to be processed 891s # Step 3: adding subscription 891s # Sender: service :1.1 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 4: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 4 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 891s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 19 /gdbus/subscribe/parallel/match_twice 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 891s # Step 0: adding subscription 891s # Sender: service :1.1 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 3: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 3 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 3 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 891s # Step 0: adding subscription 891s # Sender: :0.this.had.better.not.exist 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /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 891s # Step 0: claiming bus name 891s # Name: org.gtk.Test.AlreadyOwned 891s # Owner: service 891s # Step 1: adding subscription 891s # Sender: org.gtk.Test.AlreadyOwned 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 2: adding subscription 891s # Sender: org.gtk.Test.OwnedLater 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 3: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 4: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 5: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Step 6: claiming bus name 891s # Name: org.gtk.Test.OwnedLater 891s # Owner: service 891s # Step 7: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 5 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 5 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 7 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 7 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via connection 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 7 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 7 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 891s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 891s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 891s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 891s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 891s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 891s # Step 0: adding subscription 891s # Sender: org.freedesktop.DBus 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 1: emitting signal 891s # Sender: attacker 891s # Destination: (broadcast) 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # String argument 0: would I lie to you? 891s # Waiting for signal to reach message bus 891s # Step 2: emitting signal 891s # Sender: attacker 891s # Destination: subscriber :1.0 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # Waiting for signal to reach message bus 891s # Step 3: claiming bus name 891s # Name: org.gtk.Test.OwnedLater 891s # Owner: service 891s # Signal received from message bus org.freedesktop.DBus 891s # Signal received from (unused) org.freedesktop.DBus via connection 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # Signal received from message bus org.freedesktop.DBus 891s # Signal received from (unused) org.freedesktop.DBus via proxy 891s # Path: /org/freedesktop/DBus 891s # Interface: org.freedesktop.DBus 891s # Member: NameOwnerChanged 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 891s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 891s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX4J02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 891s # subscriber is :1.0 891s # service is :1.1 891s # service 2 is :1.2 891s # attacker is :1.3 891s # Waiting for AddMatch to be processed 891s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 891s # Step 0: claiming bus name 891s # Name: org.gtk.Test.AlreadyOwned 891s # Owner: service 891s # Step 1: adding subscription 891s # Sender: org.gtk.Test.AlreadyOwned 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: (any) 891s # String argument 0: (any) 891s # Flags: 0 891s # Subscribing via connection 891s # Immediately unsubscribing 891s # Subscribing via proxy 891s # Waiting for AddMatch to be processed 891s # Step 2: emitting signal 891s # Sender: service 891s # Destination: (broadcast) 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Waiting for signal to reach message bus 891s # Signal received from service :1.1 891s # Signal received from service :1.1 via proxy 891s # Path: /org/gtk/GDBus/ExampleInterface 891s # Interface: org.gtk.GDBus.ExampleInterface 891s # Member: Foo 891s # Argument 0: (not a string) 891s # Sent in step: 2 891s # Received Finished signal from subscriber :1.0 891s # Received Finished signal from service :1.1 891s # Received Finished signal from service 2 :1.2 891s # Received Finished signal from attacker :1.3 891s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 891s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 891s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 891s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 891s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 891s # End of parallel tests 891s # End of subscribe tests 891s # End of gdbus tests 891s ok - glib/gdbus-subscribe.test 891s # Running test: glib/bookmarkfile.test 891s TAP version 14 891s # random seed: R02S44f83552f091fe3068c0edc22fabe712 891s 1..96 891s # Start of bookmarks tests 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/load-from-data-dirs/.dirs/runtime 891s ok 1 /bookmarks/load-from-data-dirs 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/to-file/.dirs/runtime 891s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_E9RM02/bookmarkfile-test-BLTM02.xbel 891s # Roundtrip from a valid bookmark file 891s ok 2 /bookmarks/to-file 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/move-item/.dirs/runtime 891s ok 3 /bookmarks/move-item 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/corner-cases/.dirs/runtime 891s ok 4 /bookmarks/corner-cases 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/misc/.dirs/runtime 891s ok 5 /bookmarks/misc 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/deprecated/.dirs/runtime 891s ok 6 /bookmarks/deprecated 891s # Start of parse tests 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-02.xbel/.dirs/runtime 891s ok 7 /bookmarks/parse/fail-02.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-06.xbel/.dirs/runtime 891s ok 8 /bookmarks/parse/fail-06.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-10.xbel/.dirs/runtime 891s ok 9 /bookmarks/parse/fail-10.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-01.xbel/.dirs/runtime 891s ok 10 /bookmarks/parse/fail-01.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-13.xbel/.dirs/runtime 891s ok 11 /bookmarks/parse/fail-13.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-01.xbel/.dirs/runtime 891s ok 12 /bookmarks/parse/valid-01.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-02.xbel/.dirs/runtime 891s ok 13 /bookmarks/parse/valid-02.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-07.xbel/.dirs/runtime 891s ok 14 /bookmarks/parse/fail-07.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-40.xbel/.dirs/runtime 891s ok 15 /bookmarks/parse/fail-40.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-09.xbel/.dirs/runtime 891s ok 16 /bookmarks/parse/fail-09.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-27.xbel/.dirs/runtime 891s ok 17 /bookmarks/parse/fail-27.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-32.xbel/.dirs/runtime 891s ok 18 /bookmarks/parse/fail-32.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-05.xbel/.dirs/runtime 891s ok 19 /bookmarks/parse/fail-05.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-15.xbel/.dirs/runtime 891s ok 20 /bookmarks/parse/fail-15.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-25.xbel/.dirs/runtime 891s ok 21 /bookmarks/parse/fail-25.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-41.xbel/.dirs/runtime 891s ok 22 /bookmarks/parse/fail-41.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-36.xbel/.dirs/runtime 891s ok 23 /bookmarks/parse/fail-36.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-17.xbel/.dirs/runtime 891s ok 24 /bookmarks/parse/fail-17.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-31.xbel/.dirs/runtime 891s ok 25 /bookmarks/parse/fail-31.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-24.xbel/.dirs/runtime 891s ok 26 /bookmarks/parse/fail-24.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-03.xbel/.dirs/runtime 891s ok 27 /bookmarks/parse/fail-03.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-29.xbel/.dirs/runtime 891s ok 28 /bookmarks/parse/fail-29.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-39.xbel/.dirs/runtime 891s ok 29 /bookmarks/parse/fail-39.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-04.xbel/.dirs/runtime 891s ok 30 /bookmarks/parse/fail-04.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-34.xbel/.dirs/runtime 891s ok 31 /bookmarks/parse/fail-34.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-12.xbel/.dirs/runtime 891s ok 32 /bookmarks/parse/fail-12.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/valid-03.xbel/.dirs/runtime 891s ok 33 /bookmarks/parse/valid-03.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-26.xbel/.dirs/runtime 891s ok 34 /bookmarks/parse/fail-26.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-08.xbel/.dirs/runtime 891s ok 35 /bookmarks/parse/fail-08.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-14.xbel/.dirs/runtime 891s ok 36 /bookmarks/parse/fail-14.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-42.xbel/.dirs/runtime 891s ok 37 /bookmarks/parse/fail-42.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-16.xbel/.dirs/runtime 891s ok 38 /bookmarks/parse/fail-16.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-38.xbel/.dirs/runtime 891s ok 39 /bookmarks/parse/fail-38.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-33.xbel/.dirs/runtime 891s ok 40 /bookmarks/parse/fail-33.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-30.xbel/.dirs/runtime 891s ok 41 /bookmarks/parse/fail-30.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-23.xbel/.dirs/runtime 891s ok 42 /bookmarks/parse/fail-23.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-22.xbel/.dirs/runtime 891s ok 43 /bookmarks/parse/fail-22.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-35.xbel/.dirs/runtime 891s ok 44 /bookmarks/parse/fail-35.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-28.xbel/.dirs/runtime 891s ok 45 /bookmarks/parse/fail-28.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-20.xbel/.dirs/runtime 891s ok 46 /bookmarks/parse/fail-20.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-37.xbel/.dirs/runtime 891s ok 47 /bookmarks/parse/fail-37.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-18.xbel/.dirs/runtime 891s ok 48 /bookmarks/parse/fail-18.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-19.xbel/.dirs/runtime 891s ok 49 /bookmarks/parse/fail-19.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-21.xbel/.dirs/runtime 891s ok 50 /bookmarks/parse/fail-21.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/parse/fail-11.xbel/.dirs/runtime 891s ok 51 /bookmarks/parse/fail-11.xbel 891s # End of parse tests 891s # Start of copy tests 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-02.xbel/.dirs/runtime 891s ok 52 /bookmarks/copy/fail-02.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-06.xbel/.dirs/runtime 891s ok 53 /bookmarks/copy/fail-06.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-10.xbel/.dirs/runtime 891s ok 54 /bookmarks/copy/fail-10.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-01.xbel/.dirs/runtime 891s ok 55 /bookmarks/copy/fail-01.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-13.xbel/.dirs/runtime 891s ok 56 /bookmarks/copy/fail-13.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-01.xbel/.dirs/runtime 891s ok 57 /bookmarks/copy/valid-01.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-02.xbel/.dirs/runtime 891s ok 58 /bookmarks/copy/valid-02.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-07.xbel/.dirs/runtime 891s ok 59 /bookmarks/copy/fail-07.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-40.xbel/.dirs/runtime 891s ok 60 /bookmarks/copy/fail-40.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-09.xbel/.dirs/runtime 891s ok 61 /bookmarks/copy/fail-09.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-27.xbel/.dirs/runtime 891s ok 62 /bookmarks/copy/fail-27.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-32.xbel/.dirs/runtime 891s ok 63 /bookmarks/copy/fail-32.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-05.xbel/.dirs/runtime 891s ok 64 /bookmarks/copy/fail-05.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-15.xbel/.dirs/runtime 891s ok 65 /bookmarks/copy/fail-15.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-25.xbel/.dirs/runtime 891s ok 66 /bookmarks/copy/fail-25.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-41.xbel/.dirs/runtime 891s ok 67 /bookmarks/copy/fail-41.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-36.xbel/.dirs/runtime 891s ok 68 /bookmarks/copy/fail-36.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-17.xbel/.dirs/runtime 891s ok 69 /bookmarks/copy/fail-17.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-31.xbel/.dirs/runtime 891s ok 70 /bookmarks/copy/fail-31.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-24.xbel/.dirs/runtime 891s ok 71 /bookmarks/copy/fail-24.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-03.xbel/.dirs/runtime 891s ok 72 /bookmarks/copy/fail-03.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-29.xbel/.dirs/runtime 891s ok 73 /bookmarks/copy/fail-29.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-39.xbel/.dirs/runtime 891s ok 74 /bookmarks/copy/fail-39.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-04.xbel/.dirs/runtime 891s ok 75 /bookmarks/copy/fail-04.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-34.xbel/.dirs/runtime 891s ok 76 /bookmarks/copy/fail-34.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-12.xbel/.dirs/runtime 891s ok 77 /bookmarks/copy/fail-12.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/valid-03.xbel/.dirs/runtime 891s ok 78 /bookmarks/copy/valid-03.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-26.xbel/.dirs/runtime 891s ok 79 /bookmarks/copy/fail-26.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-08.xbel/.dirs/runtime 891s ok 80 /bookmarks/copy/fail-08.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-14.xbel/.dirs/runtime 891s ok 81 /bookmarks/copy/fail-14.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-42.xbel/.dirs/runtime 891s ok 82 /bookmarks/copy/fail-42.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-16.xbel/.dirs/runtime 891s ok 83 /bookmarks/copy/fail-16.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-38.xbel/.dirs/runtime 891s ok 84 /bookmarks/copy/fail-38.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-33.xbel/.dirs/runtime 891s ok 85 /bookmarks/copy/fail-33.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-30.xbel/.dirs/runtime 891s ok 86 /bookmarks/copy/fail-30.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-23.xbel/.dirs/runtime 891s ok 87 /bookmarks/copy/fail-23.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-22.xbel/.dirs/runtime 891s ok 88 /bookmarks/copy/fail-22.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-35.xbel/.dirs/runtime 891s ok 89 /bookmarks/copy/fail-35.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-28.xbel/.dirs/runtime 891s ok 90 /bookmarks/copy/fail-28.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-20.xbel/.dirs/runtime 891s ok 91 /bookmarks/copy/fail-20.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-37.xbel/.dirs/runtime 891s ok 92 /bookmarks/copy/fail-37.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-18.xbel/.dirs/runtime 891s ok 93 /bookmarks/copy/fail-18.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-19.xbel/.dirs/runtime 891s ok 94 /bookmarks/copy/fail-19.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/state 891s ok - glib/bookmarkfile.test 891s # Running test: glib/convert.test 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-21.xbel/.dirs/runtime 891s ok 95 /bookmarks/copy/fail-21.xbel 891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/home 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/cache 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/system-config2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/config 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/system-data2 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/data 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/state 891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_E9RM02/bookmarks/copy/fail-11.xbel/.dirs/runtime 891s ok 96 /bookmarks/copy/fail-11.xbel 891s # End of copy tests 891s # End of bookmarks tests 891s TAP version 14 891s # random seed: R02S5749e4c099551cd27fda95c0332a9c94 891s 1..14 891s # Start of conversion tests 891s ok 1 /conversion/no-conv 891s ok 2 /conversion/iconv-state 891s ok 3 /conversion/illegal-sequence 891s ok 4 /conversion/byte-order 891s ok 5 /conversion/unicode 891s ok 6 /conversion/filename-utf8 891s ok 7 /conversion/filename-display 891s ok 8 /conversion/convert-embedded-nul 891s # Start of locale-to-utf8 tests 891s ok 9 /conversion/locale-to-utf8/embedded-nul 891s # Start of embedded-nul tests 891s # Start of subprocess tests 891s # End of subprocess tests 891s # End of embedded-nul tests 891s # End of locale-to-utf8 tests 891s # Start of locale-from-utf8 tests 891s ok 10 /conversion/locale-from-utf8/embedded-nul 891s # Start of embedded-nul tests 891s # Start of subprocess tests 891s # End of subprocess tests 891s # End of embedded-nul tests 891s # End of locale-from-utf8 tests 891s # Start of filename-to-utf8 tests 891s ok 11 /conversion/filename-to-utf8/embedded-nul 891s # Start of embedded-nul tests 891s # Start of subprocess tests 891s # End of subprocess tests 891s # End of embedded-nul tests 891s # End of filename-to-utf8 tests 891s # Start of filename-from-utf8 tests 891s ok 12 /conversion/filename-from-utf8/embedded-nul 891s # Start of embedded-nul tests 891s # Start of subprocess tests 891s # End of subprocess tests 891s # End of embedded-nul tests 891s # End of filename-from-utf8 tests 891s # Start of filename-from-uri tests 891s ok 13 /conversion/filename-from-uri/query-is-ignored 891s ok 14 /conversion/filename-from-uri/fragment-is-ignored 891s # End of filename-from-uri tests 891s # End of conversion tests 891s ok - glib/convert.test 891s # Running test: glib/gmenumodel.test 891s TAP version 14 891s # random seed: R02Sab3cdda14590d640e67a0844505afbdb 891s 1..15 891s # Start of gmenu tests 893s # Executing: glib/gmenumodel.test 893s ok 1 /gmenu/equality 893s # slow test /gmenu/equality executed in 2.12 secs 895s ok 2 /gmenu/random 895s # slow test /gmenu/random executed in 2.22 secs 895s ok 3 /gmenu/attributes 895s ok 4 /gmenu/links 895s ok 5 /gmenu/mutable 895s ok 6 /gmenu/convenience 895s ok 7 /gmenu/menuitem 895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s ok 8 /gmenu/input-validation 896s # Start of dbus tests 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s ok 9 /gmenu/dbus/roundtrip 897s # slow test /gmenu/dbus/roundtrip executed in 1.14 secs 897s ok 10 /gmenu/dbus/subscriptions 898s # Executing: glib/gmenumodel.test 899s ok 11 /gmenu/dbus/threaded 899s # slow test /gmenu/dbus/threaded executed in 1.83 secs 899s # Start of peer tests 900s ok 12 /gmenu/dbus/peer/roundtrip 900s # slow test /gmenu/dbus/peer/roundtrip executed in 1.05 secs 900s ok 13 /gmenu/dbus/peer/subscriptions 900s # End of peer tests 900s # Start of export tests 900s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 900s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s ok 14 /gmenu/dbus/export/error-handling 900s # End of export tests 900s # End of dbus tests 900s # Start of attributes tests 900s ok 15 /gmenu/attributes/iterate 900s # End of attributes tests 900s # End of gmenu tests 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 900s ok - glib/gmenumodel.test 900s # Running test: glib/slice.test 900s TAP version 14 900s # random seed: R02Sed40bf067d73379f317fa336c2883b65 900s 1..3 900s # Start of slice tests 900s ok 1 /slice/copy 900s ok 2 /slice/chain 901s ok - glib/slice.test 901s ok 3 /slice/allocate 901s # End of slice tests 901s # Running test: glib/thread-pool.test 901s TAP version 14 901s # random seed: R02S425cd6c673a3b2678b54bbfea9f3c0ab 901s 1..5 901s # Start of thread_pool tests 901s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 901s ok 1 /thread_pool/shared 901s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 901s ok 2 /thread_pool/exclusive 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 901s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 901s ok 3 /thread_pool/create_shared_after_exclusive 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 901s ok 4 /thread_pool/create_full 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 901s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 901s ok 5 /thread_pool/create_exclusive_after_shared 901s # End of thread_pool tests 901s ok - glib/thread-pool.test 901s # Running test: glib/threadtests.test 901s TAP version 14 901s # random seed: R02S55556ba59f45d180967be44a43d96aaf 901s 1..5 901s # Start of GObject tests 901s ok 1 /GObject/threaded-object-init 902s ok 2 /GObject/threaded-weak-ref 902s # slow test /GObject/threaded-weak-ref executed in 1.14 secs 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 902s # /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 902s ok - glib/threadtests.test 902s # Running test: glib/rec-mutex.test 902s ok 3 /GObject/threaded-toggle-notify 902s # slow test /GObject/threaded-toggle-notify executed in 0.51 secs 902s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 902s # Start of threaded-weak-ref tests 902s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 902s # /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. 902s ok 5 /GObject/threaded-weak-ref/on-finalization 902s # End of threaded-weak-ref tests 902s # End of GObject tests 902s TAP version 14 902s # random seed: R02S9df814b6bb2e86685d7e5883af326c9d 902s 1..29 902s # Start of thread tests 902s ok 1 /thread/rec-mutex1 902s ok 2 /thread/rec-mutex2 902s ok 3 /thread/rec-mutex3 903s ok 4 /thread/rec-mutex4 903s # Start of rec-mutex tests 903s # Start of perf tests 903s # Start of uncontended tests 903s # max perf: 1.000000 mips 903s ok 5 /thread/rec-mutex/perf/uncontended/depth1 903s # max perf: 1.000000 mips 903s ok 6 /thread/rec-mutex/perf/uncontended/depth2 903s # max perf: inf mips 903s ok 7 /thread/rec-mutex/perf/uncontended/depth3 903s # max perf: 1.000000 mips 903s ok 8 /thread/rec-mutex/perf/uncontended/depth4 903s # max perf: inf mips 903s ok 9 /thread/rec-mutex/perf/uncontended/depth5 903s # End of uncontended tests 903s # Start of contended1 tests 903s # max perf: 2.000000 mips 903s ok 10 /thread/rec-mutex/perf/contended1/depth1 903s # max perf: 2.000000 mips 903s ok 11 /thread/rec-mutex/perf/contended1/depth2 903s # max perf: 2.000000 mips 903s ok 12 /thread/rec-mutex/perf/contended1/depth3 903s # max perf: 2.000000 mips 903s ok 13 /thread/rec-mutex/perf/contended1/depth4 903s # max perf: 2.000000 mips 903s ok 14 /thread/rec-mutex/perf/contended1/depth5 903s # End of contended1 tests 903s # Start of contended2 tests 903s # max perf: inf mips 903s ok 15 /thread/rec-mutex/perf/contended2/depth1 903s # max perf: inf mips 903s ok 16 /thread/rec-mutex/perf/contended2/depth2 903s # max perf: inf mips 903s ok 17 /thread/rec-mutex/perf/contended2/depth3 903s # max perf: 3.000000 mips 903s ok 18 /thread/rec-mutex/perf/contended2/depth4 903s # max perf: 3.000000 mips 903s ok 19 /thread/rec-mutex/perf/contended2/depth5 903s # End of contended2 tests 903s # Start of contended3 tests 903s # max perf: 4.000000 mips 903s ok 20 /thread/rec-mutex/perf/contended3/depth1 903s # max perf: 4.000000 mips 903s ok 21 /thread/rec-mutex/perf/contended3/depth2 903s # max perf: 4.000000 mips 903s ok 22 /thread/rec-mutex/perf/contended3/depth3 903s ok - glib/rec-mutex.test 903s # Running test: glib/spawn-test.test 903s ok - glib/spawn-test.test 903s # Running test: glib/gdbus-exit-on-close.test 903s # max perf: 2.000000 mips 903s ok 23 /thread/rec-mutex/perf/contended3/depth4 903s # max perf: 4.000000 mips 903s ok 24 /thread/rec-mutex/perf/contended3/depth5 903s # End of contended3 tests 903s # Start of contended4 tests 903s # max perf: 2.500000 mips 903s ok 25 /thread/rec-mutex/perf/contended4/depth1 903s # max perf: 1.250000 mips 903s ok 26 /thread/rec-mutex/perf/contended4/depth2 903s # max perf: 1.000000 mips 903s ok 27 /thread/rec-mutex/perf/contended4/depth3 903s # max perf: 5.000000 mips 903s ok 28 /thread/rec-mutex/perf/contended4/depth4 903s # max perf: 2.500000 mips 903s ok 29 /thread/rec-mutex/perf/contended4/depth5 903s # End of contended4 tests 903s # End of perf tests 903s # End of rec-mutex tests 903s # End of thread tests 903s TAP version 14 903s # random seed: R02S968e35f084faf728ee432c28998e24af 903s 1..2 903s # Start of spawn tests 903s ok 1 /spawn/basics 903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 903s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 903s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 903s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 903s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 903s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 903s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 903s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 903s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 903s # Fetching GSpawn result output with stdin open, stdout open, stderr open 903s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 903s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 903s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 903s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 903s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 903s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 903s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 903s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 903s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 903s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 903s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 903s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 903s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 903s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 903s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 903s # Fetching GSpawn result with stdin open, stdout open, stderr open 903s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 903s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 903s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 903s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 903s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 903s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 903s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 903s ok 2 /spawn/stdio-overwrite 903s # End of spawn tests 903s TAP version 14 903s # random seed: R02S2bc79d12f8d9e781e11d1fbb264b1cc9 903s 1..4 903s # Start of gdbus tests 903s # Start of exit-on-close tests 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/default/.dirs/runtime 903s ok 1 /gdbus/exit-on-close/default 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/true/.dirs/runtime 903s ok 2 /gdbus/exit-on-close/true 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/false/.dirs/runtime 903s ok 3 /gdbus/exit-on-close/false 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6ADJ02/gdbus/exit-on-close/we-close/.dirs/runtime 903s # Executing: glib/gdbus-exit-on-close.test 903s ok 4 /gdbus/exit-on-close/we-close 903s # Start of default tests 903s # End of default tests 903s # Start of true tests 903s # End of true tests 903s # Start of false tests 903s # End of false tests 903s # Start of we-close tests 903s # End of we-close tests 903s # End of exit-on-close tests 903s # End of gdbus tests 903s TAP version 14 903s # random seed: R02S7052334333d6f3bb9c61d884371fcd16 903s 1..1 903s # Start of portal-support tests 903s # Start of flatpak tests 903s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/home 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/cache 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/system-config2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/config 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/system-data2 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/data 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/state 903s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/runtime 903s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_N5WP02/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 903s ok 1 /portal-support/flatpak/network 903s # End of flatpak tests 903s # End of portal-support tests 903s TAP version 14 903s # random seed: R02S0be3b2e8cb61adae498640e04020b832 903s 1..7 903s # Start of threadpool tests 903s ok 1 /threadpool/functions 903s ok - glib/gdbus-exit-on-close.test 903s # Running test: glib/portal-support-flatpak-network-only.test 903s ok - glib/portal-support-flatpak-network-only.test 903s # Running test: glib/thread-pool-slow.test 903s ok 2 /threadpool/stop-unused 903s # slow test /threadpool/stop-unused executed in 0.52 secs 904s ok 3 /threadpool/pools 904s # [unsorted] ===> pushed new thread with id:6, number of threads:1, unprocessed:1 904s # [unsorted] ===> pushed new thread with id:45, number of threads:2, unprocessed:1 904s # [unsorted] ===> pushed new thread with id:72, number of threads:3, unprocessed:2 904s # [unsorted] ===> pushed new thread with id:70, number of threads:4, unprocessed:2 904s # [unsorted] ===> pushed new thread with id:98, number of threads:5, unprocessed:2 904s # [unsorted] ===> pushed new thread with id:43, number of threads:6, unprocessed:3 904s # [unsorted] ===> pushed new thread with id:54, number of threads:7, unprocessed:3 904s # [unsorted] ===> pushed new thread with id:9, number of threads:8, unprocessed:4 904s # [unsorted] ===> pushed new thread with id:85, number of threads:9, unprocessed:5 904s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:6 904s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:7 904s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:8 904s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:9 904s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:10 904s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:11 904s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:12 904s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:13 904s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:14 904s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:15 904s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:16 904s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:17 904s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:18 904s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:19 904s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:20 904s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:20 904s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:21 904s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:22 904s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:23 904s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:24 904s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:25 904s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:26 904s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:27 904s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:28 904s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:29 904s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:30 904s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:31 904s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:32 904s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:33 904s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:34 904s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:35 904s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:36 904s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:37 904s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:38 904s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:39 904s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:40 904s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:41 904s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:42 904s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:43 904s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:44 904s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:45 904s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:46 904s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:47 904s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:48 904s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:49 904s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:50 904s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:51 904s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:52 904s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:53 904s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:54 904s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:55 904s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:56 904s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:57 904s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:58 904s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:59 904s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:60 904s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:61 904s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:62 904s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:63 904s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:64 904s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:65 904s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:66 904s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:67 904s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:68 904s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:69 904s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:70 904s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:71 904s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:72 904s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:73 904s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:73 904s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:74 904s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:75 904s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:76 904s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:77 904s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:78 904s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:79 904s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:80 904s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:81 904s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:82 904s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:83 904s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:84 904s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:85 904s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:86 904s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:87 904s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:88 904s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:89 904s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:90 904s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:91 904s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:92 904s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:93 904s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:94 904s ok 4 /threadpool/no-sort 904s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:1 904s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:2 904s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:3 904s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:4 904s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:5 904s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:6 904s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:7 904s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:8 904s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:9 904s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:10 904s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:11 904s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:12 904s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:13 904s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:14 904s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:15 904s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:16 904s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:17 904s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:18 904s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:19 904s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:20 904s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:21 904s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:22 904s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:23 904s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:24 904s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:25 904s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:26 904s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:27 904s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:28 904s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:29 904s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:30 904s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:31 904s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:32 904s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:33 904s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:34 904s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:35 904s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:36 904s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:37 904s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:38 904s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:39 904s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:40 904s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:41 904s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:42 904s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:43 904s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:44 904s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:45 904s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:46 904s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:47 904s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:48 904s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:49 904s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:50 904s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:51 904s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:52 904s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:53 904s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:54 904s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:55 904s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:56 904s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:57 904s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:58 904s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:59 904s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:60 904s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:61 904s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:62 904s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:63 904s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:64 904s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:65 904s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:66 904s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:67 904s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:68 904s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:69 904s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:70 904s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:71 904s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:72 904s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:73 904s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:74 904s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:75 904s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:76 904s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:77 904s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:78 904s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:79 904s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:80 904s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:81 904s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:82 904s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:83 904s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:84 904s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:85 904s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:86 904s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:87 904s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:88 904s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:89 904s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:90 904s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:91 904s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:92 904s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:93 904s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:94 904s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:95 904s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:96 904s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:97 904s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:98 904s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:99 904s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:100 904s # Starting thread pool processing 904s ok 5 /threadpool/sort 904s ok 6 /threadpool/stop-unused-multiple 904s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 904s # Pool idle thread count: 0, unprocessed jobs: 47 905s # Pool idle thread count: 0, unprocessed jobs: 0 905s # Pool idle thread count: 0, unprocessed jobs: 0 905s # Pool idle thread count: 10, unprocessed jobs: 0 905s # Pool idle thread count: 10, unprocessed jobs: 0 906s # Pool idle thread count: 10, unprocessed jobs: 0 906s # Pool idle thread count: 10, unprocessed jobs: 0 906s # Pool idle thread count: 10, unprocessed jobs: 0 906s # Pool idle thread count: 10, unprocessed jobs: 0 907s # Pool idle thread count: 10, unprocessed jobs: 0 907s # Pool idle thread count: 10, unprocessed jobs: 0 907s # Pool idle thread count: 10, unprocessed jobs: 0 907s # Pool idle thread count: 10, unprocessed jobs: 0 908s # Pool idle thread count: 10, unprocessed jobs: 0 908s # Pool idle thread count: 10, unprocessed jobs: 0 908s # Executing: glib/thread-pool-slow.test 908s # Pool idle thread count: 10, unprocessed jobs: 0 908s # Pool idle thread count: 10, unprocessed jobs: 0 909s # Pool idle thread count: 10, unprocessed jobs: 0 909s # Pool idle thread count: 10, unprocessed jobs: 0 909s # Pool idle thread count: 10, unprocessed jobs: 0 909s # Pool idle thread count: 10, unprocessed jobs: 0 910s # Pool idle thread count: 10, unprocessed jobs: 0 910s # Pool idle thread count: 10, unprocessed jobs: 0 910s # Pool idle thread count: 10, unprocessed jobs: 0 910s # Pool idle thread count: 10, unprocessed jobs: 0 911s # Pool idle thread count: 10, unprocessed jobs: 0 911s # Pool idle thread count: 10, unprocessed jobs: 0 911s # Pool idle thread count: 10, unprocessed jobs: 0 911s # Pool idle thread count: 10, unprocessed jobs: 0 912s # Pool idle thread count: 10, unprocessed jobs: 0 912s # Pool idle thread count: 10, unprocessed jobs: 0 912s # Pool idle thread count: 10, unprocessed jobs: 0 912s # Pool idle thread count: 10, unprocessed jobs: 0 913s # Pool idle thread count: 10, unprocessed jobs: 0 913s # Pool idle thread count: 10, unprocessed jobs: 0 913s # Executing: glib/thread-pool-slow.test 913s # Pool idle thread count: 10, unprocessed jobs: 2 913s # Pool idle thread count: 10, unprocessed jobs: 2 913s # Pool idle thread count: 8, unprocessed jobs: 0 913s # Pool idle thread count: 8, unprocessed jobs: 0 914s # Pool idle thread count: 10, unprocessed jobs: 0 914s # Pool idle thread count: 10, unprocessed jobs: 0 914s # Pool idle thread count: 10, unprocessed jobs: 0 914s # Pool idle thread count: 10, unprocessed jobs: 0 915s # Pool idle thread count: 10, unprocessed jobs: 0 915s # Pool idle thread count: 10, unprocessed jobs: 0 915s # Pool idle thread count: 2, unprocessed jobs: 0 915s # Pool idle thread count: 2, unprocessed jobs: 0 916s # Pool idle thread count: 2, unprocessed jobs: 0 916s # Pool idle thread count: 2, unprocessed jobs: 0 916s # Pool idle thread count: 2, unprocessed jobs: 0 916s # Pool idle thread count: 2, unprocessed jobs: 0 917s # Pool idle thread count: 2, unprocessed jobs: 0 917s # Pool idle thread count: 2, unprocessed jobs: 0 917s # Pool idle thread count: 2, unprocessed jobs: 0 917s # Pool idle thread count: 2, unprocessed jobs: 0 918s # Pool idle thread count: 2, unprocessed jobs: 0 918s # Pool idle thread count: 2, unprocessed jobs: 0 918s # Executing: glib/thread-pool-slow.test 918s # Pool idle thread count: 2, unprocessed jobs: 0 918s # Pool idle thread count: 2, unprocessed jobs: 0 919s # Pool idle thread count: 2, unprocessed jobs: 0 919s # Pool idle thread count: 2, unprocessed jobs: 0 919s # Pool idle thread count: 2, unprocessed jobs: 0 919s # Pool idle thread count: 2, unprocessed jobs: 0 920s # Pool idle thread count: 2, unprocessed jobs: 0 920s # Pool idle thread count: 2, unprocessed jobs: 0 920s # Pool idle thread count: 2, unprocessed jobs: 0 920s # Pool idle thread count: 2, unprocessed jobs: 0 921s # Pool idle thread count: 2, unprocessed jobs: 0 921s # Pool idle thread count: 2, unprocessed jobs: 0 921s # Pool idle thread count: 2, unprocessed jobs: 0 921s # Pool idle thread count: 2, unprocessed jobs: 0 922s # Pool idle thread count: 2, unprocessed jobs: 0 922s # Pool idle thread count: 2, unprocessed jobs: 0 922s # Pool idle thread count: 2, unprocessed jobs: 0 922s # Pool idle thread count: 2, unprocessed jobs: 0 923s # Pool idle thread count: 2, unprocessed jobs: 0 923s # Pool idle thread count: 2, unprocessed jobs: 0 923s # Executing: glib/thread-pool-slow.test 923s # Pool idle thread count: 2, unprocessed jobs: 0 923s # Pool idle thread count: 2, unprocessed jobs: 0 924s ok 7 /threadpool/idle-time 924s # slow test /threadpool/idle-time executed in 19.54 secs 924s # End of threadpool tests 924s ok - glib/thread-pool-slow.test 924s # Running test: glib/signals-refcount1.test 924s TAP version 14 924s # random seed: R02Sd4bb071095769635eebf6bd694783fba 924s 1..1 924s # Start of gobject tests 924s # Start of refcount tests 924s # init 0x11f0d9c9f420 924s # 924s # init 0x11f0d9c9f5c0 924s # 928s # Executing: glib/signals-refcount1.test 929s # dispose 0x11f0d9c9f420! 929s # 929s # dispose 0x11f0d9c9f5c0! 929s # 929s ok 1 /gobject/refcount/signals 929s # slow test /gobject/refcount/signals executed in 5.00 secs 929s # End of refcount tests 929s # End of gobject tests 929s ok - glib/signals-refcount1.test 929s # Running test: glib/gdbus-peer.test 929s TAP version 14 929s # random seed: R02Sf2da9414e11aad4f2855649bedb45ad8 929s 1..12 929s # Start of gdbus tests 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/.dirs/runtime 929s # Testing with unix:dir address 929s # Testing with unix:tmpdir address 929s # Testing with unix:path address 929s ok 1 /gdbus/peer-to-peer 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/delayed-message-processing/.dirs/runtime 929s # Testing with unix:dir address 929s ok 2 /gdbus/delayed-message-processing 929s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/nonce-tcp/.dirs/runtime 929s ok 3 /gdbus/nonce-tcp 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/tcp-anonymous/.dirs/runtime 929s ok 4 /gdbus/tcp-anonymous 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/credentials/.dirs/runtime 929s ok 5 /gdbus/credentials 929s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/home 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/cache 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/system-config2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/config 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/system-data2 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/data 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/state 929s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/codegen-peer-to-peer/.dirs/runtime 929s # Testing with unix:dir address 929s # Machine ID: 823aa506d6db49dd83722d4eecab2a13 930s ok 6 /gdbus/codegen-peer-to-peer 930s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 930s # Start of peer-to-peer tests 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/signals/.dirs/runtime 930s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 930s # Testing with unix:dir address 930s ok 7 /gdbus/peer-to-peer/signals 930s # Start of invalid tests 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/server/.dirs/runtime 930s ok 8 /gdbus/peer-to-peer/invalid/server 930s # Start of conn tests 930s # Start of stream tests 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 930s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 930s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 930s # End of stream tests 930s # Start of addr tests 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 930s ok - glib/gdbus-peer.test 930s # Running test: glib/utils.test 930s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_MBEK02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 930s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 930s # End of addr tests 930s # End of conn tests 930s # End of invalid tests 930s # End of peer-to-peer tests 930s # End of gdbus tests 930s TAP version 14 930s # random seed: R02Sd4debd7d3bd7ea107bc07510d2ec8052 930s 1..40 930s # Start of utils tests 930s ok 1 /utils/language-names 930s ok 2 /utils/locale-variants 930s ok 3 /utils/version 930s ok 4 /utils/appname 930s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 930s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 930s ok 5 /utils/prgname-thread-safety 930s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 930s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 930s ok 6 /utils/tmpdir 930s ok 7 /utils/basic_bits 930s ok 8 /utils/bits 930s ok 9 /utils/swap 930s ok 10 /utils/find-program 930s ok 11 /utils/find-program-for-path 930s ok 12 /utils/debug 930s ok 13 /utils/codeset 930s ok 14 /utils/codeset2 930s ok 15 /utils/console-charset 930s ok 16 /utils/gettext 930s ok 17 /utils/username 930s ok 18 /utils/realname 930s ok 19 /utils/hostname 930s ok 20 /utils/xdgdirs 930s ok 21 /utils/specialdir 930s # NAME: Ubuntu 930s ok 22 /utils/os-info 930s ok 23 /utils/clear-pointer 930s ok 24 /utils/clear-pointer-cast 930s ok 25 /utils/take-pointer 930s ok 26 /utils/clear-source 930s ok 27 /utils/misc-mem 930s # /utils/aligned-mem summary: Aligned memory allocator 930s # Alignment must not be zero 930s # Alignment must be a power of two 930s # Alignment must be a multiple of sizeof(void*) 930s ok 28 /utils/aligned-mem 930s # /utils/free-sized summary: Check that g_free_sized() works 930s ok 29 /utils/free-sized 930s ok 30 /utils/nullify 930s ok - glib/utils.test 930s ok 31 /utils/atexit 930s ok 32 /utils/check-setuid 930s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 930s ok 33 /utils/int-limits 930s ok 34 /utils/clear-list 930s ok 35 /utils/clear-slist 930s # Start of specialdir tests 930s ok 36 /utils/specialdir/desktop 930s # End of specialdir tests 930s # Start of clear-pointer tests 930s ok 37 /utils/clear-pointer/side-effects 930s # End of clear-pointer tests 930s # Start of aligned-mem tests 930s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 930s ok 38 /utils/aligned-mem/alignment 930s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 930s ok 39 /utils/aligned-mem/zeroed 930s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 930s ok 40 /utils/aligned-mem/free-sized 930s # Start of subprocess tests 930s # End of subprocess tests 930s # End of aligned-mem tests 930s # End of utils tests 930s # Running test: glib/gdbus-connection-loss.test 930s TAP version 14 930s # random seed: R02S0fe731a52a4618e12179d8d6e3ff3bc0 930s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 930s 1..1 930s # Start of gdbus tests 930s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/home 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/cache 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/system-config2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/config 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/system-data2 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/data 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/state 930s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_F6VE02/gdbus/connection-loss/.dirs/runtime 930s ok 1 /gdbus/connection-loss 930s # End of gdbus 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/gdbus-connection-loss.test 930s # Running test: glib/cmph-bdz.test 930s TAP version 14 930s # random seed: R02S41e1d59837ed6a03aedc7fe5ef07288c 930s 1..2 930s # Start of cmph-bdz tests 930s ok 1 /cmph-bdz/search 930s ok 2 /cmph-bdz/search-packed 930s # End of cmph-bdz tests 930s ok - glib/cmph-bdz.test 930s # Running test: glib/completion.test 930s TAP version 14 930s # random seed: R02Sac85103b2304e264af1f469e3984fdc5 930s 1..1 930s # Start of completion tests 930s ok 1 /completion/test-completion 930s # End of completion tests 930s ok - glib/completion.test 930s # Running test: glib/network-address.test 931s TAP version 14 931s # random seed: R02S11ea04951734f8d9b5d0cc9d6ee4f6bf 931s 1..72 931s # Start of network-address tests 931s ok 1 /network-address/basic 931s ok 2 /network-address/scope-id 931s ok 3 /network-address/uri-scope-id 931s ok 4 /network-address/to-string 931s # Start of parse-host tests 931s ok 5 /network-address/parse-host/0 931s ok 6 /network-address/parse-host/1 931s ok 7 /network-address/parse-host/2 931s ok 8 /network-address/parse-host/3 931s ok 9 /network-address/parse-host/4 931s ok 10 /network-address/parse-host/5 931s ok 11 /network-address/parse-host/6 931s ok 12 /network-address/parse-host/7 931s ok 13 /network-address/parse-host/8 931s ok 14 /network-address/parse-host/9 931s ok 15 /network-address/parse-host/10 931s ok 16 /network-address/parse-host/11 931s ok 17 /network-address/parse-host/12 931s ok 18 /network-address/parse-host/13 931s # End of parse-host tests 931s # Start of parse-uri tests 931s ok 19 /network-address/parse-uri/0 931s ok 20 /network-address/parse-uri/1 931s ok 21 /network-address/parse-uri/2 931s ok 22 /network-address/parse-uri/3 931s ok 23 /network-address/parse-uri/4 931s ok 24 /network-address/parse-uri/5 931s ok 25 /network-address/parse-uri/6 931s ok 26 /network-address/parse-uri/7 931s ok 27 /network-address/parse-uri/8 931s ok 28 /network-address/parse-uri/9 931s # End of parse-uri tests 931s # Start of resolve-address tests 931s # Input: 192.168.1.2 931s ok 29 /network-address/resolve-address/0 931s # Input: fe80::42 931s ok 30 /network-address/resolve-address/1 931s # Input: 192.168.1.2:80 931s ok 31 /network-address/resolve-address/2 931s # Input: [fe80::42] 931s ok 32 /network-address/resolve-address/3 931s # Input: [fe80::42]:80 931s ok 33 /network-address/resolve-address/4 931s # Input: 192.168.258 931s ok 34 /network-address/resolve-address/5 931s # Input: 192.11010306 931s ok 35 /network-address/resolve-address/6 931s # Input: 3232235778 931s ok 36 /network-address/resolve-address/7 931s # Input: 0300.0250.0001.0001 931s ok 37 /network-address/resolve-address/8 931s # Input: 0xC0.0xA8.0x01.0x02 931s ok 38 /network-address/resolve-address/9 931s # Input: 0xc0.0xa8.0x01.0x02 931s ok 39 /network-address/resolve-address/10 931s # Input: 0xc0a80102 931s ok 40 /network-address/resolve-address/11 931s # End of resolve-address tests 931s # Start of loopback tests 931s ok 41 /network-address/loopback/basic 931s ok 42 /network-address/loopback/sync 931s ok 43 /network-address/loopback/async 931s # End of loopback tests 931s # Start of localhost tests 931s ok 44 /network-address/localhost/async 931s ok 45 /network-address/localhost/sync 931s # End of localhost tests 931s # Start of happy-eyeballs tests 931s ok 46 /network-address/happy-eyeballs/basic 931s ok 47 /network-address/happy-eyeballs/parallel 931s ok 48 /network-address/happy-eyeballs/slow-ipv4 931s ok 49 /network-address/happy-eyeballs/slow-ipv6 931s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 932s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 932s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 932s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 932s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 932s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 932s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 932s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 932s # /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. 932s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 932s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 932s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 932s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 932s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 932s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 932s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 932s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 932s ok 57 /network-address/happy-eyeballs/both-error 932s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 932s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 932s ok 58 /network-address/happy-eyeballs/both-error-delays-1 932s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 932s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 932s ok 59 /network-address/happy-eyeballs/both-error-delays-2 932s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 932s ok - glib/network-address.test 932s ok 60 /network-address/happy-eyeballs/both-error-delays-3 932s # End of happy-eyeballs tests 932s # End of network-address tests 932s # Start of gresolver tests 932s # Start of resolve-address tests 932s # Input: 192.168.1.2 932s ok 61 /gresolver/resolve-address/0 932s # Input: fe80::42 932s ok 62 /gresolver/resolve-address/1 932s # Input: 192.168.1.2:80 932s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 932s ok 63 /gresolver/resolve-address/2 932s # Input: [fe80::42] 932s # Error: Error resolving ?[fe80::42]?: Name or service not known 932s ok 64 /gresolver/resolve-address/3 932s # Input: [fe80::42]:80 932s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 932s ok 65 /gresolver/resolve-address/4 932s # Input: 192.168.258 932s # Error: Error resolving ?192.168.258?: Name or service not known 932s ok 66 /gresolver/resolve-address/5 932s # Input: 192.11010306 932s # Error: Error resolving ?192.11010306?: Name or service not known 932s ok 67 /gresolver/resolve-address/6 932s # Input: 3232235778 932s # Error: Error resolving ?3232235778?: Name or service not known 932s ok 68 /gresolver/resolve-address/7 932s # Input: 0300.0250.0001.0001 932s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 932s ok 69 /gresolver/resolve-address/8 932s # Input: 0xC0.0xA8.0x01.0x02 932s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 932s ok 70 /gresolver/resolve-address/9 932s # Input: 0xc0.0xa8.0x01.0x02 932s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 932s ok 71 /gresolver/resolve-address/10 932s # Input: 0xc0a80102 932s # Error: Error resolving ?0xc0a80102?: Name or service not known 932s ok 72 /gresolver/resolve-address/11 932s # End of resolve-address tests 932s # End of gresolver tests 932s # Running test: glib/date.test 932s TAP version 14 932s # random seed: R02S286bb8a5303ad6ba4322f641238354e0 932s 1..121 932s # Start of date tests 932s ok 1 /date/basic 932s ok 2 /date/empty 932s ok 3 /date/dmy 932s ok 4 /date/julian 932s ok 5 /date/compare 932s ok 6 /date/dates 932s ok 7 /date/strftime 932s ok 8 /date/two-digit-years 932s ok 9 /date/parse 932s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 932s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 932s ok 11 /date/month_substring 932s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 932s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 932s ok 13 /date/clamp 932s ok 14 /date/order 932s ok 15 /date/copy 932s # Vector 0: 0000-00-00, invalid 932s # Vector 1: 0001-01-01, valid 932s # Vector 2: 0000-01-01, invalid 932s # Vector 3: 2000-02-30, invalid 932s # Vector 4: 2000-02-29, valid 932s # Vector 5: 2001-02-29, invalid 932s # Vector 6: 65535-01-01, valid 932s ok 16 /date/valid-dmy 932s # Start of parse tests 932s # Test 0 932s # Test 1 932s ok 17 /date/parse/invalid 932s # End of parse tests 932s # Start of year tests 932s ok 18 /date/year/1 932s ok 19 /date/year/2 932s ok 20 /date/year/3 932s ok 21 /date/year/4 932s ok 22 /date/year/5 932s ok 23 /date/year/6 932s ok 24 /date/year/7 932s ok 25 /date/year/8 932s ok 26 /date/year/9 932s ok 27 /date/year/10 932s ok 28 /date/year/11 932s ok 29 /date/year/12 932s ok 30 /date/year/13 932s ok 31 /date/year/14 932s ok 32 /date/year/98 932s ok 33 /date/year/99 932s ok 34 /date/year/100 932s ok 35 /date/year/101 932s ok 36 /date/year/102 932s ok 37 /date/year/103 932s ok 38 /date/year/397 932s ok 39 /date/year/398 932s ok 40 /date/year/399 932s ok 41 /date/year/400 932s ok 42 /date/year/401 932s ok 43 /date/year/402 932s ok 44 /date/year/403 932s ok 45 /date/year/404 932s ok 46 /date/year/405 932s ok 47 /date/year/406 932s ok 48 /date/year/1598 932s ok 49 /date/year/1599 932s ok 50 /date/year/1600 932s ok 51 /date/year/1601 932s ok 52 /date/year/1602 932s ok 53 /date/year/1650 932s ok 54 /date/year/1651 932s ok 55 /date/year/1897 932s ok 56 /date/year/1898 932s ok 57 /date/year/1899 932s ok 58 /date/year/1900 932s ok 59 /date/year/1901 932s ok 60 /date/year/1902 932s ok 61 /date/year/1903 932s ok 62 /date/year/1961 932s ok 63 /date/year/1962 932s ok 64 /date/year/1963 932s ok 65 /date/year/1964 932s ok 66 /date/year/1965 932s ok 67 /date/year/1967 932s ok 68 /date/year/1968 932s ok 69 /date/year/1969 932s ok 70 /date/year/1970 932s ok 71 /date/year/1971 932s ok 72 /date/year/1972 932s ok 73 /date/year/1973 932s ok 74 /date/year/1974 932s ok 75 /date/year/1975 932s ok 76 /date/year/1976 932s ok 77 /date/year/1977 932s ok 78 /date/year/1978 932s ok 79 /date/year/1979 932s ok 80 /date/year/1980 932s ok 81 /date/year/1981 932s ok 82 /date/year/1982 932s ok 83 /date/year/1983 932s ok 84 /date/year/1984 932s ok 85 /date/year/1985 932s ok 86 /date/year/1986 932s ok 87 /date/year/1987 932s ok 88 /date/year/1988 932s ok 89 /date/year/1989 932s ok 90 /date/year/1990 932s ok 91 /date/year/1991 932s ok 92 /date/year/1992 932s ok 93 /date/year/1993 932s ok 94 /date/year/1994 932s ok 95 /date/year/1995 932s ok 96 /date/year/1996 932s ok 97 /date/year/1997 932s ok 98 /date/year/1998 932s ok 99 /date/year/1999 932s ok 100 /date/year/2000 932s ok 101 /date/year/2001 932s ok 102 /date/year/2002 932s ok 103 /date/year/2003 932s ok 104 /date/year/2004 932s ok 105 /date/year/2005 932s ok 106 /date/year/2006 932s ok 107 /date/year/2007 932s ok 108 /date/year/2008 932s ok 109 /date/year/2009 932s ok 110 /date/year/2010 932s ok 111 /date/year/2011 932s ok 112 /date/year/2012 932s ok 113 /date/year/3000 932s ok 114 /date/year/3001 932s ok 115 /date/year/3002 932s ok 116 /date/year/3998 932s ok 117 /date/year/3999 932s ok 118 /date/year/4000 932s ok 119 /date/year/4001 932s ok 120 /date/year/4002 932s ok 121 /date/year/4003 932s # End of year tests 932s # End of date tests 932s ok - glib/date.test 932s # Running test: glib/gdbus-connection.test 932s TAP version 14 932s # random seed: R02S03899afb72b509aa989b7636efce5994 932s 1..9 932s # Start of gdbus tests 932s # Start of connection tests 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/bus-failure/.dirs/runtime 932s ok 1 /gdbus/connection/bus-failure 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/basic/.dirs/runtime 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s ok 2 /gdbus/connection/basic 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/life-cycle/.dirs/runtime 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 932s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 932s ok 3 /gdbus/connection/life-cycle 932s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/home 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/cache 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/system-config2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/config 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/system-data2 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/data 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/state 932s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/send/.dirs/runtime 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 4 /gdbus/connection/send 933s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/home 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/cache 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/system-config2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/config 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/system-data2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/data 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/state 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signals/.dirs/runtime 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 5 /gdbus/connection/signals 933s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/home 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/cache 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/system-config2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/config 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/system-data2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/data 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/state 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/signal-match-rules/.dirs/runtime 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 6 /gdbus/connection/signal-match-rules 933s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/home 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/cache 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/system-config2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/config 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/system-data2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/data 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/state 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/filter/.dirs/runtime 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 7 /gdbus/connection/filter 933s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/home 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/cache 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/system-config2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/config 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/system-data2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/data 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/state 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/serials/.dirs/runtime 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 8 /gdbus/connection/serials 933s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/home 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/cache 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/system-config2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/config 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/system-data2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/data 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/state 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_Y5KC02/gdbus/connection/cancel/.dirs/runtime 933s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 9 /gdbus/connection/cancel 933s # End of connection tests 933s # End of gdbus tests 933s ok - glib/gdbus-connection.test 933s # Running test: glib/testfilemonitor.test 933s TAP version 14 933s # random seed: R02S4c0bc317b2bd404b8897516374aab81c 933s 1..8 933s # Start of monitor tests 933s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 933s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 933s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 933s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 933s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 933s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 933s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 933s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 933s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 933s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 933s # Start of file tests 933s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 933s # End of file tests 933s # End of monitor tests 933s ok - glib/testfilemonitor.test 933s TAP version 14 933s # random seed: R02S24e5ed5471d80424017568f1458f23ae 933s 1..13 933s # Start of properties tests 933s ok 1 /properties/install 933s ok 2 /properties/install-many 933s ok 3 /properties/notify 933s # Running test: glib/properties.test 933s ok 4 /properties/notify-queue 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 933s ok 5 /properties/construct 933s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 933s # Test g_object_get_property with an initialized value 933s # Test g_object_get_property with an uninitialized value 933s # Test g_object_get_property with a transformable value 933s ok 6 /properties/get-property 933s ok 7 /properties/testv_with_no_properties 933s ok 8 /properties/testv_with_valid_properties 933s ok 9 /properties/testv_with_invalid_property_type 933s ok 10 /properties/testv_with_invalid_property_names 933s ok 11 /properties/testv_getv 933s ok 12 /properties/testv_notify_queue 933s # Start of set-property tests 933s # Start of variant tests 933s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 933s ok 13 /properties/set-property/variant/floating 933s # End of variant tests 933s # End of set-property tests 933s # End of properties tests 933s ok - glib/properties.test 933s # Running test: glib/option-context.test 933s TAP version 14 933s # random seed: R02Sf92a99217eaeacc72629c2e4f06ca72d 933s 1..57 933s # Start of option tests 933s ok 1 /option/basic 933s ok 2 /option/translate 933s ok 3 /option/strict-posix 933s # Start of help tests 933s ok 4 /option/help/options 933s ok 5 /option/help/no-options 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 933s ok 6 /option/help/no-help-options 933s # End of help tests 933s # Start of group tests 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 933s ok - glib/option-context.test 933s ok 7 /option/group/captions 933s ok 8 /option/group/main 933s ok 9 /option/group/error-hook 933s ok 10 /option/group/parse 933s # Start of captions tests 933s # Start of subprocess tests 933s # End of subprocess tests 933s # End of captions tests 933s # End of group tests 933s # Start of restoration tests 933s ok 11 /option/restoration/int 933s ok 12 /option/restoration/string 933s ok 13 /option/restoration/boolean 933s # End of restoration tests 933s # Start of arg tests 933s ok 14 /option/arg/reverse-string 933s ok 15 /option/arg/optional-int 933s # Start of repetition tests 933s ok 16 /option/arg/repetition/int 933s ok 17 /option/arg/repetition/string 933s ok 18 /option/arg/repetition/filename 933s ok 19 /option/arg/repetition/double 933s ok 20 /option/arg/repetition/locale 933s ok 21 /option/arg/repetition/int64 933s # End of repetition tests 933s # Start of array tests 933s ok 22 /option/arg/array/string 933s # End of array tests 933s # Start of callback tests 933s ok 23 /option/arg/callback/string 933s ok 24 /option/arg/callback/count 933s ok 25 /option/arg/callback/optional1 933s ok 26 /option/arg/callback/optional2 933s ok 27 /option/arg/callback/optional3 933s ok 28 /option/arg/callback/optional4 933s ok 29 /option/arg/callback/optional5 933s ok 30 /option/arg/callback/optional6 933s ok 31 /option/arg/callback/optional7 933s ok 32 /option/arg/callback/optional8 933s # End of callback tests 933s # Start of remaining tests 933s ok 33 /option/arg/remaining/callback 933s ok 34 /option/arg/remaining/callback-false 933s ok 35 /option/arg/remaining/non-option 933s ok 36 /option/arg/remaining/separator 933s ok 37 /option/arg/remaining/array 933s # End of remaining tests 933s # Start of ignore tests 933s ok 38 /option/arg/ignore/long 933s ok 39 /option/arg/ignore/short 933s ok 40 /option/arg/ignore/arg 933s # End of ignore tests 933s # Start of rest tests 933s ok 41 /option/arg/rest/non-option 933s ok 42 /option/arg/rest/separator1 933s ok 43 /option/arg/rest/separator2 933s ok 44 /option/arg/rest/separator3 933s ok 45 /option/arg/rest/separator4 933s ok 46 /option/arg/rest/separator5 933s # End of rest tests 933s # End of arg tests 933s # Start of context tests 933s ok 47 /option/context/add 933s ok 48 /option/context/empty2 933s ok 49 /option/context/empty3 933s # End of context tests 933s # Start of bug tests 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 933s ok 50 /option/bug/unknown-short 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 933s ok 51 /option/bug/lonely-dash 933s ok 52 /option/bug/triple-dash 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 933s ok 53 /option/bug/missing-arg 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 933s ok 54 /option/bug/dash-arg 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 933s ok 55 /option/bug/short-remaining 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 933s ok 56 /option/bug/double-free 933s ok 57 /option/bug/double-zero 933s # End of bug tests 933s # End of option tests 933s # Running test: glib/642026.test 933s TAP version 14 933s # random seed: R02Sff5b6ab976d219adfb8749e8cdd1076c 933s 1..1 933s # Start of glib tests 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 933s ok 1 /glib/642026 933s # End of glib tests 933s ok - glib/642026.test 933s # Running test: glib/signals.test 933s TAP version 14 933s # random seed: R02S29cb43891341ddf2a27c56c3a6d291b4 933s 1..31 933s # Start of gobject tests 933s # Start of signals tests 933s ok 1 /gobject/signals/all-types 933s ok 2 /gobject/signals/variant 933s ok 3 /gobject/signals/destroy-target-object 933s ok 4 /gobject/signals/generic-marshaller-1 933s ok 5 /gobject/signals/generic-marshaller-2 933s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 933s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 933s ok 8 /gobject/signals/generic-marshaller-int-return 933s ok 9 /gobject/signals/generic-marshaller-uint-return 933s ok 10 /gobject/signals/generic-marshaller-interface-return 933s ok 11 /gobject/signals/custom-marshaller 933s ok 12 /gobject/signals/connect 933s ok 13 /gobject/signals/emission-hook 933s ok 14 /gobject/signals/emitv 933s ok 15 /gobject/signals/accumulator 933s # Signal: accumulator-class-first 933s # Signal: accumulator-class-last 933s # Signal: accumulator-class-cleanup 933s # Signal: accumulator-class-first-last 933s # Signal: accumulator-class-first-last-cleanup 933s # Signal: accumulator-class-last-cleanup 933s ok 16 /gobject/signals/accumulator-class 933s ok 17 /gobject/signals/introspection 933s ok 18 /gobject/signals/block-handler 933s ok 19 /gobject/signals/stop-emission 933s ok 20 /gobject/signals/invocation-hint 933s ok 21 /gobject/signals/test-disconnection-wrong-object 933s ok 22 /gobject/signals/clear-signal-handler 933s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 933s ok 23 /gobject/signals/lookup 933s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 933s ok 24 /gobject/signals/parse-name 933s ok 25 /gobject/signals/is-valid-name 933s ok 26 /gobject/signals/weak-ref-disconnect 933s # Start of lookup tests 933s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 933s ok 27 /gobject/signals/lookup/invalid 933s # End of lookup tests 933s # Start of parse-name tests 933s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 933s # Parser input: 933s # Parser input: 7zip 933s # Parser input: invalid:signal 933s # Parser input: simple-detailed:: 933s # Parser input: simple-detailed: 933s # Parser input: : 933s # Parser input: :: 933s # Parser input: :valid-detail 933s # Parser input: ::valid-detail 933s ok 28 /gobject/signals/parse-name/invalid 933s # End of parse-name tests 933s # Start of invalid-name tests 933s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 933s ok 29 /gobject/signals/invalid-name/colon 933s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 933s ok 30 /gobject/signals/invalid-name/first-char 933s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 933s ok 31 /gobject/signals/invalid-name/empty 933s # End of invalid-name tests 933s # End of signals tests 933s # End of gobject tests 933s ok - glib/signals.test 933s # Running test: glib/tls-interaction.test 933s TAP version 14 933s # random seed: R02Sf8a9ca31b59ad4563502708b06c9b01e 933s 1..42 933s # Start of tls-interaction tests 933s # Start of ask-password tests 933s # Start of invoke-with-loop tests 933s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 933s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 933s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 933s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 933s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 933s # End of invoke-with-loop tests 933s # Start of invoke-without-loop tests 933s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 933s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 933s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 933s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 933s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 933s # End of invoke-without-loop tests 933s # Start of invoke-in-loop tests 933s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 933s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 933s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 933s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 933s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 933s # End of invoke-in-loop tests 933s # Start of sync tests 933s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 933s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 933s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 933s # End of sync tests 933s # Start of async tests 933s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 933s ok 20 /tls-interaction/ask-password/async/async-implementation-success 933s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 933s # End of async tests 933s # End of ask-password tests 933s # Start of request-certificate tests 933s # Start of invoke-with-loop tests 933s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 933s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 933s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 933s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 933s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 933s # End of invoke-with-loop tests 933s # Start of invoke-without-loop tests 933s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 933s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 933s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 933s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 933s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 933s # End of invoke-without-loop tests 933s # Start of invoke-in-loop tests 933s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 933s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 933s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 933s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 933s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 933s # End of invoke-in-loop tests 933s # Start of sync tests 933s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 933s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 933s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 933s # End of sync tests 933s # Start of async tests 933s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 933s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 933s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 933s # End of async tests 933s # End of request-certificate tests 933s # End of tls-interaction tests 933s ok - glib/tls-interaction.test 933s # Running test: glib/gobject-private.test 933s TAP version 14 933s # random seed: R02S4fdd6b07558eee25e92d0d296404baf9 933s 1..3 933s # Start of private tests 933s ok 1 /private/instance 933s ok 2 /private/derived-instance 933s ok 3 /private/mixed-derived-instance 933s # End of private tests 933s ok - glib/gobject-private.test 933s # Running test: glib/markup-subparser.test 933s TAP version 14 933s # random seed: R02Sd1b26e1cab536b65dd1810d49a4ba9d7 933s 1..14 933s # Start of glib tests 933s # Start of markup tests 933s # Start of subparser tests 933s # Start of success tests 933s ok 1 /glib/markup/subparser/success/0 933s ok 2 /glib/markup/subparser/success/1 933s ok 3 /glib/markup/subparser/success/2 933s ok 4 /glib/markup/subparser/success/3 933s ok 5 /glib/markup/subparser/success/4 933s ok 6 /glib/markup/subparser/success/5 933s ok 7 /glib/markup/subparser/success/6 933s # End of success tests 933s # Start of failure tests 933s ok 8 /glib/markup/subparser/failure/0 933s ok 9 /glib/markup/subparser/failure/1 933s ok 10 /glib/markup/subparser/failure/2 933s ok 11 /glib/markup/subparser/failure/3 933s ok 12 /glib/markup/subparser/failure/4 933s ok 13 /glib/markup/subparser/failure/5 933s ok 14 /glib/markup/subparser/failure/6 933s # End of failure tests 933s # End of subparser tests 933s # End of markup tests 933s # End of glib tests 933s ok - glib/markup-subparser.test 933s # Running test: glib/g-icon.test 933s TAP version 14 933s # random seed: R02S482a312c646cc05039d08ea7a59c098a 933s 1..6 933s # Start of icons tests 933s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 933s ok 1 /icons/to-string 933s ok 2 /icons/serialize 933s ok 3 /icons/themed 933s ok 4 /icons/emblemed 933s ok 5 /icons/file 933s ok 6 /icons/bytes 933s # End of icons tests 933s ok - glib/g-icon.test 933s # Running test: glib/1bit-mutex.test 933s TAP version 14 933s # random seed: R02Sa32023e8cde8561de93d83265431b154 933s 1..2 933s # Start of glib tests 933s # Start of 1bit-mutex tests 933s # Executing: glib/1bit-mutex.test 938s # Executing: glib/1bit-mutex.test 938s ok 1 /glib/1bit-mutex/int 938s # slow test /glib/1bit-mutex/int executed in 5.10 secs 943s ok 2 /glib/1bit-mutex/pointer 943s # slow test /glib/1bit-mutex/pointer executed in 4.82 secs 943s # End of 1bit-mutex tests 943s # End of glib tests 943s ok - glib/1bit-mutex.test 943s # Running test: glib/file.test 943s TAP version 14 943s # random seed: R02Sf8c5bd8514315506582f38d96dd73487 943s 1..55 943s # Start of file tests 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/basic/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/basic/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/basic/.dirs/system-config1:/tmp/test_file_5HCH02/file/basic/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/basic/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/basic/.dirs/system-data1:/tmp/test_file_5HCH02/file/basic/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/basic/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/basic/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/basic/.dirs/runtime 943s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 943s ok 1 /file/basic 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/build-filename/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/build-filename/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/build-filename/.dirs/system-config1:/tmp/test_file_5HCH02/file/build-filename/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/build-filename/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/build-filename/.dirs/system-data1:/tmp/test_file_5HCH02/file/build-filename/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/build-filename/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/build-filename/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/build-filename/.dirs/runtime 943s ok 2 /file/build-filename 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/build-filenamev/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/build-filenamev/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/build-filenamev/.dirs/system-config1:/tmp/test_file_5HCH02/file/build-filenamev/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/build-filenamev/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/build-filenamev/.dirs/system-data1:/tmp/test_file_5HCH02/file/build-filenamev/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/build-filenamev/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/build-filenamev/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/build-filenamev/.dirs/runtime 943s ok 3 /file/build-filenamev 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/parent/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/parent/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/parent/.dirs/system-config1:/tmp/test_file_5HCH02/file/parent/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/parent/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/parent/.dirs/system-data1:/tmp/test_file_5HCH02/file/parent/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/parent/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/parent/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/parent/.dirs/runtime 943s ok 4 /file/parent 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/child/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/child/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/child/.dirs/system-config1:/tmp/test_file_5HCH02/file/child/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/child/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/child/.dirs/system-data1:/tmp/test_file_5HCH02/file/child/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/child/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/child/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/child/.dirs/runtime 943s ok 5 /file/child 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/empty-path/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/empty-path/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/empty-path/.dirs/system-config1:/tmp/test_file_5HCH02/file/empty-path/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/empty-path/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/empty-path/.dirs/system-data1:/tmp/test_file_5HCH02/file/empty-path/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/empty-path/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/empty-path/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/empty-path/.dirs/runtime 943s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 943s # /file/empty-path summary: Check that creating a file with an empty path results in errors 943s ok 6 /file/empty-path 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/type/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/type/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/type/.dirs/system-config1:/tmp/test_file_5HCH02/file/type/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/type/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/type/.dirs/system-data1:/tmp/test_file_5HCH02/file/type/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/type/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/type/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/type/.dirs/runtime 943s ok 7 /file/type 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/parse-name/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/parse-name/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/parse-name/.dirs/system-config1:/tmp/test_file_5HCH02/file/parse-name/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/parse-name/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/parse-name/.dirs/system-data1:/tmp/test_file_5HCH02/file/parse-name/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/parse-name/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/parse-name/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/parse-name/.dirs/runtime 943s ok 8 /file/parse-name 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/replace-load/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/replace-load/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/replace-load/.dirs/system-config1:/tmp/test_file_5HCH02/file/replace-load/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/replace-load/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/replace-load/.dirs/system-data1:/tmp/test_file_5HCH02/file/replace-load/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/replace-load/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/replace-load/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/replace-load/.dirs/runtime 943s ok 9 /file/replace-load 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/replace-cancel/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/replace-cancel/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/replace-cancel/.dirs/system-config1:/tmp/test_file_5HCH02/file/replace-cancel/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/replace-cancel/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/replace-cancel/.dirs/system-data1:/tmp/test_file_5HCH02/file/replace-cancel/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/replace-cancel/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/replace-cancel/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/replace-cancel/.dirs/runtime 943s # Bug Reference: https://bugzilla.gnome.org/629301 943s ok 10 /file/replace-cancel 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/replace-symlink/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/replace-symlink/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/replace-symlink/.dirs/system-config1:/tmp/test_file_5HCH02/file/replace-symlink/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/replace-symlink/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/replace-symlink/.dirs/system-data1:/tmp/test_file_5HCH02/file/replace-symlink/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/replace-symlink/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/replace-symlink/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/replace-symlink/.dirs/runtime 943s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 943s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 943s # Using temporary directory /tmp/test_file_5HCH02/g_file_replace_symlink_JVBP02 943s ok 11 /file/replace-symlink 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/async-new-tmp/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/async-new-tmp/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_5HCH02/file/async-new-tmp/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/async-new-tmp/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_5HCH02/file/async-new-tmp/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/async-new-tmp/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/async-new-tmp/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/async-new-tmp/.dirs/runtime 943s ok 12 /file/async-new-tmp 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/async-new-tmp-dir/.dirs/runtime 943s ok 13 /file/async-new-tmp-dir 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/async-delete/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/async-delete/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/async-delete/.dirs/system-config1:/tmp/test_file_5HCH02/file/async-delete/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/async-delete/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/async-delete/.dirs/system-data1:/tmp/test_file_5HCH02/file/async-delete/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/async-delete/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/async-delete/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/async-delete/.dirs/runtime 943s ok 14 /file/async-delete 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/async-make-symlink/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/async-make-symlink/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_5HCH02/file/async-make-symlink/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/async-make-symlink/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_5HCH02/file/async-make-symlink/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/async-make-symlink/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/async-make-symlink/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/async-make-symlink/.dirs/runtime 943s ok 15 /file/async-make-symlink 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/copy-preserve-mode/.dirs/runtime 943s # Current umask: 2 943s # Vector 0 943s # Vector 1 943s # Vector 2 943s # Vector 3 943s # Vector 4 943s # Vector 5 943s # Vector 6 943s # Vector 7 943s # Vector 8 943s # Vector 9 943s # Vector 10 943s ok 16 /file/copy-preserve-mode 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/copy-async-with-closures/.dirs/runtime 943s ok 17 /file/copy-async-with-closures 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/measure/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/measure/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/measure/.dirs/system-config1:/tmp/test_file_5HCH02/file/measure/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/measure/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/measure/.dirs/system-data1:/tmp/test_file_5HCH02/file/measure/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/measure/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/measure/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/measure/.dirs/runtime 943s ok 18 /file/measure 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/measure-async/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/measure-async/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/measure-async/.dirs/system-config1:/tmp/test_file_5HCH02/file/measure-async/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/measure-async/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/measure-async/.dirs/system-data1:/tmp/test_file_5HCH02/file/measure-async/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/measure-async/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/measure-async/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/measure-async/.dirs/runtime 943s ok 19 /file/measure-async 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/load-bytes/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/load-bytes/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/load-bytes/.dirs/system-config1:/tmp/test_file_5HCH02/file/load-bytes/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/load-bytes/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/load-bytes/.dirs/system-data1:/tmp/test_file_5HCH02/file/load-bytes/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/load-bytes/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/load-bytes/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/load-bytes/.dirs/runtime 943s ok 20 /file/load-bytes 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/load-bytes-async/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/load-bytes-async/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_5HCH02/file/load-bytes-async/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/load-bytes-async/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_5HCH02/file/load-bytes-async/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/load-bytes-async/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/load-bytes-async/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/load-bytes-async/.dirs/runtime 943s ok 21 /file/load-bytes-async 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/load-bytes-4gb/.dirs/runtime 943s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/load-contents-4gb/.dirs/runtime 943s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/load-contents-4gb-async/.dirs/runtime 943s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/.dirs/runtime 943s ok 25 /file/writev 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/build-attribute-list-for-copy/.dirs/runtime 943s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 943s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 943s # 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::* 943s # 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::* 943s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 943s # Attributes for copy: standard::size,xattr::* 943s # Attributes for copy: standard::size,unix::mode,xattr::* 943s ok 26 /file/build-attribute-list-for-copy 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/move_async/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/move_async/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/move_async/.dirs/system-config1:/tmp/test_file_5HCH02/file/move_async/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/move_async/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/move_async/.dirs/system-data1:/tmp/test_file_5HCH02/file/move_async/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/move_async/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/move_async/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/move_async/.dirs/runtime 943s ok 27 /file/move_async 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/move-async-with-closures/.dirs/runtime 943s ok 28 /file/move-async-with-closures 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/query-zero-length-content-type/.dirs/runtime 943s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 943s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 943s ok 29 /file/query-zero-length-content-type 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/runtime 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/data/applications 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/config 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/config 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/config 943s ok 30 /file/query-default-handler-file 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/runtime 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/data/applications 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/config 943s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_5HCH02/file/query-default-handler-file/.dirs/config to /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/config 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/config 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/config 943s ok 31 /file/query-default-handler-file-async 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/runtime 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/data/applications 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/config 943s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_5HCH02/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/config 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/config 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/config 943s ok 32 /file/query-default-handler-uri 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/runtime 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/data/applications 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/config 943s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_5HCH02/file/query-default-handler-uri/.dirs/config to /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/config 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/config 943s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_5HCH02/file/query-default-handler-uri-async/.dirs/config 943s # Executing: glib/file.test 943s ok 33 /file/query-default-handler-uri-async 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/enumerator-cancellation/.dirs/runtime 943s ok 34 /file/enumerator-cancellation 943s # Start of async-create-delete tests 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/async-create-delete/0/.dirs/runtime 943s ok 35 /file/async-create-delete/0 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/async-create-delete/1/.dirs/runtime 943s ok 36 /file/async-create-delete/1 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/async-create-delete/10/.dirs/runtime 943s ok 37 /file/async-create-delete/10 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/async-create-delete/25/.dirs/runtime 943s ok 38 /file/async-create-delete/25 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/async-create-delete/4096/.dirs/runtime 943s ok 39 /file/async-create-delete/4096 943s # End of async-create-delete tests 943s # Start of replace-symlink tests 943s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/home 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/cache 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/system-config2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/config 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/system-data2 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/data 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/state 943s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/replace-symlink/using-etag/.dirs/runtime 943s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 943s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 943s # Using temporary directory /tmp/test_file_5HCH02/g_file_replace_symlink_using_etag_A5P8Z2 945s ok 40 /file/replace-symlink/using-etag 945s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 945s # End of replace-symlink tests 945s # Start of replace tests 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/replace/write-only/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/replace/write-only/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/replace/write-only/.dirs/system-config1:/tmp/test_file_5HCH02/file/replace/write-only/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/replace/write-only/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/replace/write-only/.dirs/system-data1:/tmp/test_file_5HCH02/file/replace/write-only/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/replace/write-only/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/replace/write-only/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/replace/write-only/.dirs/runtime 945s # /file/replace/write-only summary: Test various situations for g_file_replace() 945s # Current umask: 2 945s # Test 0, using temporary directory /tmp/test_file_5HCH02/g_file_replace_VHL8Z2 945s # Test 1, using temporary directory /tmp/test_file_5HCH02/g_file_replace_QML8Z2 945s # Test 2, using temporary directory /tmp/test_file_5HCH02/g_file_replace_GLN5Z2 945s # Test 3, using temporary directory /tmp/test_file_5HCH02/g_file_replace_70J5Z2 945s # Test 4, using temporary directory /tmp/test_file_5HCH02/g_file_replace_64J5Z2 945s # Test 5, using temporary directory /tmp/test_file_5HCH02/g_file_replace_KMK5Z2 945s # Test 6, using temporary directory /tmp/test_file_5HCH02/g_file_replace_UIG5Z2 945s # Test 7, using temporary directory /tmp/test_file_5HCH02/g_file_replace_F6E5Z2 945s # Test 8, using temporary directory /tmp/test_file_5HCH02/g_file_replace_XKF5Z2 945s # Test 9, using temporary directory /tmp/test_file_5HCH02/g_file_replace_5QF5Z2 945s # Test 10, using temporary directory /tmp/test_file_5HCH02/g_file_replace_CWC5Z2 945s # Test 11, using temporary directory /tmp/test_file_5HCH02/g_file_replace_WI94Z2 945s # Test 12, using temporary directory /tmp/test_file_5HCH02/g_file_replace_ET64Z2 945s # Test 13, using temporary directory /tmp/test_file_5HCH02/g_file_replace_PZ64Z2 945s # Test 14, using temporary directory /tmp/test_file_5HCH02/g_file_replace_Q344Z2 945s # Test 15, using temporary directory /tmp/test_file_5HCH02/g_file_replace_WK64Z2 945s # Test 16, using temporary directory /tmp/test_file_5HCH02/g_file_replace_3Y44Z2 945s # Test 17, using temporary directory /tmp/test_file_5HCH02/g_file_replace_NF04Z2 945s # Test 18, using temporary directory /tmp/test_file_5HCH02/g_file_replace_H7Y4Z2 945s # Test 19, using temporary directory /tmp/test_file_5HCH02/g_file_replace_BVX4Z2 945s # Test 20, using temporary directory /tmp/test_file_5HCH02/g_file_replace_HNV4Z2 945s # Test 21, using temporary directory /tmp/test_file_5HCH02/g_file_replace_44T4Z2 945s # Test 22, using temporary directory /tmp/test_file_5HCH02/g_file_replace_PMT4Z2 945s # Test 23, using temporary directory /tmp/test_file_5HCH02/g_file_replace_JUT4Z2 945s # Test 24, using temporary directory /tmp/test_file_5HCH02/g_file_replace_RLQ4Z2 945s # Test 25, using temporary directory /tmp/test_file_5HCH02/g_file_replace_R7L4Z2 945s # Test 26, using temporary directory /tmp/test_file_5HCH02/g_file_replace_IQM4Z2 945s # Test 27, using temporary directory /tmp/test_file_5HCH02/g_file_replace_TWM4Z2 945s # Test 28, using temporary directory /tmp/test_file_5HCH02/g_file_replace_92K4Z2 945s # Test 29, using temporary directory /tmp/test_file_5HCH02/g_file_replace_ZKH4Z2 945s # Test 30, using temporary directory /tmp/test_file_5HCH02/g_file_replace_RMH4Z2 945s # Test 31, using temporary directory /tmp/test_file_5HCH02/g_file_replace_EUH4Z2 945s # Test 32, using temporary directory /tmp/test_file_5HCH02/g_file_replace_BXE4Z2 945s # Test 33, using temporary directory /tmp/test_file_5HCH02/g_file_replace_KJB4Z2 945s # Test 34, using temporary directory /tmp/test_file_5HCH02/g_file_replace_W0B4Z2 945s # Test 35, using temporary directory /tmp/test_file_5HCH02/g_file_replace_O7B4Z2 945s # Test 36, using temporary directory /tmp/test_file_5HCH02/g_file_replace_NGY6Z2 945s # Test 37, using temporary directory /tmp/test_file_5HCH02/g_file_replace_SLX6Z2 945s # Test 38, using temporary directory /tmp/test_file_5HCH02/g_file_replace_45V6Z2 945s # Test 39, using temporary directory /tmp/test_file_5HCH02/g_file_replace_Z3S6Z2 945s # Test 40, using temporary directory /tmp/test_file_5HCH02/g_file_replace_6WO6Z2 945s # Test 41, using temporary directory /tmp/test_file_5HCH02/g_file_replace_CDN6Z2 945s # Test 42, using temporary directory /tmp/test_file_5HCH02/g_file_replace_7EL6Z2 945s # Test 43, using temporary directory /tmp/test_file_5HCH02/g_file_replace_UWJ6Z2 945s # Test 44, using temporary directory /tmp/test_file_5HCH02/g_file_replace_74K6Z2 945s # Test 45, using temporary directory /tmp/test_file_5HCH02/g_file_replace_S5H6Z2 945s # Test 46, using temporary directory /tmp/test_file_5HCH02/g_file_replace_DVG6Z2 945s # Test 47, using temporary directory /tmp/test_file_5HCH02/g_file_replace_V4G6Z2 945s # Test 48, using temporary directory /tmp/test_file_5HCH02/g_file_replace_LPD6Z2 945s # We do not have CAP_DAC_OVERRIDE or equivalent 945s ok 41 /file/replace/write-only 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/replace/read-write/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/replace/read-write/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/replace/read-write/.dirs/system-config1:/tmp/test_file_5HCH02/file/replace/read-write/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/replace/read-write/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/replace/read-write/.dirs/system-data1:/tmp/test_file_5HCH02/file/replace/read-write/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/replace/read-write/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/replace/read-write/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/replace/read-write/.dirs/runtime 945s # /file/replace/read-write summary: Test various situations for g_file_replace() 945s # Current umask: 2 945s # Test 0, using temporary directory /tmp/test_file_5HCH02/g_file_replace_M2D6Z2 945s # Test 1, using temporary directory /tmp/test_file_5HCH02/g_file_replace_OAE6Z2 945s # Test 2, using temporary directory /tmp/test_file_5HCH02/g_file_replace_9Y25Z2 945s # Test 3, using temporary directory /tmp/test_file_5HCH02/g_file_replace_LJ15Z2 945s # Test 4, using temporary directory /tmp/test_file_5HCH02/g_file_replace_UN15Z2 945s # Test 5, using temporary directory /tmp/test_file_5HCH02/g_file_replace_8T15Z2 945s # Test 6, using temporary directory /tmp/test_file_5HCH02/g_file_replace_AF05Z2 945s # Test 7, using temporary directory /tmp/test_file_5HCH02/g_file_replace_S7V5Z2 945s # Test 8, using temporary directory /tmp/test_file_5HCH02/g_file_replace_DAW5Z2 945s # Test 9, using temporary directory /tmp/test_file_5HCH02/g_file_replace_YGW5Z2 945s # Test 10, using temporary directory /tmp/test_file_5HCH02/g_file_replace_ECV5Z2 945s # Test 11, using temporary directory /tmp/test_file_5HCH02/g_file_replace_9DU5Z2 945s # Test 12, using temporary directory /tmp/test_file_5HCH02/g_file_replace_CDR5Z2 945s # Test 13, using temporary directory /tmp/test_file_5HCH02/g_file_replace_NWR5Z2 945s # Test 14, using temporary directory /tmp/test_file_5HCH02/g_file_replace_FRS5Z2 945s # Test 15, using temporary directory /tmp/test_file_5HCH02/g_file_replace_HBR5Z2 945s # Test 16, using temporary directory /tmp/test_file_5HCH02/g_file_replace_NIP5Z2 945s # Test 17, using temporary directory /tmp/test_file_5HCH02/g_file_replace_6Z2D02 945s # Test 18, using temporary directory /tmp/test_file_5HCH02/g_file_replace_CFRD02 945s # Test 19, using temporary directory /tmp/test_file_5HCH02/g_file_replace_90PD02 945s # Test 20, using temporary directory /tmp/test_file_5HCH02/g_file_replace_OCPD02 945s # Test 21, using temporary directory /tmp/test_file_5HCH02/g_file_replace_E4KD02 945s # Test 22, using temporary directory /tmp/test_file_5HCH02/g_file_replace_I1ED02 945s # Test 23, using temporary directory /tmp/test_file_5HCH02/g_file_replace_O7ED02 945s # Test 24, using temporary directory /tmp/test_file_5HCH02/g_file_replace_TMBD02 945s # Test 25, using temporary directory /tmp/test_file_5HCH02/g_file_replace_RP8C02 945s # Test 26, using temporary directory /tmp/test_file_5HCH02/g_file_replace_N58C02 945s # Test 27, using temporary directory /tmp/test_file_5HCH02/g_file_replace_4C9C02 945s # Test 28, using temporary directory /tmp/test_file_5HCH02/g_file_replace_Q83C02 945s # Test 29, using temporary directory /tmp/test_file_5HCH02/g_file_replace_A52C02 945s # Test 30, using temporary directory /tmp/test_file_5HCH02/g_file_replace_LL0C02 945s # Test 31, using temporary directory /tmp/test_file_5HCH02/g_file_replace_NQ0C02 945s # Test 32, using temporary directory /tmp/test_file_5HCH02/g_file_replace_XVZC02 945s # Test 33, using temporary directory /tmp/test_file_5HCH02/g_file_replace_WKVC02 945s # Test 34, using temporary directory /tmp/test_file_5HCH02/g_file_replace_I4VC02 945s # Test 35, using temporary directory /tmp/test_file_5HCH02/g_file_replace_BAWC02 945s # Test 36, using temporary directory /tmp/test_file_5HCH02/g_file_replace_BGUC02 945s # Test 37, using temporary directory /tmp/test_file_5HCH02/g_file_replace_1USC02 945s # Test 38, using temporary directory /tmp/test_file_5HCH02/g_file_replace_19QC02 945s # Test 39, using temporary directory /tmp/test_file_5HCH02/g_file_replace_WOPC02 945s # Test 40, using temporary directory /tmp/test_file_5HCH02/g_file_replace_SDEF02 945s # Test 41, using temporary directory /tmp/test_file_5HCH02/g_file_replace_SDCF02 945s # Test 42, using temporary directory /tmp/test_file_5HCH02/g_file_replace_ELAF02 945s # Test 43, using temporary directory /tmp/test_file_5HCH02/g_file_replace_SC9E02 945s # Test 44, using temporary directory /tmp/test_file_5HCH02/g_file_replace_VK4E02 945s # Test 45, using temporary directory /tmp/test_file_5HCH02/g_file_replace_HS4E02 945s # Test 46, using temporary directory /tmp/test_file_5HCH02/g_file_replace_W61E02 945s # Test 47, using temporary directory /tmp/test_file_5HCH02/g_file_replace_4D2E02 945s # Test 48, using temporary directory /tmp/test_file_5HCH02/g_file_replace_82ZE02 945s # We do not have CAP_DAC_OVERRIDE or equivalent 945s ok 42 /file/replace/read-write 945s # End of replace tests 945s # Start of copy tests 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/copy/progress/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/copy/progress/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/copy/progress/.dirs/system-config1:/tmp/test_file_5HCH02/file/copy/progress/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/copy/progress/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/copy/progress/.dirs/system-data1:/tmp/test_file_5HCH02/file/copy/progress/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/copy/progress/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/copy/progress/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/copy/progress/.dirs/runtime 945s ok 43 /file/copy/progress 945s # End of copy tests 945s # Start of writev tests 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/no-bytes-written/.dirs/runtime 945s ok 44 /file/writev/no-bytes-written 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/no-vectors/.dirs/runtime 945s ok 45 /file/writev/no-vectors 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/empty-vectors/.dirs/runtime 945s ok 46 /file/writev/empty-vectors 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/too-big-vectors/.dirs/runtime 945s ok 47 /file/writev/too-big-vectors 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/async/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/async/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/async/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/async/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/async/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/async/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/async/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/async/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/async/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/async/.dirs/runtime 945s ok 48 /file/writev/async 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/async_all/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/async_all/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/async_all/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/async_all/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/async_all/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/async_all/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/async_all/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/async_all/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/async_all/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/async_all/.dirs/runtime 945s ok 49 /file/writev/async_all 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/async_all-empty-vectors/.dirs/runtime 945s ok 50 /file/writev/async_all-empty-vectors 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/async_all-no-vectors/.dirs/runtime 945s ok 51 /file/writev/async_all-no-vectors 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/async_all-to-big-vectors/.dirs/runtime 945s ok 52 /file/writev/async_all-to-big-vectors 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/writev/async_all-cancellation/.dirs/runtime 945s ok 53 /file/writev/async_all-cancellation 945s # End of writev tests 945s # Start of from-uri tests 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/from-uri/ignores-query-string/.dirs/runtime 945s ok 54 /file/from-uri/ignores-query-string 945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/home 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/cache 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/system-config2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/config 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/system-data2 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/data 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/state 945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_5HCH02/file/from-uri/ignores-fragment/.dirs/runtime 945s ok - glib/file.test 945s # Running test: glib/reference.test 945s ok 55 /file/from-uri/ignores-fragment 945s # End of from-uri tests 945s # End of file tests 945s TAP version 14 945s # random seed: R02S70c080cf4f25b8bffdc2a3657133a4b3 945s 1..29 945s # Start of type tests 945s ok 1 /type/fundamentals 945s ok 2 /type/qdata 945s ok 3 /type/query 945s ok 4 /type/class-private 945s # End of type tests 945s # Start of object tests 945s ok 5 /object/clear 945s ok 6 /object/clear-function 945s ok 7 /object/set 945s ok 8 /object/set-function 945s ok 9 /object/value 945s ok 10 /object/initially-unowned 945s ok 11 /object/weak-pointer 945s ok 12 /object/weak-ref 945s ok 13 /object/toggle-ref 945s ok 14 /object/qdata 945s ok 15 /object/qdata2 945s # Start of set tests 945s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 945s ok 16 /object/set/derived-type 945s # End of set tests 945s # Start of weak-pointer tests 945s ok 17 /object/weak-pointer/clear 945s ok 18 /object/weak-pointer/clear-function 945s ok 19 /object/weak-pointer/set 945s ok 20 /object/weak-pointer/set-function 945s # End of weak-pointer tests 945s # Start of weak-ref tests 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 945s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 945s ok 21 /object/weak-ref/on-dispose 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 945s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 945s ok 22 /object/weak-ref/on-run-dispose 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 945s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 945s ok 23 /object/weak-ref/on-toggle-notify 945s ok 24 /object/weak-ref/in-toggle-notify 945s ok 25 /object/weak-ref/many 945s # Start of concurrent tests 945s ok 26 /object/weak-ref/concurrent/0 945s ok - glib/reference.test 945s ok 27 /object/weak-ref/concurrent/1 945s # End of concurrent tests 945s # End of weak-ref tests 945s # Start of toggle-ref tests 945s ok 28 /object/toggle-ref/ref-on-dispose 945s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 945s # End of toggle-ref tests 945s # End of object tests 945s # Running test: glib/utils-c-89.test 945s TAP version 14 945s # random seed: R02Sa2e0ac33d5e29c35bfb50047fc2627c9 945s 1..40 945s # Start of utils tests 945s ok 1 /utils/language-names 945s ok 2 /utils/locale-variants 945s ok 3 /utils/version 945s ok 4 /utils/appname 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 945s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 945s ok 5 /utils/prgname-thread-safety 945s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 945s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 945s ok 6 /utils/tmpdir 945s ok 7 /utils/basic_bits 945s ok 8 /utils/bits 945s ok 9 /utils/swap 945s ok 10 /utils/find-program 945s ok 11 /utils/find-program-for-path 945s ok 12 /utils/debug 945s ok 13 /utils/codeset 945s ok 14 /utils/codeset2 945s ok 15 /utils/console-charset 945s ok - glib/utils-c-89.test 945s # Running test: glib/signals-refcount2.test 945s ok 16 /utils/gettext 945s ok 17 /utils/username 945s ok 18 /utils/realname 945s ok 19 /utils/hostname 945s ok 20 /utils/xdgdirs 945s ok 21 /utils/specialdir 945s # NAME: Ubuntu 945s ok 22 /utils/os-info 945s ok 23 /utils/clear-pointer 945s ok 24 /utils/clear-pointer-cast 945s ok 25 /utils/take-pointer 945s ok 26 /utils/clear-source 945s ok 27 /utils/misc-mem 945s # /utils/aligned-mem summary: Aligned memory allocator 945s # Alignment must not be zero 945s # Alignment must be a power of two 945s # Alignment must be a multiple of sizeof(void*) 945s ok 28 /utils/aligned-mem 945s # /utils/free-sized summary: Check that g_free_sized() works 945s ok 29 /utils/free-sized 945s ok 30 /utils/nullify 945s ok 31 /utils/atexit 945s ok 32 /utils/check-setuid 945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 945s ok 33 /utils/int-limits 945s ok 34 /utils/clear-list 945s ok 35 /utils/clear-slist 945s # Start of specialdir tests 945s ok 36 /utils/specialdir/desktop 945s # End of specialdir tests 945s # Start of clear-pointer tests 945s ok 37 /utils/clear-pointer/side-effects 945s # End of clear-pointer tests 945s # Start of aligned-mem tests 945s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 945s ok 38 /utils/aligned-mem/alignment 945s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 945s ok 39 /utils/aligned-mem/zeroed 945s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 945s ok 40 /utils/aligned-mem/free-sized 945s # Start of subprocess tests 945s # End of subprocess tests 945s # End of aligned-mem tests 945s # End of utils tests 945s TAP version 14 945s # random seed: R02S5331e78e40bb9c88154fe889ec345d91 945s 1..1 945s # Start of gobject tests 945s # Start of refcount tests 945s # init 0xafd7c15f420 945s # 945s # init 0xafd7c15f5c0 945s # 948s # Executing: glib/signals-refcount2.test 950s ok - glib/signals-refcount2.test 950s # Running test: glib/appmonitor.test 950s # dispose 0xafd7c15f420! 950s # 950s # dispose 0xafd7c15f5c0! 950s # 950s ok 1 /gobject/refcount/signals 950s # slow test /gobject/refcount/signals executed in 5.00 secs 950s # End of refcount tests 950s # End of gobject tests 950s TAP version 14 950s # random seed: R02S116bce60ecda7ba65e79bc2510022a1d 950s 1..1 950s # Start of monitor tests 950s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_WQKC02/monitor/app/.dirs/home 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_WQKC02/monitor/app/.dirs/cache 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_WQKC02/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_WQKC02/monitor/app/.dirs/system-config2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_WQKC02/monitor/app/.dirs/config 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_WQKC02/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_WQKC02/monitor/app/.dirs/system-data2 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_WQKC02/monitor/app/.dirs/data 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_WQKC02/monitor/app/.dirs/state 950s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_WQKC02/monitor/app/.dirs/runtime 950s # Using data directory: /tmp/test_appmonitor_WQKC02/monitor/app/.dirs/data 950s ok 1 /monitor/app 950s # End of monitor tests 950s ok - glib/appmonitor.test 950s # Running test: glib/closure.test 950s TAP version 14 950s # random seed: R02S81098d7ce3e992b8dff48342794a8af6 950s 1..6 950s # Start of closure tests 950s ok 1 /closure/idle 951s ok - glib/closure.test 951s # Running test: glib/data-input-stream.test 951s ok 2 /closure/timeout 951s ok 3 /closure/iochannel 951s ok 4 /closure/child 951s ok 5 /closure/fd 951s ok 6 /closure/signal 951s # End of closure tests 951s TAP version 14 951s # random seed: R02S30c6810988c27e487f6be24561d15b6d 951s 1..10 951s # Start of data-input-stream tests 951s ok 1 /data-input-stream/basic 951s ok 2 /data-input-stream/read-lines-LF 951s ok 3 /data-input-stream/read-lines-LF-valid-utf8 951s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 951s ok 5 /data-input-stream/read-lines-CR 951s ok 6 /data-input-stream/read-lines-CR-LF 951s ok 7 /data-input-stream/read-lines-any 951s ok 8 /data-input-stream/read-until 951s ok 9 /data-input-stream/read-upto 951s ok 10 /data-input-stream/read-int 951s # End of data-input-stream tests 951s ok - glib/data-input-stream.test 951s TAP version 14 951s # random seed: R02S113de56ba0442394e657ac5f02297bca 951s # GLib-DEBUG: Current user locale: C.UTF-8 951s 1..6 951s # Start of search tests 951s # GLib-DEBUG: Started 951s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 951s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 951s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 951s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 951s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 951s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 951s ok 1 /search/basic 951s # GLib-DEBUG: Started 951s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 951s # Running test: glib/search-utils.test 951s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 951s # GLib-DEBUG: 'ele' - 'élève' should match: OK 951s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 951s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 951s ok 2 /search/composed 951s # GLib-DEBUG: Started 951s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 951s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 951s ok 3 /search/decomposed 951s # GLib-DEBUG: Started 951s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 951s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 951s ok 4 /search/turkish 951s # GLib-DEBUG: Started 951s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 951s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 951s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 951s ok 5 /search/c_locale_unicode 951s # GLib-DEBUG: Started 951s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 951s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 951s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 951s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 951s ok 6 /search/multi_words 951s # End of search tests 951s ok - glib/search-utils.test 951s # Running test: glib/hook.test 951s TAP version 14 951s # random seed: R02S333592893a2b32ef85d18082b60c5ab0 951s 1..2 951s ok - glib/hook.test 951s # Running test: glib/codegen.py.test 951s # Start of hook tests 951s ok 1 /hook/basics 951s ok 2 /hook/corner-cases 951s # End of hook tests 951s TAP version 13 951s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 951s # tmpdir: /tmp/tmprtk6tfb2 951s # codegen: /usr/bin/gdbus-codegen 951s # /tmp/tmprtk6tfb2/tmpkzdhder8.xml: 951s # 951s # 951s # 951s # 951s # 951s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprtk6tfb2/tmpkzdhder8.xml', '--output', '-', '--header'] 951s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 951s # Output: /* 951s # * This file is generated by gdbus-codegen, do not modify it. 951s # * 951s # * The license of this code is the same as for the D-Bus interface description 951s # * it was derived from. Note that it links to GLib, so must comply with the 951s # * LGPL linking clauses. 951s # */ 951s # 951s # #ifndef __STDOUT__ 951s # #define __STDOUT__ 951s # 951s # #include 951s # 951s # G_BEGIN_DECLS 951s # 951s # 951s # /* ------------------------------------------------------------------------ */ 951s # /* Declarations for org.project.UsefulInterface */ 951s # 951s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 951s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 951s # 951s # struct _OrgProjectUsefulInterface; 951s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 951s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 951s # 951s # struct _OrgProjectUsefulInterfaceIface 951s # { 951s # GTypeInterface parent_iface; 951s # 951s # gboolean (*handle_useful_method) ( 951s # OrgProjectUsefulInterface *object, 951s # GDBusMethodInvocation *invocation); 951s # 951s # }; 951s # 951s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 951s # 951s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 951s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 951s # 951s # 951s # /* D-Bus method call completion functions: */ 951s # void org_project_useful_interface_complete_useful_method ( 951s # OrgProjectUsefulInterface *object, 951s # GDBusMethodInvocation *invocation); 951s # 951s # 951s # 951s # /* D-Bus method calls: */ 951s # void org_project_useful_interface_call_useful_method ( 951s # OrgProjectUsefulInterface *proxy, 951s # GCancellable *cancellable, 951s # GAsyncReadyCallback callback, 951s # gpointer user_data); 951s # 951s # gboolean org_project_useful_interface_call_useful_method_finish ( 951s # OrgProjectUsefulInterface *proxy, 951s # GAsyncResult *res, 951s # GError **error); 951s # 951s # gboolean org_project_useful_interface_call_useful_method_sync ( 951s # OrgProjectUsefulInterface *proxy, 951s # GCancellable *cancellable, 951s # GError **error); 951s # 951s # 951s # 951s # /* ---- */ 951s # 951s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 951s # 951s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 951s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 951s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 951s # 951s # struct _OrgProjectUsefulInterfaceProxy 951s # { 951s # /*< private >*/ 951s # GDBusProxy parent_instance; 951s # OrgProjectUsefulInterfaceProxyPrivate *priv; 951s # }; 951s # 951s # struct _OrgProjectUsefulInterfaceProxyClass 951s # { 951s # GDBusProxyClass parent_class; 951s # }; 951s # 951s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 951s # 951s # #if GLIB_CHECK_VERSION(2, 44, 0) 951s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 951s # #endif 951s # 951s # void org_project_useful_interface_proxy_new ( 951s # GDBusConnection *connection, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GAsyncReadyCallback callback, 951s # gpointer user_data); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 951s # GAsyncResult *res, 951s # GError **error); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 951s # GDBusConnection *connection, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GError **error); 951s # 951s # void org_project_useful_interface_proxy_new_for_bus ( 951s # GBusType bus_type, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GAsyncReadyCallback callback, 951s # gpointer user_data); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 951s # GAsyncResult *res, 951s # GError **error); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 951s # GBusType bus_type, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GError **error); 951s # 951s # 951s # /* ---- */ 951s # 951s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 951s # 951s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 951s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 951s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 951s # 951s # struct _OrgProjectUsefulInterfaceSkeleton 951s # { 951s # /*< private >*/ 951s # GDBusInterfaceSkeleton parent_instance; 951s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 951s # }; 951s # 951s # struct _OrgProjectUsefulInterfaceSkeletonClass 951s # { 951s # GDBusInterfaceSkeletonClass parent_class; 951s # }; 951s # 951s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 951s # 951s # #if GLIB_CHECK_VERSION(2, 44, 0) 951s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 951s # #endif 951s # 951s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 951s # 951s # 951s # G_END_DECLS 951s # 951s # #endif /* __STDOUT__ */ 951s # /tmp/tmprtk6tfb2/tmpcf0s4dqh.xml: 951s # 951s # 951s # 951s # 951s # 951s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprtk6tfb2/tmpcf0s4dqh.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 951s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 951s # Output: /* 951s # * This file is generated by gdbus-codegen, do not modify it. 951s # * 951s # * The license of this code is the same as for the D-Bus interface description 951s # * it was derived from. Note that it links to GLib, so must comply with the 951s # * LGPL linking clauses. 951s # */ 951s # 951s # #ifndef __STDOUT__ 951s # #define __STDOUT__ 951s # 951s # #include 951s # 951s # G_BEGIN_DECLS 951s # 951s # 951s # /* ------------------------------------------------------------------------ */ 951s # /* Declarations for org.project.UsefulInterface */ 951s # 951s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 951s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 951s # 951s # struct _OrgProjectUsefulInterface; 951s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 951s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 951s # 951s # struct _OrgProjectUsefulInterfaceIface 951s # { 951s # GTypeInterface parent_iface; 951s # 951s # gboolean (*handle_useful_method) ( 951s # OrgProjectUsefulInterface *object, 951s # GDBusMethodInvocation *invocation); 951s # 951s # }; 951s # 951s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 951s # 951s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 951s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 951s # 951s # 951s # /* D-Bus method call completion functions: */ 951s # void org_project_useful_interface_complete_useful_method ( 951s # OrgProjectUsefulInterface *object, 951s # GDBusMethodInvocation *invocation); 951s # 951s # 951s # 951s # /* D-Bus method calls: */ 951s # void org_project_useful_interface_call_useful_method ( 951s # OrgProjectUsefulInterface *proxy, 951s # GCancellable *cancellable, 951s # GAsyncReadyCallback callback, 951s # gpointer user_data); 951s # 951s # gboolean org_project_useful_interface_call_useful_method_finish ( 951s # OrgProjectUsefulInterface *proxy, 951s # GAsyncResult *res, 951s # GError **error); 951s # 951s # gboolean org_project_useful_interface_call_useful_method_sync ( 951s # OrgProjectUsefulInterface *proxy, 951s # GCancellable *cancellable, 951s # GError **error); 951s # 951s # 951s # 951s # /* ---- */ 951s # 951s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 951s # 951s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 951s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 951s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 951s # 951s # struct _OrgProjectUsefulInterfaceProxy 951s # { 951s # /*< private >*/ 951s # GDBusProxy parent_instance; 951s # OrgProjectUsefulInterfaceProxyPrivate *priv; 951s # }; 951s # 951s # struct _OrgProjectUsefulInterfaceProxyClass 951s # { 951s # GDBusProxyClass parent_class; 951s # }; 951s # 951s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 951s # 951s # #if GLIB_CHECK_VERSION(2, 44, 0) 951s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 951s # #endif 951s # 951s # void org_project_useful_interface_proxy_new ( 951s # GDBusConnection *connection, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GAsyncReadyCallback callback, 951s # gpointer user_data); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 951s # GAsyncResult *res, 951s # GError **error); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 951s # GDBusConnection *connection, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GError **error); 951s # 951s # void org_project_useful_interface_proxy_new_for_bus ( 951s # GBusType bus_type, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GAsyncReadyCallback callback, 951s # gpointer user_data); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 951s # GAsyncResult *res, 951s # GError **error); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 951s # GBusType bus_type, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GError **error); 951s # 951s # 951s # /* ---- */ 951s # 951s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 951s # 951s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 951s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 951s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 951s # 951s # struct _OrgProjectUsefulInterfaceSkeleton 951s # { 951s # /*< private >*/ 951s # GDBusInterfaceSkeleton parent_instance; 951s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 951s # }; 951s # 951s # struct _OrgProjectUsefulInterfaceSkeletonClass 951s # { 951s # GDBusInterfaceSkeletonClass parent_class; 951s # }; 951s # 951s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 951s # 951s # #if GLIB_CHECK_VERSION(2, 44, 0) 951s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 951s # #endif 951s # 951s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 951s # 951s # 951s # G_END_DECLS 951s # 951s # #endif /* __STDOUT__ */ 951s # /tmp/tmprtk6tfb2/tmpfsoinllq.xml: 951s # 951s # 951s # 951s # 951s # 951s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprtk6tfb2/tmpfsoinllq.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 951s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 951s # Output: /* 951s # * This file is generated by gdbus-codegen, do not modify it. 951s # * 951s # * The license of this code is the same as for the D-Bus interface description 951s # * it was derived from. Note that it links to GLib, so must comply with the 951s # * LGPL linking clauses. 951s # */ 951s # 951s # #ifndef __STDOUT__ 951s # #define __STDOUT__ 951s # 951s # #include 951s # 951s # G_BEGIN_DECLS 951s # 951s # 951s # /* ------------------------------------------------------------------------ */ 951s # /* Declarations for org.project.UsefulInterface */ 951s # 951s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 951s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 951s # 951s # struct _OrgProjectUsefulInterface; 951s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 951s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 951s # 951s # struct _OrgProjectUsefulInterfaceIface 951s # { 951s # GTypeInterface parent_iface; 951s # 951s # gboolean (*handle_useful_method) ( 951s # OrgProjectUsefulInterface *object, 951s # GDBusMethodInvocation *invocation); 951s # 951s # }; 951s # 951s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 951s # 951s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 951s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 951s # 951s # 951s # /* D-Bus method call completion functions: */ 951s # void org_project_useful_interface_complete_useful_method ( 951s # OrgProjectUsefulInterface *object, 951s # GDBusMethodInvocation *invocation); 951s # 951s # 951s # 951s # /* D-Bus method calls: */ 951s # void org_project_useful_interface_call_useful_method ( 951s # OrgProjectUsefulInterface *proxy, 951s # GDBusCallFlags call_flags, 951s # gint timeout_msec, 951s # GCancellable *cancellable, 951s # GAsyncReadyCallback callback, 951s # gpointer user_data); 951s # 951s # gboolean org_project_useful_interface_call_useful_method_finish ( 951s # OrgProjectUsefulInterface *proxy, 951s # GAsyncResult *res, 951s # GError **error); 951s # 951s # gboolean org_project_useful_interface_call_useful_method_sync ( 951s # OrgProjectUsefulInterface *proxy, 951s # GDBusCallFlags call_flags, 951s # gint timeout_msec, 951s # GCancellable *cancellable, 951s # GError **error); 951s # 951s # 951s # 951s # /* ---- */ 951s # 951s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 951s # 951s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 951s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 951s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 951s # 951s # struct _OrgProjectUsefulInterfaceProxy 951s # { 951s # /*< private >*/ 951s # GDBusProxy parent_instance; 951s # OrgProjectUsefulInterfaceProxyPrivate *priv; 951s # }; 951s # 951s # struct _OrgProjectUsefulInterfaceProxyClass 951s # { 951s # GDBusProxyClass parent_class; 951s # }; 951s # 951s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 951s # 951s # #if GLIB_CHECK_VERSION(2, 44, 0) 951s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 951s # #endif 951s # 951s # void org_project_useful_interface_proxy_new ( 951s # GDBusConnection *connection, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GAsyncReadyCallback callback, 951s # gpointer user_data); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 951s # GAsyncResult *res, 951s # GError **error); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 951s # GDBusConnection *connection, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GError **error); 951s # 951s # void org_project_useful_interface_proxy_new_for_bus ( 951s # GBusType bus_type, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GAsyncReadyCallback callback, 951s # gpointer user_data); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 951s # GAsyncResult *res, 951s # GError **error); 951s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 951s # GBusType bus_type, 951s # GDBusProxyFlags flags, 951s # const gchar *name, 951s # const gchar *object_path, 951s # GCancellable *cancellable, 951s # GError **error); 951s # 951s # 951s # /* ---- */ 951s # 951s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 951s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 951s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 951s # 951s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 951s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 951s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 951s # 951s # struct _OrgProjectUsefulInterfaceSkeleton 951s # { 951s # /*< private >*/ 951s # GDBusInterfaceSkeleton parent_instance; 951s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 951s # }; 951s # 951s # struct _OrgProjectUsefulInterfaceSkeletonClass 951s # { 951s # GDBusInterfaceSkeletonClass parent_class; 951s # }; 951s # 951s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 951s # 951s # #if GLIB_CHECK_VERSION(2, 44, 0) 951s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 951s # #endif 951s # 951s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 951s # 951s # 951s # G_END_DECLS 951s # 951s # #endif /* __STDOUT__ */ 952s ok 2 __main__.TestCodegen.test_dbus_types 952s # tmpdir: /tmp/tmp4br99u8i 952s # codegen: /usr/bin/gdbus-codegen 952s # /tmp/tmp4br99u8i/tmpwgdhj6pu.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmpwgdhj6pu.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmp0kub07z3.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmp0kub07z3.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmpwn70nzpw.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmpwn70nzpw.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmp98p6qb92.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmp98p6qb92.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmpe7vy1dfu.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmpe7vy1dfu.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmpq_ioqjv5.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmpq_ioqjv5.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmpqwnlma6q.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmpqwnlma6q.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmphk4hst2k.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmphk4hst2k.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmpxxtbhqil.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmpxxtbhqil.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmpdnvxawmc.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmpdnvxawmc.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmp82itilop.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmp82itilop.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmp1ptgist7.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmp1ptgist7.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmpsimkj457.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmpsimkj457.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # /tmp/tmp4br99u8i/tmphputijtt.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmphputijtt.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: /* 952s # * This file is generated by gdbus-codegen, do not modify it. 952s # * 952s # * The license of this code is the same as for the D-Bus interface description 952s # * it was derived from. Note that it links to GLib, so must comply with the 952s # * LGPL linking clauses. 952s # */ 952s # 952s # #ifdef HAVE_CONFIG_H 952s # # include "config.h" 952s # #endif 952s # 952s # #include 952s # #ifdef G_OS_UNIX 952s # # include 952s # #endif 952s # 952s # #ifdef G_ENABLE_DEBUG 952s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 952s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 952s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 952s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 952s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 952s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 952s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 952s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 952s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 952s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 952s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 952s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 952s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 952s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 952s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 952s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 952s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 952s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 952s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 952s # #else /* !G_ENABLE_DEBUG */ 952s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 952s # * Do not access GValues directly in your code. Instead, use the 952s # * g_value_get_*() functions 952s # */ 952s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 952s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 952s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 952s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 952s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 952s # #endif /* !G_ENABLE_DEBUG */ 952s # 952s # typedef struct 952s # { 952s # GDBusArgInfo parent_struct; 952s # gboolean use_gvariant; 952s # } _ExtendedGDBusArgInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusMethodInfo parent_struct; 952s # const gchar *signal_name; 952s # gboolean pass_fdlist; 952s # } _ExtendedGDBusMethodInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusSignalInfo parent_struct; 952s # const gchar *signal_name; 952s # } _ExtendedGDBusSignalInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusPropertyInfo parent_struct; 952s # const gchar *hyphen_name; 952s # guint use_gvariant : 1; 952s # guint emits_changed_signal : 1; 952s # } _ExtendedGDBusPropertyInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusInterfaceInfo parent_struct; 952s # const gchar *hyphen_name; 952s # } _ExtendedGDBusInterfaceInfo; 952s # 952s # typedef struct 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # guint prop_id; 952s # GValue orig_value; /* the value before the change */ 952s # } ChangedProperty; 952s # 952s # static void 952s # _changed_property_free (ChangedProperty *data) 952s # { 952s # g_value_unset (&data->orig_value); 952s # g_free (data); 952s # } 952s # 952s # static gboolean 952s # _g_strv_equal0 (gchar **a, gchar **b) 952s # { 952s # gboolean ret = FALSE; 952s # guint n; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # if (g_strv_length (a) != g_strv_length (b)) 952s # goto out; 952s # for (n = 0; a[n] != NULL; n++) 952s # if (g_strcmp0 (a[n], b[n]) != 0) 952s # goto out; 952s # ret = TRUE; 952s # out: 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _g_variant_equal0 (GVariant *a, GVariant *b) 952s # { 952s # gboolean ret = FALSE; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # ret = g_variant_equal (a, b); 952s # out: 952s # return ret; 952s # } 952s # 952s # G_GNUC_UNUSED static gboolean 952s # _g_value_equal (const GValue *a, const GValue *b) 952s # { 952s # gboolean ret = FALSE; 952s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 952s # switch (G_VALUE_TYPE (a)) 952s # { 952s # case G_TYPE_BOOLEAN: 952s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 952s # break; 952s # case G_TYPE_UCHAR: 952s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 952s # break; 952s # case G_TYPE_INT: 952s # ret = (g_value_get_int (a) == g_value_get_int (b)); 952s # break; 952s # case G_TYPE_UINT: 952s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 952s # break; 952s # case G_TYPE_INT64: 952s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 952s # break; 952s # case G_TYPE_UINT64: 952s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 952s # break; 952s # case G_TYPE_DOUBLE: 952s # { 952s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 952s # gdouble da = g_value_get_double (a); 952s # gdouble db = g_value_get_double (b); 952s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 952s # } 952s # break; 952s # case G_TYPE_STRING: 952s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 952s # break; 952s # case G_TYPE_VARIANT: 952s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 952s # break; 952s # default: 952s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 952s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 952s # else 952s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 952s # break; 952s # } 952s # return ret; 952s # } 952s # 952s # /* ------------------------------------------------------------------------ 952s # * Code for interface GoodTypes 952s # * ------------------------------------------------------------------------ 952s # */ 952s # 952s # /** 952s # * SECTION:GoodTypes 952s # * @title: GoodTypes 952s # * @short_description: Generated C code for the GoodTypes D-Bus interface 952s # * 952s # * This section contains code for working with the GoodTypes D-Bus interface in C. 952s # */ 952s # 952s # /* ---- Introspection data for GoodTypes ---- */ 952s # 952s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 952s # { 952s # { 952s # -1, 952s # (gchar *) "GoodPropertyType", 952s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 952s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 952s # NULL 952s # }, 952s # "good-property-type", 952s # FALSE, 952s # TRUE 952s # }; 952s # 952s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 952s # { 952s # &_good_types_property_info_good_property_type.parent_struct, 952s # NULL 952s # }; 952s # 952s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 952s # { 952s # { 952s # -1, 952s # (gchar *) "GoodTypes", 952s # NULL, 952s # NULL, 952s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 952s # NULL 952s # }, 952s # "good-types", 952s # }; 952s # 952s # 952s # /** 952s # * good_types_interface_info: 952s # * 952s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 952s # * 952s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 952s # */ 952s # GDBusInterfaceInfo * 952s # good_types_interface_info (void) 952s # { 952s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 952s # } 952s # 952s # /** 952s # * good_types_override_properties: 952s # * @klass: The class structure for a #GObject derived class. 952s # * @property_id_begin: The property id to assign to the first overridden property. 952s # * 952s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 952s # * The properties are overridden in the order they are defined. 952s # * 952s # * Returns: The last property id. 952s # */ 952s # guint 952s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 952s # { 952s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 952s # return property_id_begin - 1; 952s # } 952s # 952s # 952s # 952s # /** 952s # * GoodTypes: 952s # * 952s # * Abstract interface type for the D-Bus interface GoodTypes. 952s # */ 952s # 952s # /** 952s # * GoodTypesIface: 952s # * @parent_iface: The parent interface. 952s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 952s # * 952s # * Virtual table for the D-Bus interface GoodTypes. 952s # */ 952s # 952s # typedef GoodTypesIface GoodTypesInterface; 952s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 952s # 952s # static void 952s # good_types_default_init (GoodTypesIface *iface) 952s # { 952s # /* GObject properties for D-Bus properties: */ 952s # /** 952s # * GoodTypes:good-property-type: 952s # * 952s # * Represents the D-Bus property "GoodPropertyType". 952s # * 952s # * 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. 952s # */ 952s # g_object_interface_install_property (iface, 952s # 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)); 952s # } 952s # 952s # /** 952s # * good_types_get_good_property_type: (skip) 952s # * @object: A GoodTypes. 952s # * 952s # * Gets the value of the "GoodPropertyType" D-Bus property. 952s # * 952s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 952s # * 952s # * 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. 952s # * 952s # * 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. 952s # */ 952s # GVariant * 952s # good_types_get_good_property_type (GoodTypes *object) 952s # { 952s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 952s # 952s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 952s # } 952s # 952s # /** 952s # * good_types_dup_good_property_type: (skip) 952s # * @object: A GoodTypes. 952s # * 952s # * Gets a copy of the "GoodPropertyType" D-Bus property. 952s # * 952s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 952s # * 952s # * 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(). 952s # */ 952s # GVariant * 952s # good_types_dup_good_property_type (GoodTypes *object) 952s # { 952s # GVariant *value; 952s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 952s # return value; 952s # } 952s # 952s # /** 952s # * good_types_set_good_property_type: (skip) 952s # * @object: A GoodTypes. 952s # * @value: The value to set. 952s # * 952s # * Sets the "GoodPropertyType" D-Bus property to @value. 952s # * 952s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 952s # */ 952s # void 952s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 952s # { 952s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 952s # } 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * GoodTypesProxy: 952s # * 952s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * GoodTypesProxyClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for GoodTypesProxy. 952s # */ 952s # 952s # struct _GoodTypesProxyPrivate 952s # { 952s # GData *qdata; 952s # }; 952s # 952s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 952s # G_ADD_PRIVATE (GoodTypesProxy) 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 952s # 952s # #endif 952s # static void 952s # good_types_proxy_finalize (GObject *object) 952s # { 952s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 952s # g_datalist_clear (&proxy->priv->qdata); 952s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # good_types_proxy_get_property (GObject *object, 952s # guint prop_id, 952s # GValue *value, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # GVariant *variant; 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 952s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 952s # if (info->use_gvariant) 952s # { 952s # g_value_set_variant (value, variant); 952s # } 952s # else 952s # { 952s # if (variant != NULL) 952s # g_dbus_gvariant_to_gvalue (variant, value); 952s # } 952s # if (variant != NULL) 952s # g_variant_unref (variant); 952s # } 952s # 952s # static void 952s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 952s # GAsyncResult *res, 952s # gpointer user_data) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info = user_data; 952s # GError *error; 952s # GVariant *_ret; 952s # error = NULL; 952s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 952s # if (!_ret) 952s # { 952s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 952s # info->parent_struct.name, 952s # error->message, g_quark_to_string (error->domain), error->code); 952s # g_error_free (error); 952s # } 952s # else 952s # { 952s # g_variant_unref (_ret); 952s # } 952s # } 952s # 952s # static void 952s # good_types_proxy_set_property (GObject *object, 952s # guint prop_id, 952s # const GValue *value, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # GVariant *variant; 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 952s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 952s # g_dbus_proxy_call (G_DBUS_PROXY (object), 952s # "org.freedesktop.DBus.Properties.Set", 952s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 952s # G_DBUS_CALL_FLAGS_NONE, 952s # -1, 952s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 952s # g_variant_unref (variant); 952s # } 952s # 952s # static void 952s # good_types_proxy_g_signal (GDBusProxy *proxy, 952s # const gchar *sender_name G_GNUC_UNUSED, 952s # const gchar *signal_name, 952s # GVariant *parameters) 952s # { 952s # _ExtendedGDBusSignalInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # gsize n; 952s # guint signal_id; 952s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 952s # if (info == NULL) 952s # return; 952s # num_params = g_variant_n_children (parameters); 952s # paramv = g_new0 (GValue, num_params + 1); 952s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 952s # g_value_set_object (¶mv[0], proxy); 952s # g_variant_iter_init (&iter, parameters); 952s # n = 1; 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 952s # g_signal_emitv (paramv, signal_id, 0, NULL); 952s # for (n = 0; n < num_params + 1; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static void 952s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 952s # GVariant *changed_properties, 952s # const gchar *const *invalidated_properties) 952s # { 952s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 952s # guint n; 952s # const gchar *key; 952s # GVariantIter *iter; 952s # _ExtendedGDBusPropertyInfo *info; 952s # g_variant_get (changed_properties, "a{sv}", &iter); 952s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 952s # g_datalist_remove_data (&proxy->priv->qdata, key); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # g_variant_iter_free (iter); 952s # for (n = 0; invalidated_properties[n] != NULL; n++) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 952s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # } 952s # 952s # static GVariant * 952s # good_types_proxy_get_good_property_type (GoodTypes *object) 952s # { 952s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 952s # GVariant *variant; 952s # GVariant *value = NULL; 952s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 952s # value = variant; 952s # if (variant != NULL) 952s # g_variant_unref (variant); 952s # return value; 952s # } 952s # 952s # static void 952s # good_types_proxy_init (GoodTypesProxy *proxy) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # proxy->priv = good_types_proxy_get_instance_private (proxy); 952s # #else 952s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 952s # #endif 952s # 952s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 952s # } 952s # 952s # static void 952s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusProxyClass *proxy_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = good_types_proxy_finalize; 952s # gobject_class->get_property = good_types_proxy_get_property; 952s # gobject_class->set_property = good_types_proxy_set_property; 952s # 952s # proxy_class = G_DBUS_PROXY_CLASS (klass); 952s # proxy_class->g_signal = good_types_proxy_g_signal; 952s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 952s # 952s # good_types_override_properties (gobject_class, 1); 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # good_types_proxy_iface_init (GoodTypesIface *iface) 952s # { 952s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 952s # } 952s # 952s # /** 952s # * good_types_proxy_new: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 952s # * 952s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # good_types_proxy_new ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with good_types_proxy_new(). 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_sync: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See good_types_proxy_new() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_sync ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /** 952s # * good_types_proxy_new_for_bus: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 952s # * 952s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # good_types_proxy_new_for_bus ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_for_bus_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with good_types_proxy_new_for_bus(). 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_for_bus_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_for_bus_sync: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_for_bus_sync ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * GoodTypesSkeleton: 952s # * 952s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * GoodTypesSkeletonClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for GoodTypesSkeleton. 952s # */ 952s # 952s # struct _GoodTypesSkeletonPrivate 952s # { 952s # GValue *properties; 952s # GList *changed_properties; 952s # GSource *changed_properties_idle_source; 952s # GMainContext *context; 952s # GMutex lock; 952s # }; 952s # 952s # static void 952s # _good_types_skeleton_handle_method_call ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name, 952s # const gchar *method_name, 952s # GVariant *parameters, 952s # GDBusMethodInvocation *invocation, 952s # gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # _ExtendedGDBusMethodInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # guint num_extra; 952s # gsize n; 952s # guint signal_id; 952s # GValue return_value = G_VALUE_INIT; 952s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 952s # g_assert (info != NULL); 952s # num_params = g_variant_n_children (parameters); 952s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 952s # n = 0; 952s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 952s # g_value_set_object (¶mv[n++], skeleton); 952s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 952s # g_value_set_object (¶mv[n++], invocation); 952s # if (info->pass_fdlist) 952s # { 952s # #ifdef G_OS_UNIX 952s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 952s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 952s # #else 952s # g_assert_not_reached (); 952s # #endif 952s # } 952s # g_variant_iter_init (&iter, parameters); 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 952s # g_value_init (&return_value, G_TYPE_BOOLEAN); 952s # g_signal_emitv (paramv, signal_id, 0, &return_value); 952s # if (!g_value_get_boolean (&return_value)) 952s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 952s # g_value_unset (&return_value); 952s # for (n = 0; n < num_params + num_extra; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static GVariant * 952s # _good_types_skeleton_handle_get_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # GVariant *ret; 952s # ret = NULL; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # g_value_init (&value, pspec->value_type); 952s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 952s # g_value_unset (&value); 952s # } 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _good_types_skeleton_handle_set_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GVariant *variant, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # gboolean ret; 952s # ret = FALSE; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # if (info->use_gvariant) 952s # g_value_set_variant (&value, variant); 952s # else 952s # g_dbus_gvariant_to_gvalue (variant, &value); 952s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # g_value_unset (&value); 952s # ret = TRUE; 952s # } 952s # return ret; 952s # } 952s # 952s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 952s # { 952s # _good_types_skeleton_handle_method_call, 952s # _good_types_skeleton_handle_get_property, 952s # _good_types_skeleton_handle_set_property, 952s # {NULL} 952s # }; 952s # 952s # static GDBusInterfaceInfo * 952s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return good_types_interface_info (); 952s # } 952s # 952s # static GDBusInterfaceVTable * 952s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 952s # } 952s # 952s # static GVariant * 952s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 952s # 952s # GVariantBuilder builder; 952s # guint n; 952s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 952s # if (_good_types_interface_info.parent_struct.properties == NULL) 952s # goto out; 952s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 952s # { 952s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 952s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 952s # { 952s # GVariant *value; 952s # 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); 952s # if (value != NULL) 952s # { 952s # g_variant_take_ref (value); 952s # g_variant_builder_add (&builder, "{sv}", info->name, value); 952s # g_variant_unref (value); 952s # } 952s # } 952s # } 952s # out: 952s # return g_variant_builder_end (&builder); 952s # } 952s # 952s # static gboolean _good_types_emit_changed (gpointer user_data); 952s # 952s # static void 952s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 952s # gboolean emit_changed = FALSE; 952s # 952s # g_mutex_lock (&skeleton->priv->lock); 952s # if (skeleton->priv->changed_properties_idle_source != NULL) 952s # { 952s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 952s # skeleton->priv->changed_properties_idle_source = NULL; 952s # emit_changed = TRUE; 952s # } 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # 952s # if (emit_changed) 952s # _good_types_emit_changed (skeleton); 952s # } 952s # 952s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_ADD_PRIVATE (GoodTypesSkeleton) 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 952s # 952s # #endif 952s # static void 952s # good_types_skeleton_finalize (GObject *object) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # guint n; 952s # for (n = 0; n < 1; n++) 952s # g_value_unset (&skeleton->priv->properties[n]); 952s # g_free (skeleton->priv->properties); 952s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 952s # if (skeleton->priv->changed_properties_idle_source != NULL) 952s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 952s # g_main_context_unref (skeleton->priv->context); 952s # g_mutex_clear (&skeleton->priv->lock); 952s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # good_types_skeleton_get_property (GObject *object, 952s # guint prop_id, 952s # GValue *value, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # g_mutex_lock (&skeleton->priv->lock); 952s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # } 952s # 952s # static gboolean 952s # _good_types_emit_changed (gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # GList *l; 952s # GVariantBuilder builder; 952s # GVariantBuilder invalidated_builder; 952s # guint num_changes; 952s # 952s # g_mutex_lock (&skeleton->priv->lock); 952s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 952s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 952s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 952s # { 952s # ChangedProperty *cp = l->data; 952s # GVariant *variant; 952s # const GValue *cur_value; 952s # 952s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 952s # if (!_g_value_equal (cur_value, &cp->orig_value)) 952s # { 952s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 952s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 952s # g_variant_unref (variant); 952s # num_changes++; 952s # } 952s # } 952s # if (num_changes > 0) 952s # { 952s # GList *connections, *ll; 952s # GVariant *signal_variant; 952s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 952s # &builder, &invalidated_builder)); 952s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 952s # for (ll = connections; ll != NULL; ll = ll->next) 952s # { 952s # GDBusConnection *connection = ll->data; 952s # 952s # g_dbus_connection_emit_signal (connection, 952s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 952s # "org.freedesktop.DBus.Properties", 952s # "PropertiesChanged", 952s # signal_variant, 952s # NULL); 952s # } 952s # g_variant_unref (signal_variant); 952s # g_list_free_full (connections, g_object_unref); 952s # } 952s # else 952s # { 952s # g_variant_builder_clear (&builder); 952s # g_variant_builder_clear (&invalidated_builder); 952s # } 952s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 952s # skeleton->priv->changed_properties = NULL; 952s # skeleton->priv->changed_properties_idle_source = NULL; 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # return FALSE; 952s # } 952s # 952s # static void 952s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 952s # { 952s # ChangedProperty *cp; 952s # GList *l; 952s # cp = NULL; 952s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 952s # { 952s # ChangedProperty *i_cp = l->data; 952s # if (i_cp->info == info) 952s # { 952s # cp = i_cp; 952s # break; 952s # } 952s # } 952s # if (cp == NULL) 952s # { 952s # cp = g_new0 (ChangedProperty, 1); 952s # cp->prop_id = prop_id; 952s # cp->info = info; 952s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 952s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 952s # g_value_copy (orig_value, &cp->orig_value); 952s # } 952s # } 952s # 952s # static void 952s # good_types_skeleton_notify (GObject *object, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # g_mutex_lock (&skeleton->priv->lock); 952s # if (skeleton->priv->changed_properties != NULL && 952s # skeleton->priv->changed_properties_idle_source == NULL) 952s # { 952s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 952s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 952s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 952s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 952s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 952s # g_source_unref (skeleton->priv->changed_properties_idle_source); 952s # } 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # } 952s # 952s # static void 952s # good_types_skeleton_set_property (GObject *object, 952s # guint prop_id, 952s # const GValue *value, 952s # GParamSpec *pspec) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 952s # g_mutex_lock (&skeleton->priv->lock); 952s # g_object_freeze_notify (object); 952s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 952s # { 952s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 952s # info->emits_changed_signal) 952s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 952s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 952s # g_object_notify_by_pspec (object, pspec); 952s # } 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # g_object_thaw_notify (object); 952s # } 952s # 952s # static void 952s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 952s # #else 952s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 952s # #endif 952s # 952s # g_mutex_init (&skeleton->priv->lock); 952s # skeleton->priv->context = g_main_context_ref_thread_default (); 952s # skeleton->priv->properties = g_new0 (GValue, 1); 952s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 952s # } 952s # 952s # static GVariant * 952s # good_types_skeleton_get_good_property_type (GoodTypes *object) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # GVariant *value; 952s # g_mutex_lock (&skeleton->priv->lock); 952s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # return value; 952s # } 952s # 952s # static void 952s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusInterfaceSkeletonClass *skeleton_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = good_types_skeleton_finalize; 952s # gobject_class->get_property = good_types_skeleton_get_property; 952s # gobject_class->set_property = good_types_skeleton_set_property; 952s # gobject_class->notify = good_types_skeleton_notify; 952s # 952s # 952s # good_types_override_properties (gobject_class, 1); 952s # 952s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 952s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 952s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 952s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 952s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # good_types_skeleton_iface_init (GoodTypesIface *iface) 952s # { 952s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 952s # } 952s # 952s # /** 952s # * good_types_skeleton_new: 952s # * 952s # * Creates a skeleton object for the D-Bus interface GoodTypes. 952s # * 952s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 952s # */ 952s # GoodTypes * 952s # good_types_skeleton_new (void) 952s # { 952s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 952s # } 952s # /tmp/tmp4br99u8i/tmp98goacz0.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmp98goacz0.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: /* 952s # * This file is generated by gdbus-codegen, do not modify it. 952s # * 952s # * The license of this code is the same as for the D-Bus interface description 952s # * it was derived from. Note that it links to GLib, so must comply with the 952s # * LGPL linking clauses. 952s # */ 952s # 952s # #ifdef HAVE_CONFIG_H 952s # # include "config.h" 952s # #endif 952s # 952s # #include 952s # #ifdef G_OS_UNIX 952s # # include 952s # #endif 952s # 952s # #ifdef G_ENABLE_DEBUG 952s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 952s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 952s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 952s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 952s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 952s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 952s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 952s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 952s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 952s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 952s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 952s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 952s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 952s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 952s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 952s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 952s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 952s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 952s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 952s # #else /* !G_ENABLE_DEBUG */ 952s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 952s # * Do not access GValues directly in your code. Instead, use the 952s # * g_value_get_*() functions 952s # */ 952s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 952s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 952s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 952s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 952s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 952s # #endif /* !G_ENABLE_DEBUG */ 952s # 952s # typedef struct 952s # { 952s # GDBusArgInfo parent_struct; 952s # gboolean use_gvariant; 952s # } _ExtendedGDBusArgInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusMethodInfo parent_struct; 952s # const gchar *signal_name; 952s # gboolean pass_fdlist; 952s # } _ExtendedGDBusMethodInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusSignalInfo parent_struct; 952s # const gchar *signal_name; 952s # } _ExtendedGDBusSignalInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusPropertyInfo parent_struct; 952s # const gchar *hyphen_name; 952s # guint use_gvariant : 1; 952s # guint emits_changed_signal : 1; 952s # } _ExtendedGDBusPropertyInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusInterfaceInfo parent_struct; 952s # const gchar *hyphen_name; 952s # } _ExtendedGDBusInterfaceInfo; 952s # 952s # typedef struct 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # guint prop_id; 952s # GValue orig_value; /* the value before the change */ 952s # } ChangedProperty; 952s # 952s # static void 952s # _changed_property_free (ChangedProperty *data) 952s # { 952s # g_value_unset (&data->orig_value); 952s # g_free (data); 952s # } 952s # 952s # static gboolean 952s # _g_strv_equal0 (gchar **a, gchar **b) 952s # { 952s # gboolean ret = FALSE; 952s # guint n; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # if (g_strv_length (a) != g_strv_length (b)) 952s # goto out; 952s # for (n = 0; a[n] != NULL; n++) 952s # if (g_strcmp0 (a[n], b[n]) != 0) 952s # goto out; 952s # ret = TRUE; 952s # out: 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _g_variant_equal0 (GVariant *a, GVariant *b) 952s # { 952s # gboolean ret = FALSE; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # ret = g_variant_equal (a, b); 952s # out: 952s # return ret; 952s # } 952s # 952s # G_GNUC_UNUSED static gboolean 952s # _g_value_equal (const GValue *a, const GValue *b) 952s # { 952s # gboolean ret = FALSE; 952s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 952s # switch (G_VALUE_TYPE (a)) 952s # { 952s # case G_TYPE_BOOLEAN: 952s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 952s # break; 952s # case G_TYPE_UCHAR: 952s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 952s # break; 952s # case G_TYPE_INT: 952s # ret = (g_value_get_int (a) == g_value_get_int (b)); 952s # break; 952s # case G_TYPE_UINT: 952s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 952s # break; 952s # case G_TYPE_INT64: 952s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 952s # break; 952s # case G_TYPE_UINT64: 952s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 952s # break; 952s # case G_TYPE_DOUBLE: 952s # { 952s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 952s # gdouble da = g_value_get_double (a); 952s # gdouble db = g_value_get_double (b); 952s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 952s # } 952s # break; 952s # case G_TYPE_STRING: 952s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 952s # break; 952s # case G_TYPE_VARIANT: 952s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 952s # break; 952s # default: 952s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 952s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 952s # else 952s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 952s # break; 952s # } 952s # return ret; 952s # } 952s # 952s # /* ------------------------------------------------------------------------ 952s # * Code for interface GoodTypes 952s # * ------------------------------------------------------------------------ 952s # */ 952s # 952s # /** 952s # * SECTION:GoodTypes 952s # * @title: GoodTypes 952s # * @short_description: Generated C code for the GoodTypes D-Bus interface 952s # * 952s # * This section contains code for working with the GoodTypes D-Bus interface in C. 952s # */ 952s # 952s # /* ---- Introspection data for GoodTypes ---- */ 952s # 952s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 952s # { 952s # { 952s # -1, 952s # (gchar *) "GoodPropertyType", 952s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 952s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 952s # NULL 952s # }, 952s # "good-property-type", 952s # FALSE, 952s # TRUE 952s # }; 952s # 952s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 952s # { 952s # &_good_types_property_info_good_property_type.parent_struct, 952s # NULL 952s # }; 952s # 952s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 952s # { 952s # { 952s # -1, 952s # (gchar *) "GoodTypes", 952s # NULL, 952s # NULL, 952s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 952s # NULL 952s # }, 952s # "good-types", 952s # }; 952s # 952s # 952s # /** 952s # * good_types_interface_info: 952s # * 952s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 952s # * 952s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 952s # */ 952s # GDBusInterfaceInfo * 952s # good_types_interface_info (void) 952s # { 952s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 952s # } 952s # 952s # /** 952s # * good_types_override_properties: 952s # * @klass: The class structure for a #GObject derived class. 952s # * @property_id_begin: The property id to assign to the first overridden property. 952s # * 952s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 952s # * The properties are overridden in the order they are defined. 952s # * 952s # * Returns: The last property id. 952s # */ 952s # guint 952s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 952s # { 952s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 952s # return property_id_begin - 1; 952s # } 952s # 952s # 952s # 952s # /** 952s # * GoodTypes: 952s # * 952s # * Abstract interface type for the D-Bus interface GoodTypes. 952s # */ 952s # 952s # /** 952s # * GoodTypesIface: 952s # * @parent_iface: The parent interface. 952s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 952s # * 952s # * Virtual table for the D-Bus interface GoodTypes. 952s # */ 952s # 952s # typedef GoodTypesIface GoodTypesInterface; 952s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 952s # 952s # static void 952s # good_types_default_init (GoodTypesIface *iface) 952s # { 952s # /* GObject properties for D-Bus properties: */ 952s # /** 952s # * GoodTypes:good-property-type: 952s # * 952s # * Represents the D-Bus property "GoodPropertyType". 952s # * 952s # * 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. 952s # */ 952s # g_object_interface_install_property (iface, 952s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 952s # } 952s # 952s # /** 952s # * good_types_get_good_property_type: (skip) 952s # * @object: A GoodTypes. 952s # * 952s # * Gets the value of the "GoodPropertyType" D-Bus property. 952s # * 952s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 952s # * 952s # * 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. 952s # * 952s # * 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. 952s # */ 952s # GVariant * 952s # good_types_get_good_property_type (GoodTypes *object) 952s # { 952s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 952s # 952s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 952s # } 952s # 952s # /** 952s # * good_types_dup_good_property_type: (skip) 952s # * @object: A GoodTypes. 952s # * 952s # * Gets a copy of the "GoodPropertyType" D-Bus property. 952s # * 952s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 952s # * 952s # * 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(). 952s # */ 952s # GVariant * 952s # good_types_dup_good_property_type (GoodTypes *object) 952s # { 952s # GVariant *value; 952s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 952s # return value; 952s # } 952s # 952s # /** 952s # * good_types_set_good_property_type: (skip) 952s # * @object: A GoodTypes. 952s # * @value: The value to set. 952s # * 952s # * Sets the "GoodPropertyType" D-Bus property to @value. 952s # * 952s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 952s # */ 952s # void 952s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 952s # { 952s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 952s # } 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * GoodTypesProxy: 952s # * 952s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * GoodTypesProxyClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for GoodTypesProxy. 952s # */ 952s # 952s # struct _GoodTypesProxyPrivate 952s # { 952s # GData *qdata; 952s # }; 952s # 952s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 952s # G_ADD_PRIVATE (GoodTypesProxy) 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 952s # 952s # #endif 952s # static void 952s # good_types_proxy_finalize (GObject *object) 952s # { 952s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 952s # g_datalist_clear (&proxy->priv->qdata); 952s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # good_types_proxy_get_property (GObject *object, 952s # guint prop_id, 952s # GValue *value, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # GVariant *variant; 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 952s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 952s # if (info->use_gvariant) 952s # { 952s # g_value_set_variant (value, variant); 952s # } 952s # else 952s # { 952s # if (variant != NULL) 952s # g_dbus_gvariant_to_gvalue (variant, value); 952s # } 952s # if (variant != NULL) 952s # g_variant_unref (variant); 952s # } 952s # 952s # static void 952s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 952s # GAsyncResult *res, 952s # gpointer user_data) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info = user_data; 952s # GError *error; 952s # GVariant *_ret; 952s # error = NULL; 952s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 952s # if (!_ret) 952s # { 952s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 952s # info->parent_struct.name, 952s # error->message, g_quark_to_string (error->domain), error->code); 952s # g_error_free (error); 952s # } 952s # else 952s # { 952s # g_variant_unref (_ret); 952s # } 952s # } 952s # 952s # static void 952s # good_types_proxy_set_property (GObject *object, 952s # guint prop_id, 952s # const GValue *value, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # GVariant *variant; 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 952s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 952s # g_dbus_proxy_call (G_DBUS_PROXY (object), 952s # "org.freedesktop.DBus.Properties.Set", 952s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 952s # G_DBUS_CALL_FLAGS_NONE, 952s # -1, 952s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 952s # g_variant_unref (variant); 952s # } 952s # 952s # static void 952s # good_types_proxy_g_signal (GDBusProxy *proxy, 952s # const gchar *sender_name G_GNUC_UNUSED, 952s # const gchar *signal_name, 952s # GVariant *parameters) 952s # { 952s # _ExtendedGDBusSignalInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # gsize n; 952s # guint signal_id; 952s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 952s # if (info == NULL) 952s # return; 952s # num_params = g_variant_n_children (parameters); 952s # paramv = g_new0 (GValue, num_params + 1); 952s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 952s # g_value_set_object (¶mv[0], proxy); 952s # g_variant_iter_init (&iter, parameters); 952s # n = 1; 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 952s # g_signal_emitv (paramv, signal_id, 0, NULL); 952s # for (n = 0; n < num_params + 1; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static void 952s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 952s # GVariant *changed_properties, 952s # const gchar *const *invalidated_properties) 952s # { 952s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 952s # guint n; 952s # const gchar *key; 952s # GVariantIter *iter; 952s # _ExtendedGDBusPropertyInfo *info; 952s # g_variant_get (changed_properties, "a{sv}", &iter); 952s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 952s # g_datalist_remove_data (&proxy->priv->qdata, key); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # g_variant_iter_free (iter); 952s # for (n = 0; invalidated_properties[n] != NULL; n++) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 952s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # } 952s # 952s # static GVariant * 952s # good_types_proxy_get_good_property_type (GoodTypes *object) 952s # { 952s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 952s # GVariant *variant; 952s # GVariant *value = NULL; 952s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 952s # value = variant; 952s # if (variant != NULL) 952s # g_variant_unref (variant); 952s # return value; 952s # } 952s # 952s # static void 952s # good_types_proxy_init (GoodTypesProxy *proxy) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # proxy->priv = good_types_proxy_get_instance_private (proxy); 952s # #else 952s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 952s # #endif 952s # 952s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 952s # } 952s # 952s # static void 952s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusProxyClass *proxy_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = good_types_proxy_finalize; 952s # gobject_class->get_property = good_types_proxy_get_property; 952s # gobject_class->set_property = good_types_proxy_set_property; 952s # 952s # proxy_class = G_DBUS_PROXY_CLASS (klass); 952s # proxy_class->g_signal = good_types_proxy_g_signal; 952s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 952s # 952s # good_types_override_properties (gobject_class, 1); 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # good_types_proxy_iface_init (GoodTypesIface *iface) 952s # { 952s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 952s # } 952s # 952s # /** 952s # * good_types_proxy_new: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 952s # * 952s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # good_types_proxy_new ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with good_types_proxy_new(). 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_sync: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See good_types_proxy_new() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_sync ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /** 952s # * good_types_proxy_new_for_bus: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 952s # * 952s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # good_types_proxy_new_for_bus ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_for_bus_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with good_types_proxy_new_for_bus(). 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_for_bus_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_for_bus_sync: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_for_bus_sync ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * GoodTypesSkeleton: 952s # * 952s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * GoodTypesSkeletonClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for GoodTypesSkeleton. 952s # */ 952s # 952s # struct _GoodTypesSkeletonPrivate 952s # { 952s # GValue *properties; 952s # GList *changed_properties; 952s # GSource *changed_properties_idle_source; 952s # GMainContext *context; 952s # GMutex lock; 952s # }; 952s # 952s # static void 952s # _good_types_skeleton_handle_method_call ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name, 952s # const gchar *method_name, 952s # GVariant *parameters, 952s # GDBusMethodInvocation *invocation, 952s # gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # _ExtendedGDBusMethodInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # guint num_extra; 952s # gsize n; 952s # guint signal_id; 952s # GValue return_value = G_VALUE_INIT; 952s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 952s # g_assert (info != NULL); 952s # num_params = g_variant_n_children (parameters); 952s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 952s # n = 0; 952s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 952s # g_value_set_object (¶mv[n++], skeleton); 952s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 952s # g_value_set_object (¶mv[n++], invocation); 952s # if (info->pass_fdlist) 952s # { 952s # #ifdef G_OS_UNIX 952s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 952s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 952s # #else 952s # g_assert_not_reached (); 952s # #endif 952s # } 952s # g_variant_iter_init (&iter, parameters); 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 952s # g_value_init (&return_value, G_TYPE_BOOLEAN); 952s # g_signal_emitv (paramv, signal_id, 0, &return_value); 952s # if (!g_value_get_boolean (&return_value)) 952s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 952s # g_value_unset (&return_value); 952s # for (n = 0; n < num_params + num_extra; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static GVariant * 952s # _good_types_skeleton_handle_get_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # GVariant *ret; 952s # ret = NULL; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # g_value_init (&value, pspec->value_type); 952s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 952s # g_value_unset (&value); 952s # } 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _good_types_skeleton_handle_set_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GVariant *variant, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # gboolean ret; 952s # ret = FALSE; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # if (info->use_gvariant) 952s # g_value_set_variant (&value, variant); 952s # else 952s # g_dbus_gvariant_to_gvalue (variant, &value); 952s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # g_value_unset (&value); 952s # ret = TRUE; 952s # } 952s # return ret; 952s # } 952s # 952s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 952s # { 952s # _good_types_skeleton_handle_method_call, 952s # _good_types_skeleton_handle_get_property, 952s # _good_types_skeleton_handle_set_property, 952s # {NULL} 952s # }; 952s # 952s # static GDBusInterfaceInfo * 952s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return good_types_interface_info (); 952s # } 952s # 952s # static GDBusInterfaceVTable * 952s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 952s # } 952s # 952s # static GVariant * 952s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 952s # 952s # GVariantBuilder builder; 952s # guint n; 952s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 952s # if (_good_types_interface_info.parent_struct.properties == NULL) 952s # goto out; 952s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 952s # { 952s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 952s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 952s # { 952s # GVariant *value; 952s # 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); 952s # if (value != NULL) 952s # { 952s # g_variant_take_ref (value); 952s # g_variant_builder_add (&builder, "{sv}", info->name, value); 952s # g_variant_unref (value); 952s # } 952s # } 952s # } 952s # out: 952s # return g_variant_builder_end (&builder); 952s # } 952s # 952s # static gboolean _good_types_emit_changed (gpointer user_data); 952s # 952s # static void 952s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 952s # gboolean emit_changed = FALSE; 952s # 952s # g_mutex_lock (&skeleton->priv->lock); 952s # if (skeleton->priv->changed_properties_idle_source != NULL) 952s # { 952s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 952s # skeleton->priv->changed_properties_idle_source = NULL; 952s # emit_changed = TRUE; 952s # } 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # 952s # if (emit_changed) 952s # _good_types_emit_changed (skeleton); 952s # } 952s # 952s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_ADD_PRIVATE (GoodTypesSkeleton) 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 952s # 952s # #endif 952s # static void 952s # good_types_skeleton_finalize (GObject *object) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # guint n; 952s # for (n = 0; n < 1; n++) 952s # g_value_unset (&skeleton->priv->properties[n]); 952s # g_free (skeleton->priv->properties); 952s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 952s # if (skeleton->priv->changed_properties_idle_source != NULL) 952s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 952s # g_main_context_unref (skeleton->priv->context); 952s # g_mutex_clear (&skeleton->priv->lock); 952s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # good_types_skeleton_get_property (GObject *object, 952s # guint prop_id, 952s # GValue *value, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # g_mutex_lock (&skeleton->priv->lock); 952s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # } 952s # 952s # static gboolean 952s # _good_types_emit_changed (gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # GList *l; 952s # GVariantBuilder builder; 952s # GVariantBuilder invalidated_builder; 952s # guint num_changes; 952s # 952s # g_mutex_lock (&skeleton->priv->lock); 952s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 952s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 952s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 952s # { 952s # ChangedProperty *cp = l->data; 952s # GVariant *variant; 952s # const GValue *cur_value; 952s # 952s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 952s # if (!_g_value_equal (cur_value, &cp->orig_value)) 952s # { 952s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 952s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 952s # g_variant_unref (variant); 952s # num_changes++; 952s # } 952s # } 952s # if (num_changes > 0) 952s # { 952s # GList *connections, *ll; 952s # GVariant *signal_variant; 952s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 952s # &builder, &invalidated_builder)); 952s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 952s # for (ll = connections; ll != NULL; ll = ll->next) 952s # { 952s # GDBusConnection *connection = ll->data; 952s # 952s # g_dbus_connection_emit_signal (connection, 952s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 952s # "org.freedesktop.DBus.Properties", 952s # "PropertiesChanged", 952s # signal_variant, 952s # NULL); 952s # } 952s # g_variant_unref (signal_variant); 952s # g_list_free_full (connections, g_object_unref); 952s # } 952s # else 952s # { 952s # g_variant_builder_clear (&builder); 952s # g_variant_builder_clear (&invalidated_builder); 952s # } 952s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 952s # skeleton->priv->changed_properties = NULL; 952s # skeleton->priv->changed_properties_idle_source = NULL; 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # return FALSE; 952s # } 952s # 952s # static void 952s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 952s # { 952s # ChangedProperty *cp; 952s # GList *l; 952s # cp = NULL; 952s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 952s # { 952s # ChangedProperty *i_cp = l->data; 952s # if (i_cp->info == info) 952s # { 952s # cp = i_cp; 952s # break; 952s # } 952s # } 952s # if (cp == NULL) 952s # { 952s # cp = g_new0 (ChangedProperty, 1); 952s # cp->prop_id = prop_id; 952s # cp->info = info; 952s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 952s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 952s # g_value_copy (orig_value, &cp->orig_value); 952s # } 952s # } 952s # 952s # static void 952s # good_types_skeleton_notify (GObject *object, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # g_mutex_lock (&skeleton->priv->lock); 952s # if (skeleton->priv->changed_properties != NULL && 952s # skeleton->priv->changed_properties_idle_source == NULL) 952s # { 952s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 952s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 952s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 952s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 952s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 952s # g_source_unref (skeleton->priv->changed_properties_idle_source); 952s # } 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # } 952s # 952s # static void 952s # good_types_skeleton_set_property (GObject *object, 952s # guint prop_id, 952s # const GValue *value, 952s # GParamSpec *pspec) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 952s # g_mutex_lock (&skeleton->priv->lock); 952s # g_object_freeze_notify (object); 952s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 952s # { 952s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 952s # info->emits_changed_signal) 952s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 952s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 952s # g_object_notify_by_pspec (object, pspec); 952s # } 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # g_object_thaw_notify (object); 952s # } 952s # 952s # static void 952s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 952s # #else 952s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 952s # #endif 952s # 952s # g_mutex_init (&skeleton->priv->lock); 952s # skeleton->priv->context = g_main_context_ref_thread_default (); 952s # skeleton->priv->properties = g_new0 (GValue, 1); 952s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 952s # } 952s # 952s # static GVariant * 952s # good_types_skeleton_get_good_property_type (GoodTypes *object) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # GVariant *value; 952s # g_mutex_lock (&skeleton->priv->lock); 952s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # return value; 952s # } 952s # 952s # static void 952s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusInterfaceSkeletonClass *skeleton_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = good_types_skeleton_finalize; 952s # gobject_class->get_property = good_types_skeleton_get_property; 952s # gobject_class->set_property = good_types_skeleton_set_property; 952s # gobject_class->notify = good_types_skeleton_notify; 952s # 952s # 952s # good_types_override_properties (gobject_class, 1); 952s # 952s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 952s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 952s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 952s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 952s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # good_types_skeleton_iface_init (GoodTypesIface *iface) 952s # { 952s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 952s # } 952s # 952s # /** 952s # * good_types_skeleton_new: 952s # * 952s # * Creates a skeleton object for the D-Bus interface GoodTypes. 952s # * 952s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 952s # */ 952s # GoodTypes * 952s # good_types_skeleton_new (void) 952s # { 952s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 952s # } 952s # /tmp/tmp4br99u8i/tmplze6j_pv.xml: 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4br99u8i/tmplze6j_pv.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: /* 952s # * This file is generated by gdbus-codegen, do not modify it. 952s # * 952s # * The license of this code is the same as for the D-Bus interface description 952s # * it was derived from. Note that it links to GLib, so must comply with the 952s # * LGPL linking clauses. 952s # */ 952s # 952s # #ifdef HAVE_CONFIG_H 952s # # include "config.h" 952s # #endif 952s # 952s # #include 952s # #ifdef G_OS_UNIX 952s # # include 952s # #endif 952s # 952s # #ifdef G_ENABLE_DEBUG 952s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 952s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 952s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 952s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 952s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 952s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 952s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 952s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 952s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 952s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 952s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 952s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 952s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 952s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 952s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 952s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 952s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 952s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 952s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 952s # #else /* !G_ENABLE_DEBUG */ 952s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 952s # * Do not access GValues directly in your code. Instead, use the 952s # * g_value_get_*() functions 952s # */ 952s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 952s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 952s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 952s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 952s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 952s # #endif /* !G_ENABLE_DEBUG */ 952s # 952s # typedef struct 952s # { 952s # GDBusArgInfo parent_struct; 952s # gboolean use_gvariant; 952s # } _ExtendedGDBusArgInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusMethodInfo parent_struct; 952s # const gchar *signal_name; 952s # gboolean pass_fdlist; 952s # } _ExtendedGDBusMethodInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusSignalInfo parent_struct; 952s # const gchar *signal_name; 952s # } _ExtendedGDBusSignalInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusPropertyInfo parent_struct; 952s # const gchar *hyphen_name; 952s # guint use_gvariant : 1; 952s # guint emits_changed_signal : 1; 952s # } _ExtendedGDBusPropertyInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusInterfaceInfo parent_struct; 952s # const gchar *hyphen_name; 952s # } _ExtendedGDBusInterfaceInfo; 952s # 952s # typedef struct 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # guint prop_id; 952s # GValue orig_value; /* the value before the change */ 952s # } ChangedProperty; 952s # 952s # static void 952s # _changed_property_free (ChangedProperty *data) 952s # { 952s # g_value_unset (&data->orig_value); 952s # g_free (data); 952s # } 952s # 952s # static gboolean 952s # _g_strv_equal0 (gchar **a, gchar **b) 952s # { 952s # gboolean ret = FALSE; 952s # guint n; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # if (g_strv_length (a) != g_strv_length (b)) 952s # goto out; 952s # for (n = 0; a[n] != NULL; n++) 952s # if (g_strcmp0 (a[n], b[n]) != 0) 952s # goto out; 952s # ret = TRUE; 952s # out: 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _g_variant_equal0 (GVariant *a, GVariant *b) 952s # { 952s # gboolean ret = FALSE; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # ret = g_variant_equal (a, b); 952s # out: 952s # return ret; 952s # } 952s # 952s # G_GNUC_UNUSED static gboolean 952s # _g_value_equal (const GValue *a, const GValue *b) 952s # { 952s # gboolean ret = FALSE; 952s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 952s # switch (G_VALUE_TYPE (a)) 952s # { 952s # case G_TYPE_BOOLEAN: 952s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 952s # break; 952s # case G_TYPE_UCHAR: 952s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 952s # break; 952s # case G_TYPE_INT: 952s # ret = (g_value_get_int (a) == g_value_get_int (b)); 952s # break; 952s # case G_TYPE_UINT: 952s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 952s # break; 952s # case G_TYPE_INT64: 952s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 952s # break; 952s # case G_TYPE_UINT64: 952s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 952s # break; 952s # case G_TYPE_DOUBLE: 952s # { 952s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 952s # gdouble da = g_value_get_double (a); 952s # gdouble db = g_value_get_double (b); 952s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 952s # } 952s # break; 952s # case G_TYPE_STRING: 952s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 952s # break; 952s # case G_TYPE_VARIANT: 952s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 952s # break; 952s # default: 952s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 952s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 952s # else 952s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 952s # break; 952s # } 952s # return ret; 952s # } 952s # 952s # /* ------------------------------------------------------------------------ 952s # * Code for interface GoodTypes 952s # * ------------------------------------------------------------------------ 952s # */ 952s # 952s # /** 952s # * SECTION:GoodTypes 952s # * @title: GoodTypes 952s # * @short_description: Generated C code for the GoodTypes D-Bus interface 952s # * 952s # * This section contains code for working with the GoodTypes D-Bus interface in C. 952s # */ 952s # 952s # /* ---- Introspection data for GoodTypes ---- */ 952s # 952s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 952s # { 952s # { 952s # -1, 952s # (gchar *) "GoodPropertyType", 952s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 952s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 952s # NULL 952s # }, 952s # "good-property-type", 952s # FALSE, 952s # TRUE 952s # }; 952s # 952s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 952s # { 952s # &_good_types_property_info_good_property_type.parent_struct, 952s # NULL 952s # }; 952s # 952s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 952s # { 952s # { 952s # -1, 952s # (gchar *) "GoodTypes", 952s # NULL, 952s # NULL, 952s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 952s # NULL 952s # }, 952s # "good-types", 952s # }; 952s # 952s # 952s # /** 952s # * good_types_interface_info: 952s # * 952s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 952s # * 952s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 952s # */ 952s # GDBusInterfaceInfo * 952s # good_types_interface_info (void) 952s # { 952s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 952s # } 952s # 952s # /** 952s # * good_types_override_properties: 952s # * @klass: The class structure for a #GObject derived class. 952s # * @property_id_begin: The property id to assign to the first overridden property. 952s # * 952s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 952s # * The properties are overridden in the order they are defined. 952s # * 952s # * Returns: The last property id. 952s # */ 952s # guint 952s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 952s # { 952s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 952s # return property_id_begin - 1; 952s # } 952s # 952s # 952s # 952s # /** 952s # * GoodTypes: 952s # * 952s # * Abstract interface type for the D-Bus interface GoodTypes. 952s # */ 952s # 952s # /** 952s # * GoodTypesIface: 952s # * @parent_iface: The parent interface. 952s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 952s # * 952s # * Virtual table for the D-Bus interface GoodTypes. 952s # */ 952s # 952s # typedef GoodTypesIface GoodTypesInterface; 952s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 952s # 952s # static void 952s # good_types_default_init (GoodTypesIface *iface) 952s # { 952s # /* GObject properties for D-Bus properties: */ 952s # /** 952s # * GoodTypes:good-property-type: 952s # * 952s # * Represents the D-Bus property "GoodPropertyType". 952s # * 952s # * 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. 952s # */ 952s # g_object_interface_install_property (iface, 952s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 952s # } 952s # 952s # /** 952s # * good_types_get_good_property_type: (skip) 952s # * @object: A GoodTypes. 952s # * 952s # * Gets the value of the "GoodPropertyType" D-Bus property. 952s # * 952s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 952s # * 952s # * 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. 952s # * 952s # * 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. 952s # */ 952s # GVariant * 952s # good_types_get_good_property_type (GoodTypes *object) 952s # { 952s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 952s # 952s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 952s # } 952s # 952s # /** 952s # * good_types_dup_good_property_type: (skip) 952s # * @object: A GoodTypes. 952s # * 952s # * Gets a copy of the "GoodPropertyType" D-Bus property. 952s # * 952s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 952s # * 952s # * 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(). 952s # */ 952s # GVariant * 952s # good_types_dup_good_property_type (GoodTypes *object) 952s # { 952s # GVariant *value; 952s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 952s # return value; 952s # } 952s # 952s # /** 952s # * good_types_set_good_property_type: (skip) 952s # * @object: A GoodTypes. 952s # * @value: The value to set. 952s # * 952s # * Sets the "GoodPropertyType" D-Bus property to @value. 952s # * 952s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 952s # */ 952s # void 952s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 952s # { 952s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 952s # } 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * GoodTypesProxy: 952s # * 952s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * GoodTypesProxyClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for GoodTypesProxy. 952s # */ 952s # 952s # struct _GoodTypesProxyPrivate 952s # { 952s # GData *qdata; 952s # }; 952s # 952s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 952s # G_ADD_PRIVATE (GoodTypesProxy) 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 952s # 952s # #endif 952s # static void 952s # good_types_proxy_finalize (GObject *object) 952s # { 952s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 952s # g_datalist_clear (&proxy->priv->qdata); 952s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # good_types_proxy_get_property (GObject *object, 952s # guint prop_id, 952s # GValue *value, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # GVariant *variant; 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 952s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 952s # if (info->use_gvariant) 952s # { 952s # g_value_set_variant (value, variant); 952s # } 952s # else 952s # { 952s # if (variant != NULL) 952s # g_dbus_gvariant_to_gvalue (variant, value); 952s # } 952s # if (variant != NULL) 952s # g_variant_unref (variant); 952s # } 952s # 952s # static void 952s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 952s # GAsyncResult *res, 952s # gpointer user_data) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info = user_data; 952s # GError *error; 952s # GVariant *_ret; 952s # error = NULL; 952s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 952s # if (!_ret) 952s # { 952s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 952s # info->parent_struct.name, 952s # error->message, g_quark_to_string (error->domain), error->code); 952s # g_error_free (error); 952s # } 952s # else 952s # { 952s # g_variant_unref (_ret); 952s # } 952s # } 952s # 952s # static void 952s # good_types_proxy_set_property (GObject *object, 952s # guint prop_id, 952s # const GValue *value, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # GVariant *variant; 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 952s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 952s # g_dbus_proxy_call (G_DBUS_PROXY (object), 952s # "org.freedesktop.DBus.Properties.Set", 952s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 952s # G_DBUS_CALL_FLAGS_NONE, 952s # -1, 952s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 952s # g_variant_unref (variant); 952s # } 952s # 952s # static void 952s # good_types_proxy_g_signal (GDBusProxy *proxy, 952s # const gchar *sender_name G_GNUC_UNUSED, 952s # const gchar *signal_name, 952s # GVariant *parameters) 952s # { 952s # _ExtendedGDBusSignalInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # gsize n; 952s # guint signal_id; 952s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 952s # if (info == NULL) 952s # return; 952s # num_params = g_variant_n_children (parameters); 952s # paramv = g_new0 (GValue, num_params + 1); 952s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 952s # g_value_set_object (¶mv[0], proxy); 952s # g_variant_iter_init (&iter, parameters); 952s # n = 1; 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 952s # g_signal_emitv (paramv, signal_id, 0, NULL); 952s # for (n = 0; n < num_params + 1; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static void 952s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 952s # GVariant *changed_properties, 952s # const gchar *const *invalidated_properties) 952s # { 952s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 952s # guint n; 952s # const gchar *key; 952s # GVariantIter *iter; 952s # _ExtendedGDBusPropertyInfo *info; 952s # g_variant_get (changed_properties, "a{sv}", &iter); 952s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 952s # g_datalist_remove_data (&proxy->priv->qdata, key); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # g_variant_iter_free (iter); 952s # for (n = 0; invalidated_properties[n] != NULL; n++) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 952s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # } 952s # 952s # static GVariant * 952s # good_types_proxy_get_good_property_type (GoodTypes *object) 952s # { 952s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 952s # GVariant *variant; 952s # GVariant *value = NULL; 952s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 952s # value = variant; 952s # if (variant != NULL) 952s # g_variant_unref (variant); 952s # return value; 952s # } 952s # 952s # static void 952s # good_types_proxy_init (GoodTypesProxy *proxy) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # proxy->priv = good_types_proxy_get_instance_private (proxy); 952s # #else 952s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 952s # #endif 952s # 952s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 952s # } 952s # 952s # static void 952s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusProxyClass *proxy_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = good_types_proxy_finalize; 952s # gobject_class->get_property = good_types_proxy_get_property; 952s # gobject_class->set_property = good_types_proxy_set_property; 952s # 952s # proxy_class = G_DBUS_PROXY_CLASS (klass); 952s # proxy_class->g_signal = good_types_proxy_g_signal; 952s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 952s # 952s # good_types_override_properties (gobject_class, 1); 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # good_types_proxy_iface_init (GoodTypesIface *iface) 952s # { 952s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 952s # } 952s # 952s # /** 952s # * good_types_proxy_new: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 952s # * 952s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # good_types_proxy_new ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with good_types_proxy_new(). 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_sync: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See good_types_proxy_new() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_sync ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /** 952s # * good_types_proxy_new_for_bus: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 952s # * 952s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # good_types_proxy_new_for_bus ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_for_bus_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with good_types_proxy_new_for_bus(). 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_for_bus_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * good_types_proxy_new_for_bus_sync: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # GoodTypes * 952s # good_types_proxy_new_for_bus_sync ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return GOOD_TYPES (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * GoodTypesSkeleton: 952s # * 952s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * GoodTypesSkeletonClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for GoodTypesSkeleton. 952s # */ 952s # 952s # struct _GoodTypesSkeletonPrivate 952s # { 952s # GValue *properties; 952s # GList *changed_properties; 952s # GSource *changed_properties_idle_source; 952s # GMainContext *context; 952s # GMutex lock; 952s # }; 952s # 952s # static void 952s # _good_types_skeleton_handle_method_call ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name, 952s # const gchar *method_name, 952s # GVariant *parameters, 952s # GDBusMethodInvocation *invocation, 952s # gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # _ExtendedGDBusMethodInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # guint num_extra; 952s # gsize n; 952s # guint signal_id; 952s # GValue return_value = G_VALUE_INIT; 952s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 952s # g_assert (info != NULL); 952s # num_params = g_variant_n_children (parameters); 952s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 952s # n = 0; 952s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 952s # g_value_set_object (¶mv[n++], skeleton); 952s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 952s # g_value_set_object (¶mv[n++], invocation); 952s # if (info->pass_fdlist) 952s # { 952s # #ifdef G_OS_UNIX 952s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 952s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 952s # #else 952s # g_assert_not_reached (); 952s # #endif 952s # } 952s # g_variant_iter_init (&iter, parameters); 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 952s # g_value_init (&return_value, G_TYPE_BOOLEAN); 952s # g_signal_emitv (paramv, signal_id, 0, &return_value); 952s # if (!g_value_get_boolean (&return_value)) 952s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 952s # g_value_unset (&return_value); 952s # for (n = 0; n < num_params + num_extra; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static GVariant * 952s # _good_types_skeleton_handle_get_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # GVariant *ret; 952s # ret = NULL; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # g_value_init (&value, pspec->value_type); 952s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 952s # g_value_unset (&value); 952s # } 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _good_types_skeleton_handle_set_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GVariant *variant, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # gboolean ret; 952s # ret = FALSE; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # if (info->use_gvariant) 952s # g_value_set_variant (&value, variant); 952s # else 952s # g_dbus_gvariant_to_gvalue (variant, &value); 952s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # g_value_unset (&value); 952s # ret = TRUE; 952s # } 952s # return ret; 952s # } 952s # 952s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 952s # { 952s # _good_types_skeleton_handle_method_call, 952s # _good_types_skeleton_handle_get_property, 952s # _good_types_skeleton_handle_set_property, 952s # {NULL} 952s # }; 952s # 952s # static GDBusInterfaceInfo * 952s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return good_types_interface_info (); 952s # } 952s # 952s # static GDBusInterfaceVTable * 952s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 952s # } 952s # 952s # static GVariant * 952s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 952s # 952s # GVariantBuilder builder; 952s # guint n; 952s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 952s # if (_good_types_interface_info.parent_struct.properties == NULL) 952s # goto out; 952s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 952s # { 952s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 952s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 952s # { 952s # GVariant *value; 952s # 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); 952s # if (value != NULL) 952s # { 952s # g_variant_take_ref (value); 952s # g_variant_builder_add (&builder, "{sv}", info->name, value); 952s # g_variant_unref (value); 952s # } 952s # } 952s # } 952s # out: 952s # return g_variant_builder_end (&builder); 952s # } 952s # 952s # static gboolean _good_types_emit_changed (gpointer user_data); 952s # 952s # static void 952s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 952s # gboolean emit_changed = FALSE; 952s # 952s # g_mutex_lock (&skeleton->priv->lock); 952s # if (skeleton->priv->changed_properties_idle_source != NULL) 952s # { 952s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 952s # skeleton->priv->changed_properties_idle_source = NULL; 952s # emit_changed = TRUE; 952s # } 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # 952s # if (emit_changed) 952s # _good_types_emit_changed (skeleton); 952s # } 952s # 952s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_ADD_PRIVATE (GoodTypesSkeleton) 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 952s # 952s # #endif 952s # static void 952s # good_types_skeleton_finalize (GObject *object) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # guint n; 952s # for (n = 0; n < 1; n++) 952s # g_value_unset (&skeleton->priv->properties[n]); 952s # g_free (skeleton->priv->properties); 952s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 952s # if (skeleton->priv->changed_properties_idle_source != NULL) 952s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 952s # g_main_context_unref (skeleton->priv->context); 952s # g_mutex_clear (&skeleton->priv->lock); 952s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # good_types_skeleton_get_property (GObject *object, 952s # guint prop_id, 952s # GValue *value, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # g_mutex_lock (&skeleton->priv->lock); 952s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # } 952s # 952s # static gboolean 952s # _good_types_emit_changed (gpointer user_data) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 952s # GList *l; 952s # GVariantBuilder builder; 952s # GVariantBuilder invalidated_builder; 952s # guint num_changes; 952s # 952s # g_mutex_lock (&skeleton->priv->lock); 952s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 952s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 952s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 952s # { 952s # ChangedProperty *cp = l->data; 952s # GVariant *variant; 952s # const GValue *cur_value; 952s # 952s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 952s # if (!_g_value_equal (cur_value, &cp->orig_value)) 952s # { 952s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 952s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 952s # g_variant_unref (variant); 952s # num_changes++; 952s # } 952s # } 952s # if (num_changes > 0) 952s # { 952s # GList *connections, *ll; 952s # GVariant *signal_variant; 952s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 952s # &builder, &invalidated_builder)); 952s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 952s # for (ll = connections; ll != NULL; ll = ll->next) 952s # { 952s # GDBusConnection *connection = ll->data; 952s # 952s # g_dbus_connection_emit_signal (connection, 952s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 952s # "org.freedesktop.DBus.Properties", 952s # "PropertiesChanged", 952s # signal_variant, 952s # NULL); 952s # } 952s # g_variant_unref (signal_variant); 952s # g_list_free_full (connections, g_object_unref); 952s # } 952s # else 952s # { 952s # g_variant_builder_clear (&builder); 952s # g_variant_builder_clear (&invalidated_builder); 952s # } 952s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 952s # skeleton->priv->changed_properties = NULL; 952s # skeleton->priv->changed_properties_idle_source = NULL; 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # return FALSE; 952s # } 952s # 952s # static void 952s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 952s # { 952s # ChangedProperty *cp; 952s # GList *l; 952s # cp = NULL; 952s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 952s # { 952s # ChangedProperty *i_cp = l->data; 952s # if (i_cp->info == info) 952s # { 952s # cp = i_cp; 952s # break; 952s # } 952s # } 952s # if (cp == NULL) 952s # { 952s # cp = g_new0 (ChangedProperty, 1); 952s # cp->prop_id = prop_id; 952s # cp->info = info; 952s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 952s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 952s # g_value_copy (orig_value, &cp->orig_value); 952s # } 952s # } 952s # 952s # static void 952s # good_types_skeleton_notify (GObject *object, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # g_mutex_lock (&skeleton->priv->lock); 952s # if (skeleton->priv->changed_properties != NULL && 952s # skeleton->priv->changed_properties_idle_source == NULL) 952s # { 952s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 952s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 952s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 952s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 952s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 952s # g_source_unref (skeleton->priv->changed_properties_idle_source); 952s # } 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # } 952s # 952s # static void 952s # good_types_skeleton_set_property (GObject *object, 952s # guint prop_id, 952s # const GValue *value, 952s # GParamSpec *pspec) 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # g_assert (prop_id != 0 && prop_id - 1 < 1); 952s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 952s # g_mutex_lock (&skeleton->priv->lock); 952s # g_object_freeze_notify (object); 952s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 952s # { 952s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 952s # info->emits_changed_signal) 952s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 952s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 952s # g_object_notify_by_pspec (object, pspec); 952s # } 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # g_object_thaw_notify (object); 952s # } 952s # 952s # static void 952s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 952s # #else 952s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 952s # #endif 952s # 952s # g_mutex_init (&skeleton->priv->lock); 952s # skeleton->priv->context = g_main_context_ref_thread_default (); 952s # skeleton->priv->properties = g_new0 (GValue, 1); 952s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 952s # } 952s # 952s # static GVariant * 952s # good_types_skeleton_get_good_property_type (GoodTypes *object) 952s # { 952s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 952s # GVariant *value; 952s # g_mutex_lock (&skeleton->priv->lock); 952s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 952s # g_mutex_unlock (&skeleton->priv->lock); 952s # return value; 952s # } 952s # 952s # static void 952s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusInterfaceSkeletonClass *skeleton_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = good_types_skeleton_finalize; 952s # gobject_class->get_property = good_types_skeleton_get_property; 952s # gobject_class->set_property = good_types_skeleton_set_property; 952s # gobject_class->notify = good_types_skeleton_notify; 952s # 952s # 952s # good_types_override_properties (gobject_class, 1); 952s # 952s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 952s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 952s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 952s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 952s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # good_types_skeleton_iface_init (GoodTypesIface *iface) 952s # { 952s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 952s # } 952s # 952s # /** 952s # * good_types_skeleton_new: 952s # * 952s # * Creates a skeleton object for the D-Bus interface GoodTypes. 952s # * 952s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 952s # */ 952s # GoodTypes * 952s # good_types_skeleton_new (void) 952s # { 952s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 952s # } 952s ok 3 __main__.TestCodegen.test_empty_interface_body 952s # tmpdir: /tmp/tmpzmvhohqg 952s # codegen: /usr/bin/gdbus-codegen 952s # /tmp/tmpzmvhohqg/tmpyfxuuojz.xml: 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzmvhohqg/tmpyfxuuojz.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: /* 952s # * This file is generated by gdbus-codegen, do not modify it. 952s # * 952s # * The license of this code is the same as for the D-Bus interface description 952s # * it was derived from. Note that it links to GLib, so must comply with the 952s # * LGPL linking clauses. 952s # */ 952s # 952s # #ifdef HAVE_CONFIG_H 952s # # include "config.h" 952s # #endif 952s # 952s # #include 952s # #ifdef G_OS_UNIX 952s # # include 952s # #endif 952s # 952s # #ifdef G_ENABLE_DEBUG 952s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 952s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 952s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 952s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 952s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 952s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 952s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 952s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 952s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 952s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 952s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 952s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 952s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 952s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 952s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 952s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 952s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 952s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 952s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 952s # #else /* !G_ENABLE_DEBUG */ 952s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 952s # * Do not access GValues directly in your code. Instead, use the 952s # * g_value_get_*() functions 952s # */ 952s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 952s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 952s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 952s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 952s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 952s # #endif /* !G_ENABLE_DEBUG */ 952s # 952s # typedef struct 952s # { 952s # GDBusArgInfo parent_struct; 952s # gboolean use_gvariant; 952s # } _ExtendedGDBusArgInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusMethodInfo parent_struct; 952s # const gchar *signal_name; 952s # gboolean pass_fdlist; 952s # } _ExtendedGDBusMethodInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusSignalInfo parent_struct; 952s # const gchar *signal_name; 952s # } _ExtendedGDBusSignalInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusPropertyInfo parent_struct; 952s # const gchar *hyphen_name; 952s # guint use_gvariant : 1; 952s # guint emits_changed_signal : 1; 952s # } _ExtendedGDBusPropertyInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusInterfaceInfo parent_struct; 952s # const gchar *hyphen_name; 952s # } _ExtendedGDBusInterfaceInfo; 952s # 952s # typedef struct 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # guint prop_id; 952s # GValue orig_value; /* the value before the change */ 952s # } ChangedProperty; 952s # 952s # static void 952s # _changed_property_free (ChangedProperty *data) 952s # { 952s # g_value_unset (&data->orig_value); 952s # g_free (data); 952s # } 952s # 952s # static gboolean 952s # _g_strv_equal0 (gchar **a, gchar **b) 952s # { 952s # gboolean ret = FALSE; 952s # guint n; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # if (g_strv_length (a) != g_strv_length (b)) 952s # goto out; 952s # for (n = 0; a[n] != NULL; n++) 952s # if (g_strcmp0 (a[n], b[n]) != 0) 952s # goto out; 952s # ret = TRUE; 952s # out: 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _g_variant_equal0 (GVariant *a, GVariant *b) 952s # { 952s # gboolean ret = FALSE; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # ret = g_variant_equal (a, b); 952s # out: 952s # return ret; 952s # } 952s # 952s # G_GNUC_UNUSED static gboolean 952s # _g_value_equal (const GValue *a, const GValue *b) 952s # { 952s # gboolean ret = FALSE; 952s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 952s # switch (G_VALUE_TYPE (a)) 952s # { 952s # case G_TYPE_BOOLEAN: 952s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 952s # break; 952s # case G_TYPE_UCHAR: 952s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 952s # break; 952s # case G_TYPE_INT: 952s # ret = (g_value_get_int (a) == g_value_get_int (b)); 952s # break; 952s # case G_TYPE_UINT: 952s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 952s # break; 952s # case G_TYPE_INT64: 952s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 952s # break; 952s # case G_TYPE_UINT64: 952s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 952s # break; 952s # case G_TYPE_DOUBLE: 952s # { 952s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 952s # gdouble da = g_value_get_double (a); 952s # gdouble db = g_value_get_double (b); 952s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 952s # } 952s # break; 952s # case G_TYPE_STRING: 952s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 952s # break; 952s # case G_TYPE_VARIANT: 952s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 952s # break; 952s # default: 952s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 952s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 952s # else 952s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 952s # break; 952s # } 952s # return ret; 952s # } 952s ok 4 __main__.TestCodegen.test_empty_interface_header 952s # tmpdir: /tmp/tmpxl_ckbs1 952s # codegen: /usr/bin/gdbus-codegen 952s # /tmp/tmpxl_ckbs1/tmpxopqkrdq.xml: 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxl_ckbs1/tmpxopqkrdq.xml', '--output', '-', '--header'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: /* 952s # * This file is generated by gdbus-codegen, do not modify it. 952s # * 952s # * The license of this code is the same as for the D-Bus interface description 952s # * it was derived from. Note that it links to GLib, so must comply with the 952s # * LGPL linking clauses. 952s # */ 952s # 952s # #ifndef __STDOUT__ 952s # #define __STDOUT__ 952s # 952s # #include 952s # 952s # G_BEGIN_DECLS 952s # 952s # 952s # G_END_DECLS 952s # 952s # #endif /* __STDOUT__ */ 952s ok 5 __main__.TestCodegen.test_empty_interface_info_body 952s # tmpdir: /tmp/tmpoahr_p8h 952s # codegen: /usr/bin/gdbus-codegen 952s # /tmp/tmpoahr_p8h/tmpkjpiwn3k.xml: 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoahr_p8h/tmpkjpiwn3k.xml', '--output', '-', '--interface-info-body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: /* 952s # * This file is generated by gdbus-codegen, do not modify it. 952s # * 952s # * The license of this code is the same as for the D-Bus interface description 952s # * it was derived from. Note that it links to GLib, so must comply with the 952s # * LGPL linking clauses. 952s # */ 952s # 952s # #ifdef HAVE_CONFIG_H 952s # # include "config.h" 952s # #endif 952s # 952s # #include 952s ok 6 __main__.TestCodegen.test_empty_interface_info_header 952s # tmpdir: /tmp/tmpw3udreyy 952s # codegen: /usr/bin/gdbus-codegen 952s # /tmp/tmpw3udreyy/tmpdm5d6tzz.xml: 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw3udreyy/tmpdm5d6tzz.xml', '--output', '-', '--interface-info-header'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: /* 952s # * This file is generated by gdbus-codegen, do not modify it. 952s # * 952s # * The license of this code is the same as for the D-Bus interface description 952s # * it was derived from. Note that it links to GLib, so must comply with the 952s # * LGPL linking clauses. 952s # */ 952s # 952s # #ifndef __STDOUT__ 952s # #define __STDOUT__ 952s # 952s # #include 952s # 952s # G_BEGIN_DECLS 952s # 952s # 952s # G_END_DECLS 952s # 952s # #endif /* __STDOUT__ */ 952s ok 7 __main__.TestCodegen.test_generate_docbook 952s # tmpdir: /tmp/tmpck22frxv 952s # codegen: /usr/bin/gdbus-codegen 952s # /tmp/tmpck22frxv/tmpfdyng1rj.xml: 952s # 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck22frxv/tmpfdyng1rj.xml', '--generate-docbook', 'test'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: 952s ok 8 __main__.TestCodegen.test_generate_md 952s # tmpdir: /tmp/tmpth6g9cu1 952s # codegen: /usr/bin/gdbus-codegen 952s # /tmp/tmpth6g9cu1/tmpwdwotsj5.xml: 952s # 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpth6g9cu1/tmpwdwotsj5.xml', '--generate-md', 'test'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: 952s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 952s # tmpdir: /tmp/tmpt584rcqb 952s # codegen: /usr/bin/gdbus-codegen 952s # /tmp/tmpt584rcqb/tmp2vwexp8t.xml: 952s # 952s # 952s # 952s # 952s # 952s # 952s # 952s # 952s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt584rcqb/tmp2vwexp8t.xml', '--output', '-', '--body'] 952s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 952s # Output: /* 952s # * This file is generated by gdbus-codegen, do not modify it. 952s # * 952s # * The license of this code is the same as for the D-Bus interface description 952s # * it was derived from. Note that it links to GLib, so must comply with the 952s # * LGPL linking clauses. 952s # */ 952s # 952s # #ifdef HAVE_CONFIG_H 952s # # include "config.h" 952s # #endif 952s # 952s # #include 952s # #ifdef G_OS_UNIX 952s # # include 952s # #endif 952s # 952s # #ifdef G_ENABLE_DEBUG 952s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 952s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 952s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 952s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 952s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 952s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 952s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 952s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 952s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 952s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 952s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 952s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 952s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 952s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 952s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 952s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 952s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 952s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 952s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 952s # #else /* !G_ENABLE_DEBUG */ 952s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 952s # * Do not access GValues directly in your code. Instead, use the 952s # * g_value_get_*() functions 952s # */ 952s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 952s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 952s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 952s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 952s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 952s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 952s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 952s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 952s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 952s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 952s # #endif /* !G_ENABLE_DEBUG */ 952s # 952s # typedef struct 952s # { 952s # GDBusArgInfo parent_struct; 952s # gboolean use_gvariant; 952s # } _ExtendedGDBusArgInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusMethodInfo parent_struct; 952s # const gchar *signal_name; 952s # gboolean pass_fdlist; 952s # } _ExtendedGDBusMethodInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusSignalInfo parent_struct; 952s # const gchar *signal_name; 952s # } _ExtendedGDBusSignalInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusPropertyInfo parent_struct; 952s # const gchar *hyphen_name; 952s # guint use_gvariant : 1; 952s # guint emits_changed_signal : 1; 952s # } _ExtendedGDBusPropertyInfo; 952s # 952s # typedef struct 952s # { 952s # GDBusInterfaceInfo parent_struct; 952s # const gchar *hyphen_name; 952s # } _ExtendedGDBusInterfaceInfo; 952s # 952s # typedef struct 952s # { 952s # const _ExtendedGDBusPropertyInfo *info; 952s # guint prop_id; 952s # GValue orig_value; /* the value before the change */ 952s # } ChangedProperty; 952s # 952s # static void 952s # _changed_property_free (ChangedProperty *data) 952s # { 952s # g_value_unset (&data->orig_value); 952s # g_free (data); 952s # } 952s # 952s # static gboolean 952s # _g_strv_equal0 (gchar **a, gchar **b) 952s # { 952s # gboolean ret = FALSE; 952s # guint n; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # if (g_strv_length (a) != g_strv_length (b)) 952s # goto out; 952s # for (n = 0; a[n] != NULL; n++) 952s # if (g_strcmp0 (a[n], b[n]) != 0) 952s # goto out; 952s # ret = TRUE; 952s # out: 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _g_variant_equal0 (GVariant *a, GVariant *b) 952s # { 952s # gboolean ret = FALSE; 952s # if (a == NULL && b == NULL) 952s # { 952s # ret = TRUE; 952s # goto out; 952s # } 952s # if (a == NULL || b == NULL) 952s # goto out; 952s # ret = g_variant_equal (a, b); 952s # out: 952s # return ret; 952s # } 952s # 952s # G_GNUC_UNUSED static gboolean 952s # _g_value_equal (const GValue *a, const GValue *b) 952s # { 952s # gboolean ret = FALSE; 952s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 952s # switch (G_VALUE_TYPE (a)) 952s # { 952s # case G_TYPE_BOOLEAN: 952s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 952s # break; 952s # case G_TYPE_UCHAR: 952s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 952s # break; 952s # case G_TYPE_INT: 952s # ret = (g_value_get_int (a) == g_value_get_int (b)); 952s # break; 952s # case G_TYPE_UINT: 952s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 952s # break; 952s # case G_TYPE_INT64: 952s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 952s # break; 952s # case G_TYPE_UINT64: 952s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 952s # break; 952s # case G_TYPE_DOUBLE: 952s # { 952s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 952s # gdouble da = g_value_get_double (a); 952s # gdouble db = g_value_get_double (b); 952s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 952s # } 952s # break; 952s # case G_TYPE_STRING: 952s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 952s # break; 952s # case G_TYPE_VARIANT: 952s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 952s # break; 952s # default: 952s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 952s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 952s # else 952s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 952s # break; 952s # } 952s # return ret; 952s # } 952s # 952s # static void 952s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 952s # GClosure *closure, 952s # GValue *return_value, 952s # unsigned int n_param_values, 952s # const GValue *param_values, 952s # void *invocation_hint G_GNUC_UNUSED, 952s # void *marshal_data) 952s # { 952s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 952s # (void *data1, 952s # GDBusMethodInvocation *arg_method_invocation, 952s # void *data2); 952s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 952s # GCClosure *cc = (GCClosure*) closure; 952s # void *data1, *data2; 952s # gboolean v_return; 952s # 952s # g_return_if_fail (return_value != NULL); 952s # g_return_if_fail (n_param_values == 2); 952s # 952s # if (G_CCLOSURE_SWAP_DATA (closure)) 952s # { 952s # data1 = closure->data; 952s # data2 = g_value_peek_pointer (param_values + 0); 952s # } 952s # else 952s # { 952s # data1 = g_value_peek_pointer (param_values + 0); 952s # data2 = closure->data; 952s # } 952s # 952s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 952s # (marshal_data ? marshal_data : cc->callback); 952s # 952s # v_return = 952s # callback (data1, 952s # g_marshal_value_peek_object (param_values + 1), 952s # data2); 952s # 952s # g_value_set_boolean (return_value, v_return); 952s # } 952s # 952s # /* ------------------------------------------------------------------------ 952s # * Code for interface org.project.CallableIface 952s # * ------------------------------------------------------------------------ 952s # */ 952s # 952s # /** 952s # * SECTION:OrgProjectCallableIface 952s # * @title: OrgProjectCallableIface 952s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 952s # * 952s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 952s # */ 952s # 952s # /* ---- Introspection data for org.project.CallableIface ---- */ 952s # 952s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 952s # { 952s # { 952s # -1, 952s # (gchar *) "SimpleMethod", 952s # NULL, 952s # NULL, 952s # NULL 952s # }, 952s # "handle-simple-method", 952s # FALSE 952s # }; 952s # 952s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 952s # { 952s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 952s # NULL 952s # }; 952s # 952s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 952s # { 952s # { 952s # -1, 952s # (gchar *) "org.project.CallableIface", 952s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 952s # NULL, 952s # NULL, 952s # NULL 952s # }, 952s # "org-project-callable-iface", 952s # }; 952s # 952s # 952s # /** 952s # * org_project_callable_iface_interface_info: 952s # * 952s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 952s # * 952s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 952s # */ 952s # GDBusInterfaceInfo * 952s # org_project_callable_iface_interface_info (void) 952s # { 952s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_override_properties: 952s # * @klass: The class structure for a #GObject derived class. 952s # * @property_id_begin: The property id to assign to the first overridden property. 952s # * 952s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 952s # * The properties are overridden in the order they are defined. 952s # * 952s # * Returns: The last property id. 952s # */ 952s # guint 952s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 952s # { 952s # return property_id_begin - 1; 952s # } 952s # 952s # 952s # inline static void 952s # org_project_callable_iface_method_marshal_simple_method ( 952s # GClosure *closure, 952s # GValue *return_value, 952s # unsigned int n_param_values, 952s # const GValue *param_values, 952s # void *invocation_hint, 952s # void *marshal_data) 952s # { 952s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 952s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 952s # } 952s # 952s # 952s # /** 952s # * OrgProjectCallableIface: 952s # * 952s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 952s # */ 952s # 952s # /** 952s # * OrgProjectCallableIfaceIface: 952s # * @parent_iface: The parent interface. 952s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 952s # * 952s # * Virtual table for the D-Bus interface org.project.CallableIface. 952s # */ 952s # 952s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 952s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 952s # 952s # static void 952s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 952s # { 952s # /* GObject signals for incoming D-Bus method calls: */ 952s # /** 952s # * OrgProjectCallableIface::handle-simple-method: 952s # * @object: A #OrgProjectCallableIface. 952s # * @invocation: A #GDBusMethodInvocation. 952s # * 952s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 952s # * 952s # * 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. 952s # * 952s # * 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. 952s # */ 952s # g_signal_new ("handle-simple-method", 952s # G_TYPE_FROM_INTERFACE (iface), 952s # G_SIGNAL_RUN_LAST, 952s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 952s # g_signal_accumulator_true_handled, 952s # NULL, 952s # org_project_callable_iface_method_marshal_simple_method, 952s # G_TYPE_BOOLEAN, 952s # 1, 952s # G_TYPE_DBUS_METHOD_INVOCATION); 952s # 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_call_simple_method: 952s # * @proxy: A #OrgProjectCallableIfaceProxy. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 952s # * 952s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 952s # */ 952s # void 952s # org_project_callable_iface_call_simple_method ( 952s # OrgProjectCallableIface *proxy, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 952s # "SimpleMethod", 952s # g_variant_new ("()"), 952s # G_DBUS_CALL_FLAGS_NONE, 952s # -1, 952s # cancellable, 952s # callback, 952s # user_data); 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_call_simple_method_finish: 952s # * @proxy: A #OrgProjectCallableIfaceProxy. 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 952s # * @error: Return location for error or %NULL. 952s # * 952s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 952s # * 952s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 952s # */ 952s # gboolean 952s # org_project_callable_iface_call_simple_method_finish ( 952s # OrgProjectCallableIface *proxy, 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GVariant *_ret; 952s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 952s # if (_ret == NULL) 952s # goto _out; 952s # g_variant_get (_ret, 952s # "()"); 952s # g_variant_unref (_ret); 952s # _out: 952s # return _ret != NULL; 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_call_simple_method_sync: 952s # * @proxy: A #OrgProjectCallableIfaceProxy. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL. 952s # * 952s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 952s # * 952s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 952s # * 952s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 952s # */ 952s # gboolean 952s # org_project_callable_iface_call_simple_method_sync ( 952s # OrgProjectCallableIface *proxy, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GVariant *_ret; 952s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 952s # "SimpleMethod", 952s # g_variant_new ("()"), 952s # G_DBUS_CALL_FLAGS_NONE, 952s # -1, 952s # cancellable, 952s # error); 952s # if (_ret == NULL) 952s # goto _out; 952s # g_variant_get (_ret, 952s # "()"); 952s # g_variant_unref (_ret); 952s # _out: 952s # return _ret != NULL; 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_complete_simple_method: 952s # * @object: A #OrgProjectCallableIface. 952s # * @invocation: (transfer full): A #GDBusMethodInvocation. 952s # * 952s # * 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. 952s # * 952s # * This method will free @invocation, you cannot use it afterwards. 952s # */ 952s # void 952s # org_project_callable_iface_complete_simple_method ( 952s # OrgProjectCallableIface *object G_GNUC_UNUSED, 952s # GDBusMethodInvocation *invocation) 952s # { 952s # g_dbus_method_invocation_return_value (invocation, 952s # g_variant_new ("()")); 952s # } 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * OrgProjectCallableIfaceProxy: 952s # * 952s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * OrgProjectCallableIfaceProxyClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for #OrgProjectCallableIfaceProxy. 952s # */ 952s # 952s # struct _OrgProjectCallableIfaceProxyPrivate 952s # { 952s # GData *qdata; 952s # }; 952s # 952s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 952s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 952s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 952s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 952s # 952s # #endif 952s # static void 952s # org_project_callable_iface_proxy_finalize (GObject *object) 952s # { 952s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 952s # g_datalist_clear (&proxy->priv->qdata); 952s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 952s # guint prop_id G_GNUC_UNUSED, 952s # GValue *value G_GNUC_UNUSED, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # static void 952s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 952s # guint prop_id G_GNUC_UNUSED, 952s # const GValue *value G_GNUC_UNUSED, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # static void 952s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 952s # const gchar *sender_name G_GNUC_UNUSED, 952s # const gchar *signal_name, 952s # GVariant *parameters) 952s # { 952s # _ExtendedGDBusSignalInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # gsize n; 952s # guint signal_id; 952s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 952s # if (info == NULL) 952s # return; 952s # num_params = g_variant_n_children (parameters); 952s # paramv = g_new0 (GValue, num_params + 1); 952s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 952s # g_value_set_object (¶mv[0], proxy); 952s # g_variant_iter_init (&iter, parameters); 952s # n = 1; 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 952s # g_signal_emitv (paramv, signal_id, 0, NULL); 952s # for (n = 0; n < num_params + 1; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static void 952s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 952s # GVariant *changed_properties, 952s # const gchar *const *invalidated_properties) 952s # { 952s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 952s # guint n; 952s # const gchar *key; 952s # GVariantIter *iter; 952s # _ExtendedGDBusPropertyInfo *info; 952s # g_variant_get (changed_properties, "a{sv}", &iter); 952s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 952s # g_datalist_remove_data (&proxy->priv->qdata, key); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # g_variant_iter_free (iter); 952s # for (n = 0; invalidated_properties[n] != NULL; n++) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 952s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # } 952s # 952s # static void 952s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 952s # #else 952s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 952s # #endif 952s # 952s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 952s # } 952s # 952s # static void 952s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusProxyClass *proxy_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 952s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 952s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 952s # 952s # proxy_class = G_DBUS_PROXY_CLASS (klass); 952s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 952s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_proxy_new: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 952s # * 952s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # org_project_callable_iface_proxy_new ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_proxy_new_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 952s # * 952s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # OrgProjectCallableIface * 952s # org_project_callable_iface_proxy_new_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return ORG_PROJECT_CALLABLE_IFACE (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_proxy_new_sync: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # OrgProjectCallableIface * 952s # org_project_callable_iface_proxy_new_sync ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return ORG_PROJECT_CALLABLE_IFACE (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /** 952s # * org_project_callable_iface_proxy_new_for_bus: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 952s # * 952s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # org_project_callable_iface_proxy_new_for_bus ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_proxy_new_for_bus_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 952s # * 952s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # OrgProjectCallableIface * 952s # org_project_callable_iface_proxy_new_for_bus_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return ORG_PROJECT_CALLABLE_IFACE (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_proxy_new_for_bus_sync: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # OrgProjectCallableIface * 952s # org_project_callable_iface_proxy_new_for_bus_sync ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return ORG_PROJECT_CALLABLE_IFACE (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * OrgProjectCallableIfaceSkeleton: 952s # * 952s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * OrgProjectCallableIfaceSkeletonClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for #OrgProjectCallableIfaceSkeleton. 952s # */ 952s # 952s # struct _OrgProjectCallableIfaceSkeletonPrivate 952s # { 952s # GValue *properties; 952s # GList *changed_properties; 952s # GSource *changed_properties_idle_source; 952s # GMainContext *context; 952s # GMutex lock; 952s # }; 952s # 952s # static void 952s # _org_project_callable_iface_skeleton_handle_method_call ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name, 952s # const gchar *method_name, 952s # GVariant *parameters, 952s # GDBusMethodInvocation *invocation, 952s # gpointer user_data) 952s # { 952s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 952s # _ExtendedGDBusMethodInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # guint num_extra; 952s # gsize n; 952s # guint signal_id; 952s # GValue return_value = G_VALUE_INIT; 952s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 952s # g_assert (info != NULL); 952s # num_params = g_variant_n_children (parameters); 952s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 952s # n = 0; 952s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 952s # g_value_set_object (¶mv[n++], skeleton); 952s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 952s # g_value_set_object (¶mv[n++], invocation); 952s # if (info->pass_fdlist) 952s # { 952s # #ifdef G_OS_UNIX 952s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 952s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 952s # #else 952s # g_assert_not_reached (); 952s # #endif 952s # } 952s # g_variant_iter_init (&iter, parameters); 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 952s # g_value_init (&return_value, G_TYPE_BOOLEAN); 952s # g_signal_emitv (paramv, signal_id, 0, &return_value); 952s # if (!g_value_get_boolean (&return_value)) 952s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 952s # g_value_unset (&return_value); 952s # for (n = 0; n < num_params + num_extra; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static GVariant * 952s # _org_project_callable_iface_skeleton_handle_get_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # GVariant *ret; 952s # ret = NULL; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # g_value_init (&value, pspec->value_type); 952s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 952s # g_value_unset (&value); 952s # } 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _org_project_callable_iface_skeleton_handle_set_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GVariant *variant, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # gboolean ret; 952s # ret = FALSE; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # if (info->use_gvariant) 952s # g_value_set_variant (&value, variant); 952s # else 952s # g_dbus_gvariant_to_gvalue (variant, &value); 952s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # g_value_unset (&value); 952s # ret = TRUE; 952s # } 952s # return ret; 952s # } 952s # 952s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 952s # { 952s # _org_project_callable_iface_skeleton_handle_method_call, 952s # _org_project_callable_iface_skeleton_handle_get_property, 952s # _org_project_callable_iface_skeleton_handle_set_property, 952s # {NULL} 952s # }; 952s # 952s # static GDBusInterfaceInfo * 952s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return org_project_callable_iface_interface_info (); 952s # } 952s # 952s # static GDBusInterfaceVTable * 952s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 952s # } 952s # 952s # static GVariant * 952s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 952s # { 952s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 952s # 952s # GVariantBuilder builder; 952s # guint n; 952s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 952s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 952s # goto out; 952s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 952s # { 952s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 952s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 952s # { 952s # GVariant *value; 952s # 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); 952s # if (value != NULL) 952s # { 952s # g_variant_take_ref (value); 952s # g_variant_builder_add (&builder, "{sv}", info->name, value); 952s # g_variant_unref (value); 952s # } 952s # } 952s # } 952s # out: 952s # return g_variant_builder_end (&builder); 952s # } 952s # 952s # static void 952s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 952s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 952s # 952s # #endif 952s # static void 952s # org_project_callable_iface_skeleton_finalize (GObject *object) 952s # { 952s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 952s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 952s # if (skeleton->priv->changed_properties_idle_source != NULL) 952s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 952s # g_main_context_unref (skeleton->priv->context); 952s # g_mutex_clear (&skeleton->priv->lock); 952s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 952s # #else 952s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 952s # #endif 952s # 952s # g_mutex_init (&skeleton->priv->lock); 952s # skeleton->priv->context = g_main_context_ref_thread_default (); 952s # } 952s # 952s # static void 952s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusInterfaceSkeletonClass *skeleton_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 952s # 952s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 952s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 952s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 952s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 952s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # /** 952s # * org_project_callable_iface_skeleton_new: 952s # * 952s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 952s # * 952s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 952s # */ 952s # OrgProjectCallableIface * 952s # org_project_callable_iface_skeleton_new (void) 952s # { 952s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 952s # } 952s # 952s # /* ------------------------------------------------------------------------ 952s # * Code for interface org.project.OtherCallableIface 952s # * ------------------------------------------------------------------------ 952s # */ 952s # 952s # /** 952s # * SECTION:OrgProjectOtherCallableIface 952s # * @title: OrgProjectOtherCallableIface 952s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 952s # * 952s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 952s # */ 952s # 952s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 952s # 952s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 952s # { 952s # { 952s # -1, 952s # (gchar *) "SimpleMethod", 952s # NULL, 952s # NULL, 952s # NULL 952s # }, 952s # "handle-simple-method", 952s # FALSE 952s # }; 952s # 952s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 952s # { 952s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 952s # NULL 952s # }; 952s # 952s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 952s # { 952s # { 952s # -1, 952s # (gchar *) "org.project.OtherCallableIface", 952s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 952s # NULL, 952s # NULL, 952s # NULL 952s # }, 952s # "org-project-other-callable-iface", 952s # }; 952s # 952s # 952s # /** 952s # * org_project_other_callable_iface_interface_info: 952s # * 952s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 952s # * 952s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 952s # */ 952s # GDBusInterfaceInfo * 952s # org_project_other_callable_iface_interface_info (void) 952s # { 952s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_override_properties: 952s # * @klass: The class structure for a #GObject derived class. 952s # * @property_id_begin: The property id to assign to the first overridden property. 952s # * 952s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 952s # * The properties are overridden in the order they are defined. 952s # * 952s # * Returns: The last property id. 952s # */ 952s # guint 952s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 952s # { 952s # return property_id_begin - 1; 952s # } 952s # 952s # 952s # inline static void 952s # org_project_other_callable_iface_method_marshal_simple_method ( 952s # GClosure *closure, 952s # GValue *return_value, 952s # unsigned int n_param_values, 952s # const GValue *param_values, 952s # void *invocation_hint, 952s # void *marshal_data) 952s # { 952s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 952s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 952s # } 952s # 952s # 952s # /** 952s # * OrgProjectOtherCallableIface: 952s # * 952s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 952s # */ 952s # 952s # /** 952s # * OrgProjectOtherCallableIfaceIface: 952s # * @parent_iface: The parent interface. 952s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 952s # * 952s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 952s # */ 952s # 952s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 952s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 952s # 952s # static void 952s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 952s # { 952s # /* GObject signals for incoming D-Bus method calls: */ 952s # /** 952s # * OrgProjectOtherCallableIface::handle-simple-method: 952s # * @object: A #OrgProjectOtherCallableIface. 952s # * @invocation: A #GDBusMethodInvocation. 952s # * 952s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 952s # * 952s # * 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. 952s # * 952s # * 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. 952s # */ 952s # g_signal_new ("handle-simple-method", 952s # G_TYPE_FROM_INTERFACE (iface), 952s # G_SIGNAL_RUN_LAST, 952s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 952s # g_signal_accumulator_true_handled, 952s # NULL, 952s # org_project_other_callable_iface_method_marshal_simple_method, 952s # G_TYPE_BOOLEAN, 952s # 1, 952s # G_TYPE_DBUS_METHOD_INVOCATION); 952s # 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_call_simple_method: 952s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 952s # * 952s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 952s # */ 952s # void 952s # org_project_other_callable_iface_call_simple_method ( 952s # OrgProjectOtherCallableIface *proxy, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 952s # "SimpleMethod", 952s # g_variant_new ("()"), 952s # G_DBUS_CALL_FLAGS_NONE, 952s # -1, 952s # cancellable, 952s # callback, 952s # user_data); 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_call_simple_method_finish: 952s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 952s # * @error: Return location for error or %NULL. 952s # * 952s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 952s # * 952s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 952s # */ 952s # gboolean 952s # org_project_other_callable_iface_call_simple_method_finish ( 952s # OrgProjectOtherCallableIface *proxy, 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GVariant *_ret; 952s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 952s # if (_ret == NULL) 952s # goto _out; 952s # g_variant_get (_ret, 952s # "()"); 952s # g_variant_unref (_ret); 952s # _out: 952s # return _ret != NULL; 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_call_simple_method_sync: 952s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL. 952s # * 952s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 952s # * 952s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 952s # * 952s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 952s # */ 952s # gboolean 952s # org_project_other_callable_iface_call_simple_method_sync ( 952s # OrgProjectOtherCallableIface *proxy, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GVariant *_ret; 952s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 952s # "SimpleMethod", 952s # g_variant_new ("()"), 952s # G_DBUS_CALL_FLAGS_NONE, 952s # -1, 952s # cancellable, 952s # error); 952s # if (_ret == NULL) 952s # goto _out; 952s # g_variant_get (_ret, 952s # "()"); 952s # g_variant_unref (_ret); 952s # _out: 952s # return _ret != NULL; 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_complete_simple_method: 952s # * @object: A #OrgProjectOtherCallableIface. 952s # * @invocation: (transfer full): A #GDBusMethodInvocation. 952s # * 952s # * 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. 952s # * 952s # * This method will free @invocation, you cannot use it afterwards. 952s # */ 952s # void 952s # org_project_other_callable_iface_complete_simple_method ( 952s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 952s # GDBusMethodInvocation *invocation) 952s # { 952s # g_dbus_method_invocation_return_value (invocation, 952s # g_variant_new ("()")); 952s # } 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * OrgProjectOtherCallableIfaceProxy: 952s # * 952s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * OrgProjectOtherCallableIfaceProxyClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 952s # */ 952s # 952s # struct _OrgProjectOtherCallableIfaceProxyPrivate 952s # { 952s # GData *qdata; 952s # }; 952s # 952s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 952s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 952s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 952s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 952s # 952s # #endif 952s # static void 952s # org_project_other_callable_iface_proxy_finalize (GObject *object) 952s # { 952s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 952s # g_datalist_clear (&proxy->priv->qdata); 952s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 952s # guint prop_id G_GNUC_UNUSED, 952s # GValue *value G_GNUC_UNUSED, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 952s # guint prop_id G_GNUC_UNUSED, 952s # const GValue *value G_GNUC_UNUSED, 952s # GParamSpec *pspec G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 952s # const gchar *sender_name G_GNUC_UNUSED, 952s # const gchar *signal_name, 952s # GVariant *parameters) 952s # { 952s # _ExtendedGDBusSignalInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # gsize n; 952s # guint signal_id; 952s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 952s # if (info == NULL) 952s # return; 952s # num_params = g_variant_n_children (parameters); 952s # paramv = g_new0 (GValue, num_params + 1); 952s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 952s # g_value_set_object (¶mv[0], proxy); 952s # g_variant_iter_init (&iter, parameters); 952s # n = 1; 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 952s # g_signal_emitv (paramv, signal_id, 0, NULL); 952s # for (n = 0; n < num_params + 1; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 952s # GVariant *changed_properties, 952s # const gchar *const *invalidated_properties) 952s # { 952s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 952s # guint n; 952s # const gchar *key; 952s # GVariantIter *iter; 952s # _ExtendedGDBusPropertyInfo *info; 952s # g_variant_get (changed_properties, "a{sv}", &iter); 952s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 952s # g_datalist_remove_data (&proxy->priv->qdata, key); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # g_variant_iter_free (iter); 952s # for (n = 0; invalidated_properties[n] != NULL; n++) 952s # { 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 952s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 952s # if (info != NULL) 952s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 952s # } 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 952s # #else 952s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 952s # #endif 952s # 952s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusProxyClass *proxy_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 952s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 952s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 952s # 952s # proxy_class = G_DBUS_PROXY_CLASS (klass); 952s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 952s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_proxy_new: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 952s # * 952s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # org_project_other_callable_iface_proxy_new ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_proxy_new_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 952s # * 952s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # OrgProjectOtherCallableIface * 952s # org_project_other_callable_iface_proxy_new_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_proxy_new_sync: 952s # * @connection: A #GDBusConnection. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # OrgProjectOtherCallableIface * 952s # org_project_other_callable_iface_proxy_new_sync ( 952s # GDBusConnection *connection, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /** 952s # * org_project_other_callable_iface_proxy_new_for_bus: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 952s # * @user_data: User data to pass to @callback. 952s # * 952s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 952s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 952s # * 952s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 952s # */ 952s # void 952s # org_project_other_callable_iface_proxy_new_for_bus ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GAsyncReadyCallback callback, 952s # gpointer user_data) 952s # { 952s # 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); 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 952s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 952s # * @error: Return location for error or %NULL 952s # * 952s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 952s # * 952s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # OrgProjectOtherCallableIface * 952s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 952s # GAsyncResult *res, 952s # GError **error) 952s # { 952s # GObject *ret; 952s # GObject *source_object; 952s # source_object = g_async_result_get_source_object (res); 952s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 952s # g_object_unref (source_object); 952s # if (ret != NULL) 952s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 952s # * @bus_type: A #GBusType. 952s # * @flags: Flags from the #GDBusProxyFlags enumeration. 952s # * @name: A bus name (well-known or unique). 952s # * @object_path: An object path. 952s # * @cancellable: (nullable): A #GCancellable or %NULL. 952s # * @error: Return location for error or %NULL 952s # * 952s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 952s # * 952s # * The calling thread is blocked until a reply is received. 952s # * 952s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 952s # * 952s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 952s # */ 952s # OrgProjectOtherCallableIface * 952s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 952s # GBusType bus_type, 952s # GDBusProxyFlags flags, 952s # const gchar *name, 952s # const gchar *object_path, 952s # GCancellable *cancellable, 952s # GError **error) 952s # { 952s # GInitable *ret; 952s # 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); 952s # if (ret != NULL) 952s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 952s # else 952s # return NULL; 952s # } 952s # 952s # 952s # /* ------------------------------------------------------------------------ */ 952s # 952s # /** 952s # * OrgProjectOtherCallableIfaceSkeleton: 952s # * 952s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 952s # */ 952s # 952s # /** 952s # * OrgProjectOtherCallableIfaceSkeletonClass: 952s # * @parent_class: The parent class. 952s # * 952s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 952s # */ 952s # 952s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 952s # { 952s # GValue *properties; 952s # GList *changed_properties; 952s # GSource *changed_properties_idle_source; 952s # GMainContext *context; 952s # GMutex lock; 952s # }; 952s # 952s # static void 952s # _org_project_other_callable_iface_skeleton_handle_method_call ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name, 952s # const gchar *method_name, 952s # GVariant *parameters, 952s # GDBusMethodInvocation *invocation, 952s # gpointer user_data) 952s # { 952s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 952s # _ExtendedGDBusMethodInfo *info; 952s # GVariantIter iter; 952s # GVariant *child; 952s # GValue *paramv; 952s # gsize num_params; 952s # guint num_extra; 952s # gsize n; 952s # guint signal_id; 952s # GValue return_value = G_VALUE_INIT; 952s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 952s # g_assert (info != NULL); 952s # num_params = g_variant_n_children (parameters); 952s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 952s # n = 0; 952s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 952s # g_value_set_object (¶mv[n++], skeleton); 952s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 952s # g_value_set_object (¶mv[n++], invocation); 952s # if (info->pass_fdlist) 952s # { 952s # #ifdef G_OS_UNIX 952s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 952s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 952s # #else 952s # g_assert_not_reached (); 952s # #endif 952s # } 952s # g_variant_iter_init (&iter, parameters); 952s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 952s # { 952s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 952s # if (arg_info->use_gvariant) 952s # { 952s # g_value_init (¶mv[n], G_TYPE_VARIANT); 952s # g_value_set_variant (¶mv[n], child); 952s # n++; 952s # } 952s # else 952s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 952s # g_variant_unref (child); 952s # } 952s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 952s # g_value_init (&return_value, G_TYPE_BOOLEAN); 952s # g_signal_emitv (paramv, signal_id, 0, &return_value); 952s # if (!g_value_get_boolean (&return_value)) 952s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 952s # g_value_unset (&return_value); 952s # for (n = 0; n < num_params + num_extra; n++) 952s # g_value_unset (¶mv[n]); 952s # g_free (paramv); 952s # } 952s # 952s # static GVariant * 952s # _org_project_other_callable_iface_skeleton_handle_get_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # GVariant *ret; 952s # ret = NULL; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # g_value_init (&value, pspec->value_type); 952s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 952s # g_value_unset (&value); 952s # } 952s # return ret; 952s # } 952s # 952s # static gboolean 952s # _org_project_other_callable_iface_skeleton_handle_set_property ( 952s # GDBusConnection *connection G_GNUC_UNUSED, 952s # const gchar *sender G_GNUC_UNUSED, 952s # const gchar *object_path G_GNUC_UNUSED, 952s # const gchar *interface_name G_GNUC_UNUSED, 952s # const gchar *property_name, 952s # GVariant *variant, 952s # GError **error, 952s # gpointer user_data) 952s # { 952s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 952s # GValue value = G_VALUE_INIT; 952s # GParamSpec *pspec; 952s # _ExtendedGDBusPropertyInfo *info; 952s # gboolean ret; 952s # ret = FALSE; 952s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 952s # g_assert (info != NULL); 952s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 952s # if (pspec == NULL) 952s # { 952s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 952s # } 952s # else 952s # { 952s # if (info->use_gvariant) 952s # g_value_set_variant (&value, variant); 952s # else 952s # g_dbus_gvariant_to_gvalue (variant, &value); 952s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 952s # g_value_unset (&value); 952s # ret = TRUE; 952s # } 952s # return ret; 952s # } 952s # 952s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 952s # { 952s # _org_project_other_callable_iface_skeleton_handle_method_call, 952s # _org_project_other_callable_iface_skeleton_handle_get_property, 952s # _org_project_other_callable_iface_skeleton_handle_set_property, 952s # {NULL} 952s # }; 952s # 952s # static GDBusInterfaceInfo * 952s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return org_project_other_callable_iface_interface_info (); 952s # } 952s # 952s # static GDBusInterfaceVTable * 952s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 952s # { 952s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 952s # } 952s # 952s # static GVariant * 952s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 952s # { 952s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 952s # 952s # GVariantBuilder builder; 952s # guint n; 952s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 952s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 952s # goto out; 952s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 952s # { 952s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 952s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 952s # { 952s # GVariant *value; 952s # 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); 952s # if (value != NULL) 952s # { 952s # g_variant_take_ref (value); 952s # g_variant_builder_add (&builder, "{sv}", info->name, value); 952s # g_variant_unref (value); 952s # } 952s # } 952s # } 952s # out: 952s # return g_variant_builder_end (&builder); 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 952s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 952s # 952s # #else 952s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 952s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 952s # 952s # #endif 952s # static void 952s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 952s # { 952s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 952s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 952s # if (skeleton->priv->changed_properties_idle_source != NULL) 952s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 952s # g_main_context_unref (skeleton->priv->context); 952s # g_mutex_clear (&skeleton->priv->lock); 952s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 952s # { 952s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 952s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 952s # #else 952s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 952s # #endif 952s # 952s # g_mutex_init (&skeleton->priv->lock); 952s # skeleton->priv->context = g_main_context_ref_thread_default (); 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 952s # { 952s # GObjectClass *gobject_class; 952s # GDBusInterfaceSkeletonClass *skeleton_class; 952s # 952s # gobject_class = G_OBJECT_CLASS (klass); 952s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 952s # 952s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 952s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 952s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 952s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 952s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 952s # 952s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 952s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 952s # #endif 952s # } 952s # 952s # static void 952s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 952s # { 952s # } 952s # 952s # /** 952s # * org_project_other_callable_iface_skeleton_new: 952s # * 952s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 952s # * 952s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 952s # */ 952s # OrgProjectOtherCallableIface * 952s # org_project_other_callable_iface_skeleton_new (void) 952s # { 952s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 952s # } 953s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 953s # tmpdir: /tmp/tmphujddzty 953s # codegen: /usr/bin/gdbus-codegen 953s # /tmp/tmphujddzty/tmp0lllpkkh.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmp0lllpkkh.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # gboolean arg_arg_b, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_boolean (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_b", 953s # (gchar *) "b", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodB", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-b", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_b ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_b: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-b", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_b, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_b: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_b: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_b ( 953s # OrgProjectUsefulInterface *proxy, 953s # gboolean arg_arg_b, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodB", 953s # g_variant_new ("(b)", 953s # arg_arg_b), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_b_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_b_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_b_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_b: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_b_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gboolean arg_arg_b, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodB", 953s # g_variant_new ("(b)", 953s # arg_arg_b), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_b: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_b ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpr45ycrt3.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpr45ycrt3.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # guchar arg_arg_y, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_uchar (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_y", 953s # (gchar *) "y", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodY", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-y", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_y ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_y: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-y", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_y, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_y: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_y: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_y ( 953s # OrgProjectUsefulInterface *proxy, 953s # guchar arg_arg_y, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodY", 953s # g_variant_new ("(y)", 953s # arg_arg_y), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_y_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_y_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_y_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_y: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_y_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # guchar arg_arg_y, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodY", 953s # g_variant_new ("(y)", 953s # arg_arg_y), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_y: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_y ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmp2suhfca5.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmp2suhfca5.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # gint16 arg_arg_n, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_int (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_n", 953s # (gchar *) "n", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodN", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-n", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_n ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_n: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-n", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_n, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_n: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_n: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_n ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint16 arg_arg_n, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodN", 953s # g_variant_new ("(n)", 953s # arg_arg_n), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_n_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_n_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_n_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_n: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_n_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint16 arg_arg_n, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodN", 953s # g_variant_new ("(n)", 953s # arg_arg_n), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_n: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_n ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmp_w6g9q2s.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmp_w6g9q2s.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # guint16 arg_arg_q, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_uint (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_q", 953s # (gchar *) "q", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodQ", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-q", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_q ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_q: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-q", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_q, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_q: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_q: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_q ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint16 arg_arg_q, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodQ", 953s # g_variant_new ("(q)", 953s # arg_arg_q), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_q_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_q_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_q_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_q: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_q_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint16 arg_arg_q, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodQ", 953s # g_variant_new ("(q)", 953s # arg_arg_q), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_q: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_q ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpgwi4eup5.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpgwi4eup5.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # gint arg_arg_i, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_int (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_i", 953s # (gchar *) "i", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodI", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-i", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_i ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_i: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-i", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_i, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_i: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_i: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_i ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint arg_arg_i, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodI", 953s # g_variant_new ("(i)", 953s # arg_arg_i), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_i_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_i_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_i_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_i: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_i_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint arg_arg_i, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodI", 953s # g_variant_new ("(i)", 953s # arg_arg_i), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_i: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_i ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmp8hiqiga2.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmp8hiqiga2.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # guint arg_arg_u, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_uint (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_u", 953s # (gchar *) "u", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodU", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-u", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_u ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_u: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-u", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_u, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_u: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_u: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_u ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint arg_arg_u, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodU", 953s # g_variant_new ("(u)", 953s # arg_arg_u), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_u_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_u_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_u_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_u: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_u_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint arg_arg_u, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodU", 953s # g_variant_new ("(u)", 953s # arg_arg_u), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_u: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_u ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmp0fg48gsr.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmp0fg48gsr.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # gint64 arg_arg_x, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_int64 (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_x", 953s # (gchar *) "x", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodX", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-x", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_x ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_x: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-x", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_x, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_x: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_x: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_x ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint64 arg_arg_x, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodX", 953s # g_variant_new ("(x)", 953s # arg_arg_x), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_x_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_x_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_x_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_x: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_x_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint64 arg_arg_x, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodX", 953s # g_variant_new ("(x)", 953s # arg_arg_x), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_x: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_x ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpu9dnwrqh.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpu9dnwrqh.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # guint64 arg_arg_t, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_uint64 (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_t", 953s # (gchar *) "t", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodT", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-t", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_t ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_t: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-t", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_t, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_t: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_t: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_t ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint64 arg_arg_t, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodT", 953s # g_variant_new ("(t)", 953s # arg_arg_t), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_t_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_t_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_t_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_t: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_t_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint64 arg_arg_t, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodT", 953s # g_variant_new ("(t)", 953s # arg_arg_t), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_t: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_t ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmp8yrocd99.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmp8yrocd99.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # gdouble arg_arg_d, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_double (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_d", 953s # (gchar *) "d", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodD", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-d", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_d ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_d: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-d", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_d, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_d: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_d: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_d ( 953s # OrgProjectUsefulInterface *proxy, 953s # gdouble arg_arg_d, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodD", 953s # g_variant_new ("(d)", 953s # arg_arg_d), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_d_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_d_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_d_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_d: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_d_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gdouble arg_arg_d, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodD", 953s # g_variant_new ("(d)", 953s # arg_arg_d), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_d: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_d ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpu5xpw2n4.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpu5xpw2n4.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # const gchar *arg_arg_s, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_string (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_s", 953s # (gchar *) "s", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodS", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-s", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_s ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_s: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-s", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_s, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_s: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_s: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_s ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *arg_arg_s, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodS", 953s # g_variant_new ("(s)", 953s # arg_arg_s), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_s_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_s_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_s_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_s: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_s_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *arg_arg_s, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodS", 953s # g_variant_new ("(s)", 953s # arg_arg_s), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_s: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_s ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpzkamgb9c.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpzkamgb9c.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # const gchar *arg_arg_o, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_string (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_o", 953s # (gchar *) "o", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodO", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-o", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_o ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_o: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-o", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_o, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_o: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_o: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_o ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *arg_arg_o, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodO", 953s # g_variant_new ("(o)", 953s # arg_arg_o), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_o_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_o_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_o_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_o: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_o_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *arg_arg_o, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodO", 953s # g_variant_new ("(o)", 953s # arg_arg_o), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_o: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_o ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpgnzbgpts.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpgnzbgpts.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # const gchar *arg_arg_g, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_string (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_g", 953s # (gchar *) "g", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodG", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-g", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_g ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_g: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-g", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_g, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_g: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_g: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_g ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *arg_arg_g, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodG", 953s # g_variant_new ("(g)", 953s # arg_arg_g), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_g_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_g_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_g_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_g: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_g_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *arg_arg_g, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodG", 953s # g_variant_new ("(g)", 953s # arg_arg_g), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_g: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_g ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpg2n0yskk.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpg2n0yskk.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/sr# Executing: glib/codegen.py.test 953s c/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # GVariant *arg_arg_h, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_variant (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_h", 953s # (gchar *) "h", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodH", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-h", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_h ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_h: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-h", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_h, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_h: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_h: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_h ( 953s # OrgProjectUsefulInterface *proxy, 953s # GVariant *arg_arg_h, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodH", 953s # g_variant_new ("(@h)", 953s # arg_arg_h), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_h_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_h_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_h_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_h: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_h_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # GVariant *arg_arg_h, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodH", 953s # g_variant_new ("(@h)", 953s # arg_arg_h), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_h: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_h ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpjmdu1zov.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpjmdu1zov.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # const gchar *arg_arg_ay, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_string (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_ay", 953s # (gchar *) "ay", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodAy", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-ay", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_ay: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-ay", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_ay, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_ay: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_ay: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_ay ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *arg_arg_ay, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAy", 953s # g_variant_new ("(^ay)", 953s # arg_arg_ay), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_ay_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_ay_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_ay_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_ay: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_ay_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *arg_arg_ay, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAy", 953s # g_variant_new ("(^ay)", 953s # arg_arg_ay), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_ay: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_ay ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmp1hq8dllb.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmp1hq8dllb.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # const gchar *const *arg_arg_as, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_boxed (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_as", 953s # (gchar *) "as", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodAs", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-as", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_as ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_as: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-as", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_as, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_as: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_as: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_as ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *const *arg_arg_as, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAs", 953s # g_variant_new ("(^as)", 953s # arg_arg_as), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_as_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_as_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_as_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_as: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_as_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *const *arg_arg_as, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAs", 953s # g_variant_new ("(^as)", 953s # arg_arg_as), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_as: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_as ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpw11tz0i0.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpw11tz0i0.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # const gchar *const *arg_arg_ao, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_boxed (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_ao", 953s # (gchar *) "ao", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodAo", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-ao", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_ao: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-ao", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_ao, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_ao: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_ao: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_ao ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *const *arg_arg_ao, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAo", 953s # g_variant_new ("(^ao)", 953s # arg_arg_ao), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_ao_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_ao_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_ao_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_ao: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_ao_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *const *arg_arg_ao, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAo", 953s # g_variant_new ("(^ao)", 953s # arg_arg_ao), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_ao: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_ao ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmp3weo_hk7.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmp3weo_hk7.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # const gchar *const *arg_arg_aay, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_boxed (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_aay", 953s # (gchar *) "aay", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodAay", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-aay", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_aay: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-aay", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_aay, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_aay: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_aay: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_aay ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *const *arg_arg_aay, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAay", 953s # g_variant_new ("(^aay)", 953s # arg_arg_aay), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_aay_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_aay_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_aay_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_aay: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_aay_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # const gchar *const *arg_arg_aay, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAay", 953s # g_variant_new ("(^aay)", 953s # arg_arg_aay), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_aay: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_aay ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmphujddzty/tmpcy9erfsh.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphujddzty/tmpcy9erfsh.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # GVariant *arg_arg_asv, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 3); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # g_marshal_value_peek_variant (param_values + 2), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_asv", 953s # (gchar *) "a{sv}", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodAsv", 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 953s # NULL, 953s # NULL 953s # }, 953s # "handle-single-arg-method-asv", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * @arg_arg_asv: Argument passed by remote caller. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-asv", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_asv, 953s # G_TYPE_BOOLEAN, 953s # 2, 953s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_asv: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_asv: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_asv ( 953s # OrgProjectUsefulInterface *proxy, 953s # GVariant *arg_arg_asv, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAsv", 953s # g_variant_new ("(@a{sv})", 953s # arg_arg_asv), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_asv_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_asv_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_asv_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @arg_arg_asv: Argument to pass with the method invocation. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_asv_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # GVariant *arg_arg_asv, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodAsv", 953s # g_variant_new ("(@a{sv})", 953s # arg_arg_asv), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "()"); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_asv: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_asv ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("()")); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 953s # tmpdir: /tmp/tmp5c3kkxyj 953s # codegen: /usr/bin/gdbus-codegen 953s # /tmp/tmp5c3kkxyj/tmpxhgo3wgx.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmpxhgo3wgx.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_b", 953s # (gchar *) "b", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodB", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-b", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_b ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-b", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_b, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_b: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_b ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodB", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_b_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_b_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # gboolean *out_arg_b, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(b)", 953s # out_arg_b); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_b_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_b_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gboolean *out_arg_b, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodB", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(b)", 953s # out_arg_b); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_b: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_b: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_b ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # gboolean arg_b) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(b)", 953s # arg_b)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmp8bsev726.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmp8bsev726.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_y", 953s # (gchar *) "y", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodY", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-y", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_y ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-y", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_y, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_y: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_y ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodY", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_y_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_y_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # guchar *out_arg_y, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(y)", 953s # out_arg_y); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_y_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_y_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # guchar *out_arg_y, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodY", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(y)", 953s # out_arg_y); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_y: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_y: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_y ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # guchar arg_y) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(y)", 953s # arg_y)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmphiin4nsm.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmphiin4nsm.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_n", 953s # (gchar *) "n", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodN", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-n", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_n ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-n", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_n, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_n: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_n ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodN", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_n_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_n_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint16 *out_arg_n, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(n)", 953s # out_arg_n); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_n_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_n_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint16 *out_arg_n, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodN", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(n)", 953s # out_arg_n); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_n: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_n: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_n ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # gint16 arg_n) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(n)", 953s # arg_n)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmpqkfnscxl.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmpqkfnscxl.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_q", 953s # (gchar *) "q", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodQ", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-q", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_q ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-q", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_q, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_q: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_q ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodQ", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_q_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_q_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint16 *out_arg_q, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(q)", 953s # out_arg_q); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_q_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_q_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint16 *out_arg_q, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodQ", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(q)", 953s # out_arg_q); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_q: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_q: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_q ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # guint16 arg_q) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(q)", 953s # arg_q)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmpka72jr6v.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmpka72jr6v.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_i", 953s # (gchar *) "i", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodI", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-i", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_i ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-i", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_i, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_i: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_i ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodI", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_i_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_i_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint *out_arg_i, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(i)", 953s # out_arg_i); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_i_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_i_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint *out_arg_i, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodI", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(i)", 953s # out_arg_i); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_i: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_i: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_i ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # gint arg_i) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(i)", 953s # arg_i)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmpveceni0z.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmpveceni0z.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_u", 953s # (gchar *) "u", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodU", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-u", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_u ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-u", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_u, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_u: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_u ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodU", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_u_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_u_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint *out_arg_u, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(u)", 953s # out_arg_u); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_u_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_u_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint *out_arg_u, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodU", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(u)", 953s # out_arg_u); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_u: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_u: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_u ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # guint arg_u) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(u)", 953s # arg_u)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmpme4fnvgd.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmpme4fnvgd.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_x", 953s # (gchar *) "x", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodX", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-x", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_x ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-x", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_x, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_x: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_x ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodX", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_x_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_x_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint64 *out_arg_x, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(x)", 953s # out_arg_x); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_x_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_x_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gint64 *out_arg_x, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodX", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(x)", 953s # out_arg_x); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_x: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_x: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_x ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # gint64 arg_x) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(x)", 953s # arg_x)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmp18k_70ic.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmp18k_70ic.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_t", 953s # (gchar *) "t", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodT", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-t", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_t ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-t", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_t, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_t: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_t ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodT", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_t_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_t_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint64 *out_arg_t, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(t)", 953s # out_arg_t); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_t_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_t_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # guint64 *out_arg_t, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodT", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(t)", 953s # out_arg_t); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_t: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_t: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_t ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # guint64 arg_t) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(t)", 953s # arg_t)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmpp1yotn2n.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmpp1yotn2n.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_d", 953s # (gchar *) "d", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodD", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-d", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_d ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-d", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_d, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_d: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_d ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodD", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_d_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_d_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # gdouble *out_arg_d, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(d)", 953s # out_arg_d); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_d_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_d_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gdouble *out_arg_d, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodD", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(d)", 953s # out_arg_d); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_d: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_d: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_d ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # gdouble arg_d) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(d)", 953s # arg_d)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmp_jdy5ral.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmp_jdy5ral.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_s", 953s # (gchar *) "s", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodS", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-s", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_s ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-s", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_s, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_s: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_s ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodS", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_s_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_s_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # gchar **out_arg_s, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(s)", 953s # out_arg_s); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_s_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_s_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gchar **out_arg_s, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodS", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(s)", 953s # out_arg_s); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_s: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_s: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_s ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # const gchar *arg_s) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(s)", 953s # arg_s)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmphian5nw9.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmphian5nw9.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_o", 953s # (gchar *) "o", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodO", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-o", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_o ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-o", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_o, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_o: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_o ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodO", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_o_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_o_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # gchar **out_arg_o, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(o)", 953s # out_arg_o); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_o_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_o_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gchar **out_arg_o, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodO", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(o)", 953s # out_arg_o); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_o: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_o: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_o ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # const gchar *arg_o) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(o)", 953s # arg_o)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmprwzotbek.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmprwzotbek.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_g", 953s # (gchar *) "g", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodG", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-g", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_g ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-g", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_g, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_g: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 953s # */ 953s # void 953s # org_project_useful_interface_call_single_arg_method_g ( 953s # OrgProjectUsefulInterface *proxy, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodG", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # callback, 953s # user_data); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_g_finish: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_g_finish ( 953s # OrgProjectUsefulInterface *proxy, 953s # gchar **out_arg_g, 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(g)", 953s # out_arg_g); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_call_single_arg_method_g_sync: 953s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 953s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL. 953s # * 953s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 953s # * 953s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 953s # */ 953s # gboolean 953s # org_project_useful_interface_call_single_arg_method_g_sync ( 953s # OrgProjectUsefulInterface *proxy, 953s # gchar **out_arg_g, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GVariant *_ret; 953s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 953s # "SingleArgMethodG", 953s # g_variant_new ("()"), 953s # G_DBUS_CALL_FLAGS_NONE, 953s # -1, 953s # cancellable, 953s # error); 953s # if (_ret == NULL) 953s # goto _out; 953s # g_variant_get (_ret, 953s # "(g)", 953s # out_arg_g); 953s # g_variant_unref (_ret); 953s # _out: 953s # return _ret != NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_complete_single_arg_method_g: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: (transfer full): A #GDBusMethodInvocation. 953s # * @arg_g: Parameter to return. 953s # * 953s # * 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. 953s # * 953s # * This method will free @invocation, you cannot use it afterwards. 953s # */ 953s # void 953s # org_project_useful_interface_complete_single_arg_method_g ( 953s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 953s # GDBusMethodInvocation *invocation, 953s # const gchar *arg_g) 953s # { 953s # g_dbus_method_invocation_return_value (invocation, 953s # g_variant_new ("(g)", 953s # arg_g)); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxy: 953s # * 953s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceProxyClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceProxy. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceProxyPrivate 953s # { 953s # GData *qdata; 953s # }; 953s # 953s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_proxy_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 953s # g_datalist_clear (&proxy->priv->qdata); 953s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 953s # guint prop_id G_GNUC_UNUSED, 953s # const GValue *value G_GNUC_UNUSED, 953s # GParamSpec *pspec G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 953s # const gchar *sender_name G_GNUC_UNUSED, 953s # const gchar *signal_name, 953s # GVariant *parameters) 953s # { 953s # _ExtendedGDBusSignalInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # gsize n; 953s # guint signal_id; 953s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 953s # if (info == NULL) 953s # return; 953s # num_params = g_variant_n_children (parameters); 953s # paramv = g_new0 (GValue, num_params + 1); 953s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[0], proxy); 953s # g_variant_iter_init (&iter, parameters); 953s # n = 1; 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_signal_emitv (paramv, signal_id, 0, NULL); 953s # for (n = 0; n < num_params + 1; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 953s # GVariant *changed_properties, 953s # const gchar *const *invalidated_properties) 953s # { 953s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 953s # guint n; 953s # const gchar *key; 953s # GVariantIter *iter; 953s # _ExtendedGDBusPropertyInfo *info; 953s # g_variant_get (changed_properties, "a{sv}", &iter); 953s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 953s # g_datalist_remove_data (&proxy->priv->qdata, key); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # g_variant_iter_free (iter); 953s # for (n = 0; invalidated_properties[n] != NULL; n++) 953s # { 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 953s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 953s # if (info != NULL) 953s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 953s # } 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 953s # #else 953s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 953s # #endif 953s # 953s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusProxyClass *proxy_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 953s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 953s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 953s # 953s # proxy_class = G_DBUS_PROXY_CLASS (klass); 953s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 953s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_sync: 953s # * @connection: A #GDBusConnection. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_sync ( 953s # GDBusConnection *connection, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 953s # * @user_data: User data to pass to @callback. 953s # * 953s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 953s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 953s # */ 953s # void 953s # org_project_useful_interface_proxy_new_for_bus ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GAsyncReadyCallback callback, 953s # gpointer user_data) 953s # { 953s # g_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); 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_finish: 953s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 953s # * @error: Return location for error or %NULL 953s # * 953s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_finish ( 953s # GAsyncResult *res, 953s # GError **error) 953s # { 953s # GObject *ret; 953s # GObject *source_object; 953s # source_object = g_async_result_get_source_object (res); 953s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 953s # g_object_unref (source_object); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_proxy_new_for_bus_sync: 953s # * @bus_type: A #GBusType. 953s # * @flags: Flags from the #GDBusProxyFlags enumeration. 953s # * @name: A bus name (well-known or unique). 953s # * @object_path: An object path. 953s # * @cancellable: (nullable): A #GCancellable or %NULL. 953s # * @error: Return location for error or %NULL 953s # * 953s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 953s # * 953s # * The calling thread is blocked until a reply is received. 953s # * 953s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_proxy_new_for_bus_sync ( 953s # GBusType bus_type, 953s # GDBusProxyFlags flags, 953s # const gchar *name, 953s # const gchar *object_path, 953s # GCancellable *cancellable, 953s # GError **error) 953s # { 953s # GInitable *ret; 953s # 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); 953s # if (ret != NULL) 953s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 953s # else 953s # return NULL; 953s # } 953s # 953s # 953s # /* ------------------------------------------------------------------------ */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeleton: 953s # * 953s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceSkeletonClass: 953s # * @parent_class: The parent class. 953s # * 953s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 953s # */ 953s # 953s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 953s # { 953s # GValue *properties; 953s # GList *changed_properties; 953s # GSource *changed_properties_idle_source; 953s # GMainContext *context; 953s # GMutex lock; 953s # }; 953s # 953s # static void 953s # _org_project_useful_interface_skeleton_handle_method_call ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name, 953s # const gchar *method_name, 953s # GVariant *parameters, 953s # GDBusMethodInvocation *invocation, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # _ExtendedGDBusMethodInfo *info; 953s # GVariantIter iter; 953s # GVariant *child; 953s # GValue *paramv; 953s # gsize num_params; 953s # guint num_extra; 953s # gsize n; 953s # guint signal_id; 953s # GValue return_value = G_VALUE_INIT; 953s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 953s # g_assert (info != NULL); 953s # num_params = g_variant_n_children (parameters); 953s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 953s # n = 0; 953s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_set_object (¶mv[n++], skeleton); 953s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 953s # g_value_set_object (¶mv[n++], invocation); 953s # if (info->pass_fdlist) 953s # { 953s # #ifdef G_OS_UNIX 953s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 953s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 953s # #else 953s # g_assert_not_reached (); 953s # #endif 953s # } 953s # g_variant_iter_init (&iter, parameters); 953s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 953s # { 953s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 953s # if (arg_info->use_gvariant) 953s # { 953s # g_value_init (¶mv[n], G_TYPE_VARIANT); 953s # g_value_set_variant (¶mv[n], child); 953s # n++; 953s # } 953s # else 953s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 953s # g_variant_unref (child); 953s # } 953s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 953s # g_value_init (&return_value, G_TYPE_BOOLEAN); 953s # g_signal_emitv (paramv, signal_id, 0, &return_value); 953s # if (!g_value_get_boolean (&return_value)) 953s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 953s # g_value_unset (&return_value); 953s # for (n = 0; n < num_params + num_extra; n++) 953s # g_value_unset (¶mv[n]); 953s # g_free (paramv); 953s # } 953s # 953s # static GVariant * 953s # _org_project_useful_interface_skeleton_handle_get_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # GVariant *ret; 953s # ret = NULL; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # g_value_init (&value, pspec->value_type); 953s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 953s # g_value_unset (&value); 953s # } 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _org_project_useful_interface_skeleton_handle_set_property ( 953s # GDBusConnection *connection G_GNUC_UNUSED, 953s # const gchar *sender G_GNUC_UNUSED, 953s # const gchar *object_path G_GNUC_UNUSED, 953s # const gchar *interface_name G_GNUC_UNUSED, 953s # const gchar *property_name, 953s # GVariant *variant, 953s # GError **error, 953s # gpointer user_data) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 953s # GValue value = G_VALUE_INIT; 953s # GParamSpec *pspec; 953s # _ExtendedGDBusPropertyInfo *info; 953s # gboolean ret; 953s # ret = FALSE; 953s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 953s # g_assert (info != NULL); 953s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 953s # if (pspec == NULL) 953s # { 953s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 953s # } 953s # else 953s # { 953s # if (info->use_gvariant) 953s # g_value_set_variant (&value, variant); 953s # else 953s # g_dbus_gvariant_to_gvalue (variant, &value); 953s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 953s # g_value_unset (&value); 953s # ret = TRUE; 953s # } 953s # return ret; 953s # } 953s # 953s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 953s # { 953s # _org_project_useful_interface_skeleton_handle_method_call, 953s # _org_project_useful_interface_skeleton_handle_get_property, 953s # _org_project_useful_interface_skeleton_handle_set_property, 953s # {NULL} 953s # }; 953s # 953s # static GDBusInterfaceInfo * 953s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return org_project_useful_interface_interface_info (); 953s # } 953s # 953s # static GDBusInterfaceVTable * 953s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 953s # { 953s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 953s # } 953s # 953s # static GVariant * 953s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 953s # 953s # GVariantBuilder builder; 953s # guint n; 953s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 953s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 953s # goto out; 953s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 953s # { 953s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 953s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 953s # { 953s # GVariant *value; 953s # 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); 953s # if (value != NULL) 953s # { 953s # g_variant_take_ref (value); 953s # g_variant_builder_add (&builder, "{sv}", info->name, value); 953s # g_variant_unref (value); 953s # } 953s # } 953s # } 953s # out: 953s # return g_variant_builder_end (&builder); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #else 953s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 953s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 953s # 953s # #endif 953s # static void 953s # org_project_useful_interface_skeleton_finalize (GObject *object) 953s # { 953s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 953s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 953s # if (skeleton->priv->changed_properties_idle_source != NULL) 953s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 953s # g_main_context_unref (skeleton->priv->context); 953s # g_mutex_clear (&skeleton->priv->lock); 953s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 953s # { 953s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 953s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 953s # #else 953s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 953s # #endif 953s # 953s # g_mutex_init (&skeleton->priv->lock); 953s # skeleton->priv->context = g_main_context_ref_thread_default (); 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 953s # { 953s # GObjectClass *gobject_class; 953s # GDBusInterfaceSkeletonClass *skeleton_class; 953s # 953s # gobject_class = G_OBJECT_CLASS (klass); 953s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 953s # 953s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 953s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 953s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 953s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 953s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 953s # 953s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 953s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 953s # #endif 953s # } 953s # 953s # static void 953s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 953s # { 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_skeleton_new: 953s # * 953s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 953s # * 953s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 953s # */ 953s # OrgProjectUsefulInterface * 953s # org_project_useful_interface_skeleton_new (void) 953s # { 953s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 953s # } 953s # /tmp/tmp5c3kkxyj/tmpl4hji_l3.xml: 953s # 953s # 953s # 953s # 953s # 953s # 953s # 953s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmpl4hji_l3.xml', '--output', '-', '--body'] 953s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 953s # Output: /* 953s # * This file is generated by gdbus-codegen, do not modify it. 953s # * 953s # * The license of this code is the same as for the D-Bus interface description 953s # * it was derived from. Note that it links to GLib, so must comply with the 953s # * LGPL linking clauses. 953s # */ 953s # 953s # #ifdef HAVE_CONFIG_H 953s # # include "config.h" 953s # #endif 953s # 953s # #include 953s # #ifdef G_OS_UNIX 953s # # include 953s # #endif 953s # 953s # #ifdef G_ENABLE_DEBUG 953s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 953s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 953s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 953s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 953s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 953s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 953s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 953s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 953s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 953s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 953s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 953s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 953s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 953s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 953s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 953s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 953s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 953s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 953s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 953s # #else /* !G_ENABLE_DEBUG */ 953s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 953s # * Do not access GValues directly in your code. Instead, use the 953s # * g_value_get_*() functions 953s # */ 953s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 953s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 953s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 953s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 953s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 953s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 953s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 953s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 953s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 953s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 953s # #endif /* !G_ENABLE_DEBUG */ 953s # 953s # typedef struct 953s # { 953s # GDBusArgInfo parent_struct; 953s # gboolean use_gvariant; 953s # } _ExtendedGDBusArgInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusMethodInfo parent_struct; 953s # const gchar *signal_name; 953s # gboolean pass_fdlist; 953s # } _ExtendedGDBusMethodInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusSignalInfo parent_struct; 953s # const gchar *signal_name; 953s # } _ExtendedGDBusSignalInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusPropertyInfo parent_struct; 953s # const gchar *hyphen_name; 953s # guint use_gvariant : 1; 953s # guint emits_changed_signal : 1; 953s # } _ExtendedGDBusPropertyInfo; 953s # 953s # typedef struct 953s # { 953s # GDBusInterfaceInfo parent_struct; 953s # const gchar *hyphen_name; 953s # } _ExtendedGDBusInterfaceInfo; 953s # 953s # typedef struct 953s # { 953s # const _ExtendedGDBusPropertyInfo *info; 953s # guint prop_id; 953s # GValue orig_value; /* the value before the change */ 953s # } ChangedProperty; 953s # 953s # static void 953s # _changed_property_free (ChangedProperty *data) 953s # { 953s # g_value_unset (&data->orig_value); 953s # g_free (data); 953s # } 953s # 953s # static gboolean 953s # _g_strv_equal0 (gchar **a, gchar **b) 953s # { 953s # gboolean ret = FALSE; 953s # guint n; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # if (g_strv_length (a) != g_strv_length (b)) 953s # goto out; 953s # for (n = 0; a[n] != NULL; n++) 953s # if (g_strcmp0 (a[n], b[n]) != 0) 953s # goto out; 953s # ret = TRUE; 953s # out: 953s # return ret; 953s # } 953s # 953s # static gboolean 953s # _g_variant_equal0 (GVariant *a, GVariant *b) 953s # { 953s # gboolean ret = FALSE; 953s # if (a == NULL && b == NULL) 953s # { 953s # ret = TRUE; 953s # goto out; 953s # } 953s # if (a == NULL || b == NULL) 953s # goto out; 953s # ret = g_variant_equal (a, b); 953s # out: 953s # return ret; 953s # } 953s # 953s # G_GNUC_UNUSED static gboolean 953s # _g_value_equal (const GValue *a, const GValue *b) 953s # { 953s # gboolean ret = FALSE; 953s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 953s # switch (G_VALUE_TYPE (a)) 953s # { 953s # case G_TYPE_BOOLEAN: 953s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 953s # break; 953s # case G_TYPE_UCHAR: 953s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 953s # break; 953s # case G_TYPE_INT: 953s # ret = (g_value_get_int (a) == g_value_get_int (b)); 953s # break; 953s # case G_TYPE_UINT: 953s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 953s # break; 953s # case G_TYPE_INT64: 953s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 953s # break; 953s # case G_TYPE_UINT64: 953s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 953s # break; 953s # case G_TYPE_DOUBLE: 953s # { 953s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 953s # gdouble da = g_value_get_double (a); 953s # gdouble db = g_value_get_double (b); 953s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 953s # } 953s # break; 953s # case G_TYPE_STRING: 953s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 953s # break; 953s # case G_TYPE_VARIANT: 953s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 953s # break; 953s # default: 953s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 953s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 953s # else 953s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 953s # break; 953s # } 953s # return ret; 953s # } 953s # 953s # static void 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint G_GNUC_UNUSED, 953s # void *marshal_data) 953s # { 953s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (void *data1, 953s # GDBusMethodInvocation *arg_method_invocation, 953s # void *data2); 953s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 953s # GCClosure *cc = (GCClosure*) closure; 953s # void *data1, *data2; 953s # gboolean v_return; 953s # 953s # g_return_if_fail (return_value != NULL); 953s # g_return_if_fail (n_param_values == 2); 953s # 953s # if (G_CCLOSURE_SWAP_DATA (closure)) 953s # { 953s # data1 = closure->data; 953s # data2 = g_value_peek_pointer (param_values + 0); 953s # } 953s # else 953s # { 953s # data1 = g_value_peek_pointer (param_values + 0); 953s # data2 = closure->data; 953s # } 953s # 953s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 953s # (marshal_data ? marshal_data : cc->callback); 953s # 953s # v_return = 953s # callback (data1, 953s # g_marshal_value_peek_object (param_values + 1), 953s # data2); 953s # 953s # g_value_set_boolean (return_value, v_return); 953s # } 953s # 953s # /* ------------------------------------------------------------------------ 953s # * Code for interface org.project.UsefulInterface 953s # * ------------------------------------------------------------------------ 953s # */ 953s # 953s # /** 953s # * SECTION:OrgProjectUsefulInterface 953s # * @title: OrgProjectUsefulInterface 953s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 953s # * 953s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 953s # */ 953s # 953s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 953s # 953s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 953s # { 953s # { 953s # -1, 953s # (gchar *) "arg_h", 953s # (gchar *) "h", 953s # NULL 953s # }, 953s # FALSE 953s # }; 953s # 953s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 953s # { 953s # { 953s # -1, 953s # (gchar *) "SingleArgMethodH", 953s # NULL, 953s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 953s # NULL 953s # }, 953s # "handle-single-arg-method-h", 953s # FALSE 953s # }; 953s # 953s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 953s # { 953s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 953s # NULL 953s # }; 953s # 953s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 953s # { 953s # { 953s # -1, 953s # (gchar *) "org.project.UsefulInterface", 953s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 953s # NULL, 953s # NULL, 953s # NULL 953s # }, 953s # "org-project-useful-interface", 953s # }; 953s # 953s # 953s # /** 953s # * org_project_useful_interface_interface_info: 953s # * 953s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 953s # * 953s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 953s # */ 953s # GDBusInterfaceInfo * 953s # org_project_useful_interface_interface_info (void) 953s # { 953s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 953s # } 953s # 953s # /** 953s # * org_project_useful_interface_override_properties: 953s # * @klass: The class structure for a #GObject derived class. 953s # * @property_id_begin: The property id to assign to the first overridden property. 953s # * 953s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 953s # * The properties are overridden in the order they are defined. 953s # * 953s # * Returns: The last property id. 953s # */ 953s # guint 953s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 953s # { 953s # return property_id_begin - 1; 953s # } 953s # 953s # 953s # inline static void 953s # org_project_useful_interface_method_marshal_single_arg_method_h ( 953s # GClosure *closure, 953s # GValue *return_value, 953s # unsigned int n_param_values, 953s # const GValue *param_values, 953s # void *invocation_hint, 953s # void *marshal_data) 953s # { 953s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 953s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 953s # } 953s # 953s # 953s # /** 953s # * OrgProjectUsefulInterface: 953s # * 953s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # /** 953s # * OrgProjectUsefulInterfaceIface: 953s # * @parent_iface: The parent interface. 953s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 953s # * 953s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 953s # */ 953s # 953s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 953s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 953s # 953s # static void 953s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 953s # { 953s # /* GObject signals for incoming D-Bus method calls: */ 953s # /** 953s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 953s # * @object: A #OrgProjectUsefulInterface. 953s # * @invocation: A #GDBusMethodInvocation. 953s # * 953s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 953s # * 953s # * 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. 953s # * 953s # * 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. 953s # */ 953s # g_signal_new ("handle-single-arg-method-h", 953s # G_TYPE_FROM_INTERFACE (iface), 953s # G_SIGNAL_RUN_LAST, 953s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 953s # g_signal_accumulator_true_handled, 953s # NULL, 953s # org_project_useful_interface_method_marshal_single_arg_method_h, 953s # G_TYPE_BOOLEAN, 953s # 1, 953s # G_TYPE_DBUS_METHOD_INVOCATION); 953s # 953s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_h: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_useful_interface_call_single_arg_method_h ( 954s # OrgProjectUsefulInterface *proxy, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodH", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_h_finish: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_h_finish ( 954s # OrgProjectUsefulInterface *proxy, 954s # GVariant **out_arg_h, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(@h)", 954s # out_arg_h); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_h_sync: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_h_sync ( 954s # OrgProjectUsefulInterface *proxy, 954s # GVariant **out_arg_h, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodH", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(@h)", 954s # out_arg_h); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_complete_single_arg_method_h: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * @arg_h: Parameter to return. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_useful_interface_complete_single_arg_method_h ( 954s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation, 954s # GVariant *arg_h) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("(@h)", 954s # arg_h)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxy: 954s # * 954s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 954s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 954s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeleton: 954s # * 954s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_useful_interface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_useful_interface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_useful_interface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 954s # { 954s # _org_project_useful_interface_skeleton_handle_method_call, 954s # _org_project_useful_interface_skeleton_handle_get_property, 954s # _org_project_useful_interface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_useful_interface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 954s # } 954s # /tmp/tmp5c3kkxyj/tmpl3azyi3k.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmpl3azyi3k.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (void *data1, 954s # GDBusMethodInvocation *arg_method_invocation, 954s # void *data2); 954s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # gboolean v_return; 954s # 954s # g_return_if_fail (return_value != NULL); 954s # g_return_if_fail (n_param_values == 2); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # v_return = 954s # callback (data1, 954s # g_marshal_value_peek_object (param_values + 1), 954s # data2); 954s # 954s # g_value_set_boolean (return_value, v_return); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.UsefulInterface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectUsefulInterface 954s # * @title: OrgProjectUsefulInterface 954s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 954s # */ 954s # 954s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "arg_ay", 954s # (gchar *) "ay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgMethodAy", 954s # NULL, 954s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 954s # NULL 954s # }, 954s # "handle-single-arg-method-ay", 954s # FALSE 954s # }; 954s # 954s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.UsefulInterface", 954s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 954s # NULL, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-useful-interface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_useful_interface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_useful_interface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectUsefulInterface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 954s # { 954s # /* GObject signals for incoming D-Bus method calls: */ 954s # /** 954s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * 954s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-single-arg-method-ay", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # org_project_useful_interface_method_marshal_single_arg_method_ay, 954s # G_TYPE_BOOLEAN, 954s # 1, 954s # G_TYPE_DBUS_METHOD_INVOCATION); 954s # 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_ay: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_useful_interface_call_single_arg_method_ay ( 954s # OrgProjectUsefulInterface *proxy, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAy", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_ay_finish: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_ay_finish ( 954s # OrgProjectUsefulInterface *proxy, 954s # gchar **out_arg_ay, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(^ay)", 954s # out_arg_ay); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_ay_sync: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_ay_sync ( 954s # OrgProjectUsefulInterface *proxy, 954s # gchar **out_arg_ay, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAy", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(^ay)", 954s # out_arg_ay); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_complete_single_arg_method_ay: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * @arg_ay: Parameter to return. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_useful_interface_complete_single_arg_method_ay ( 954s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation, 954s # const gchar *arg_ay) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("(^ay)", 954s # arg_ay)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxy: 954s # * 954s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 954s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 954s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeleton: 954s # * 954s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_useful_interface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_useful_interface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_useful_interface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 954s # { 954s # _org_project_useful_interface_skeleton_handle_method_call, 954s # _org_project_useful_interface_skeleton_handle_get_property, 954s # _org_project_useful_interface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_useful_interface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 954s # } 954s # /tmp/tmp5c3kkxyj/tmpy0nx0c9d.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmpy0nx0c9d.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (void *data1, 954s # GDBusMethodInvocation *arg_method_invocation, 954s # void *data2); 954s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # gboolean v_return; 954s # 954s # g_return_if_fail (return_value != NULL); 954s # g_return_if_fail (n_param_values == 2); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # v_return = 954s # callback (data1, 954s # g_marshal_value_peek_object (param_values + 1), 954s # data2); 954s # 954s # g_value_set_boolean (return_value, v_return); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.UsefulInterface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectUsefulInterface 954s # * @title: OrgProjectUsefulInterface 954s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 954s # */ 954s # 954s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 954s # { 954s # { 954s # -1, 954s # (gchar *) "arg_as", 954s # (gchar *) "as", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgMethodAs", 954s # NULL, 954s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 954s # NULL 954s # }, 954s # "handle-single-arg-method-as", 954s # FALSE 954s # }; 954s # 954s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.UsefulInterface", 954s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 954s # NULL, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-useful-interface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_useful_interface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_useful_interface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_useful_interface_method_marshal_single_arg_method_as ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectUsefulInterface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 954s # { 954s # /* GObject signals for incoming D-Bus method calls: */ 954s # /** 954s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * 954s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-single-arg-method-as", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # org_project_useful_interface_method_marshal_single_arg_method_as, 954s # G_TYPE_BOOLEAN, 954s # 1, 954s # G_TYPE_DBUS_METHOD_INVOCATION); 954s # 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_as: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_useful_interface_call_single_arg_method_as ( 954s # OrgProjectUsefulInterface *proxy, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAs", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_as_finish: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_as_finish ( 954s # OrgProjectUsefulInterface *proxy, 954s # gchar ***out_arg_as, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(^as)", 954s # out_arg_as); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_as_sync: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_as_sync ( 954s # OrgProjectUsefulInterface *proxy, 954s # gchar ***out_arg_as, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAs", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(^as)", 954s # out_arg_as); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_complete_single_arg_method_as: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * @arg_as: Parameter to return. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_useful_interface_complete_single_arg_method_as ( 954s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation, 954s # const gchar *const *arg_as) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("(^as)", 954s # arg_as)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxy: 954s # * 954s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 954s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 954s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeleton: 954s # * 954s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_useful_interface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_useful_interface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_useful_interface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 954s # { 954s # _org_project_useful_interface_skeleton_handle_method_call, 954s # _org_project_useful_interface_skeleton_handle_get_property, 954s # _org_project_useful_interface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_useful_interface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 954s # } 954s # /tmp/tmp5c3kkxyj/tmppwmdo0r2.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmppwmdo0r2.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (void *data1, 954s # GDBusMethodInvocation *arg_method_invocation, 954s # void *data2); 954s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # gboolean v_return; 954s # 954s # g_return_if_fail (return_value != NULL); 954s # g_return_if_fail (n_param_values == 2); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # v_return = 954s # callback (data1, 954s # g_marshal_value_peek_object (param_values + 1), 954s # data2); 954s # 954s # g_value_set_boolean (return_value, v_return); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.UsefulInterface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectUsefulInterface 954s # * @title: OrgProjectUsefulInterface 954s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 954s # */ 954s # 954s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 954s # { 954s # { 954s # -1, 954s # (gchar *) "arg_ao", 954s # (gchar *) "ao", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgMethodAo", 954s # NULL, 954s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 954s # NULL 954s # }, 954s # "handle-single-arg-method-ao", 954s # FALSE 954s # }; 954s # 954s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.UsefulInterface", 954s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 954s # NULL, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-useful-interface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_useful_interface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_useful_interface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectUsefulInterface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 954s # { 954s # /* GObject signals for incoming D-Bus method calls: */ 954s # /** 954s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * 954s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-single-arg-method-ao", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # org_project_useful_interface_method_marshal_single_arg_method_ao, 954s # G_TYPE_BOOLEAN, 954s # 1, 954s # G_TYPE_DBUS_METHOD_INVOCATION); 954s # 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_ao: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_useful_interface_call_single_arg_method_ao ( 954s # OrgProjectUsefulInterface *proxy, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAo", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_ao_finish: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_ao_finish ( 954s # OrgProjectUsefulInterface *proxy, 954s # gchar ***out_arg_ao, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(^ao)", 954s # out_arg_ao); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_ao_sync: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_ao_sync ( 954s # OrgProjectUsefulInterface *proxy, 954s # gchar ***out_arg_ao, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAo", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(^ao)", 954s # out_arg_ao); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_complete_single_arg_method_ao: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * @arg_ao: Parameter to return. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_useful_interface_complete_single_arg_method_ao ( 954s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation, 954s # const gchar *const *arg_ao) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("(^ao)", 954s # arg_ao)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxy: 954s # * 954s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 954s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 954s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeleton: 954s # * 954s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_useful_interface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_useful_interface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_useful_interface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 954s # { 954s # _org_project_useful_interface_skeleton_handle_method_call, 954s # _org_project_useful_interface_skeleton_handle_get_property, 954s # _org_project_useful_interface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_useful_interface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 954s # } 954s # /tmp/tmp5c3kkxyj/tmp6v9xa5g4.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmp6v9xa5g4.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (void *data1, 954s # GDBusMethodInvocation *arg_method_invocation, 954s # void *data2); 954s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # gboolean v_return; 954s # 954s # g_return_if_fail (return_value != NULL); 954s # g_return_if_fail (n_param_values == 2); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # v_return = 954s # callback (data1, 954s # g_marshal_value_peek_object (param_values + 1), 954s # data2); 954s # 954s # g_value_set_boolean (return_value, v_return); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.UsefulInterface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectUsefulInterface 954s # * @title: OrgProjectUsefulInterface 954s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 954s # */ 954s # 954s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "arg_aay", 954s # (gchar *) "aay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgMethodAay", 954s # NULL, 954s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 954s # NULL 954s # }, 954s # "handle-single-arg-method-aay", 954s # FALSE 954s # }; 954s # 954s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.UsefulInterface", 954s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 954s # NULL, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-useful-interface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_useful_interface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_useful_interface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectUsefulInterface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 954s # { 954s # /* GObject signals for incoming D-Bus method calls: */ 954s # /** 954s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * 954s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-single-arg-method-aay", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # org_project_useful_interface_method_marshal_single_arg_method_aay, 954s # G_TYPE_BOOLEAN, 954s # 1, 954s # G_TYPE_DBUS_METHOD_INVOCATION); 954s # 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_aay: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_useful_interface_call_single_arg_method_aay ( 954s # OrgProjectUsefulInterface *proxy, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAay", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_aay_finish: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_aay_finish ( 954s # OrgProjectUsefulInterface *proxy, 954s # gchar ***out_arg_aay, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(^aay)", 954s # out_arg_aay); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_aay_sync: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_aay_sync ( 954s # OrgProjectUsefulInterface *proxy, 954s # gchar ***out_arg_aay, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAay", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(^aay)", 954s # out_arg_aay); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_complete_single_arg_method_aay: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * @arg_aay: Parameter to return. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_useful_interface_complete_single_arg_method_aay ( 954s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation, 954s # const gchar *const *arg_aay) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("(^aay)", 954s # arg_aay)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxy: 954s # * 954s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 954s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 954s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeleton: 954s # * 954s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_useful_interface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_useful_interface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_useful_interface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 954s # { 954s # _org_project_useful_interface_skeleton_handle_method_call, 954s # _org_project_useful_interface_skeleton_handle_get_property, 954s # _org_project_useful_interface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_useful_interface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 954s # } 954s # /tmp/tmp5c3kkxyj/tmp2vlb2uij.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5c3kkxyj/tmp2vlb2uij.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (void *data1, 954s # GDBusMethodInvocation *arg_method_invocation, 954s # void *data2); 954s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # gboolean v_return; 954s # 954s # g_return_if_fail (return_value != NULL); 954s # g_return_if_fail (n_param_values == 2); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # v_return = 954s # callback (data1, 954s # g_marshal_value_peek_object (param_values + 1), 954s # data2); 954s # 954s # g_value_set_boolean (return_value, v_return); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.UsefulInterface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectUsefulInterface 954s # * @title: OrgProjectUsefulInterface 954s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 954s # */ 954s # 954s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 954s # { 954s # { 954s # -1, 954s # (gchar *) "arg_asv", 954s # (gchar *) "a{sv}", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgMethodAsv", 954s # NULL, 954s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 954s # NULL 954s # }, 954s # "handle-single-arg-method-asv", 954s # FALSE 954s # }; 954s # 954s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 954s # { 954s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.UsefulInterface", 954s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 954s # NULL, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-useful-interface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_useful_interface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_useful_interface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectUsefulInterface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 954s # { 954s # /* GObject signals for incoming D-Bus method calls: */ 954s # /** 954s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * 954s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-single-arg-method-asv", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # org_project_useful_interface_method_marshal_single_arg_method_asv, 954s # G_TYPE_BOOLEAN, 954s # 1, 954s # G_TYPE_DBUS_METHOD_INVOCATION); 954s # 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_asv: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_useful_interface_call_single_arg_method_asv ( 954s # OrgProjectUsefulInterface *proxy, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAsv", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_asv_finish: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_asv_finish ( 954s # OrgProjectUsefulInterface *proxy, 954s # GVariant **out_arg_asv, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(@a{sv})", 954s # out_arg_asv); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_call_single_arg_method_asv_sync: 954s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 954s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_useful_interface_call_single_arg_method_asv_sync ( 954s # OrgProjectUsefulInterface *proxy, 954s # GVariant **out_arg_asv, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "SingleArgMethodAsv", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(@a{sv})", 954s # out_arg_asv); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_complete_single_arg_method_asv: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * @arg_asv: Parameter to return. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_useful_interface_complete_single_arg_method_asv ( 954s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation, 954s # GVariant *arg_asv) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("(@a{sv})", 954s # arg_asv)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxy: 954s # * 954s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 954s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 954s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeleton: 954s # * 954s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_useful_interface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_useful_interface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_useful_interface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 954s # { 954s # _org_project_useful_interface_skeleton_handle_method_call, 954s # _org_project_useful_interface_skeleton_handle_get_property, 954s # _org_project_useful_interface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_useful_interface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 954s # } 954s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 954s # tmpdir: /tmp/tmph4as9xju 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmph4as9xju/tmpw_8ufljb.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph4as9xju/tmpw_8ufljb.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 954s # (void *data1, 954s # GDBusMethodInvocation *arg_method_invocation, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv, 954s # void *data2); 954s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # gboolean v_return; 954s # 954s # g_return_if_fail (return_value != NULL); 954s # g_return_if_fail (n_param_values == 20); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # v_return = 954s # callback (data1, 954s # g_marshal_value_peek_object (param_values + 1), 954s # g_marshal_value_peek_boolean (param_values + 2), 954s # g_marshal_value_peek_uchar (param_values + 3), 954s # g_marshal_value_peek_int (param_values + 4), 954s # g_marshal_value_peek_uint (param_values + 5), 954s # g_marshal_value_peek_int (param_values + 6), 954s # g_marshal_value_peek_uint (param_values + 7), 954s # g_marshal_value_peek_int64 (param_values + 8), 954s # g_marshal_value_peek_uint64 (param_values + 9), 954s # g_marshal_value_peek_double (param_values + 10), 954s # g_marshal_value_peek_string (param_values + 11), 954s # g_marshal_value_peek_string (param_values + 12), 954s # g_marshal_value_peek_string (param_values + 13), 954s # g_marshal_value_peek_variant (param_values + 14), 954s # g_marshal_value_peek_string (param_values + 15), 954s # g_marshal_value_peek_boxed (param_values + 16), 954s # g_marshal_value_peek_boxed (param_values + 17), 954s # g_marshal_value_peek_boxed (param_values + 18), 954s # g_marshal_value_peek_variant (param_values + 19), 954s # data2); 954s # 954s # g_value_set_boolean (return_value, v_return); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.CallableIface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectCallableIface 954s # * @title: OrgProjectCallableIface 954s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 954s # */ 954s # 954s # /* ---- Introspection data for org.project.CallableIface ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_b", 954s # (gchar *) "b", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_y", 954s # (gchar *) "y", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_n", 954s # (gchar *) "n", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_q", 954s # (gchar *) "q", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_i", 954s # (gchar *) "i", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_u", 954s # (gchar *) "u", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_x", 954s # (gchar *) "x", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_t", 954s # (gchar *) "t", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_d", 954s # (gchar *) "d", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_s", 954s # (gchar *) "s", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_o", 954s # (gchar *) "o", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_g", 954s # (gchar *) "g", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_h", 954s # (gchar *) "h", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ay", 954s # (gchar *) "ay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_as", 954s # (gchar *) "as", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ao", 954s # (gchar *) "ao", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_aay", 954s # (gchar *) "aay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_asv", 954s # (gchar *) "a{sv}", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 954s # { 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 954s # { 954s # { 954s # -1, 954s # (gchar *) "MethodWithManyArgs", 954s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 954s # NULL, 954s # NULL 954s # }, 954s # "handle-method-with-many-args", 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_b", 954s # (gchar *) "b", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_y", 954s # (gchar *) "y", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_n", 954s # (gchar *) "n", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_q", 954s # (gchar *) "q", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_i", 954s # (gchar *) "i", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_u", 954s # (gchar *) "u", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_x", 954s # (gchar *) "x", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_t", 954s # (gchar *) "t", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_d", 954s # (gchar *) "d", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_s", 954s # (gchar *) "s", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_o", 954s # (gchar *) "o", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_g", 954s # (gchar *) "g", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_h", 954s # (gchar *) "h", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ay", 954s # (gchar *) "ay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_as", 954s # (gchar *) "as", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ao", 954s # (gchar *) "ao", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_aay", 954s # (gchar *) "aay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_asv", 954s # (gchar *) "a{sv}", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 954s # { 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SameMethodWithManyArgs", 954s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 954s # NULL, 954s # NULL 954s # }, 954s # "handle-same-method-with-many-args", 954s # FALSE 954s # }; 954s # 954s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 954s # { 954s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 954s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.CallableIface", 954s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 954s # NULL, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-callable-iface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_callable_iface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_callable_iface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_callable_iface_method_marshal_method_with_many_args ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _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, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _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, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectCallableIface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 954s # */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 954s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.CallableIface. 954s # */ 954s # 954s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 954s # { 954s # /* GObject signals for incoming D-Bus method calls: */ 954s # /** 954s # * OrgProjectCallableIface::handle-method-with-many-args: 954s # * @object: A #OrgProjectCallableIface. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * @arg_an_b: Argument passed by remote caller. 954s # * @arg_an_y: Argument passed by remote caller. 954s # * @arg_an_n: Argument passed by remote caller. 954s # * @arg_an_q: Argument passed by remote caller. 954s # * @arg_an_i: Argument passed by remote caller. 954s # * @arg_an_u: Argument passed by remote caller. 954s # * @arg_an_x: Argument passed by remote caller. 954s # * @arg_an_t: Argument passed by remote caller. 954s # * @arg_an_d: Argument passed by remote caller. 954s # * @arg_an_s: Argument passed by remote caller. 954s # * @arg_an_o: Argument passed by remote caller. 954s # * @arg_an_g: Argument passed by remote caller. 954s # * @arg_an_h: Argument passed by remote caller. 954s # * @arg_an_ay: Argument passed by remote caller. 954s # * @arg_an_as: Argument passed by remote caller. 954s # * @arg_an_ao: Argument passed by remote caller. 954s # * @arg_an_aay: Argument passed by remote caller. 954s # * @arg_an_asv: Argument passed by remote caller. 954s # * 954s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-method-with-many-args", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # org_project_callable_iface_method_marshal_method_with_many_args, 954s # G_TYPE_BOOLEAN, 954s # 19, 954s # 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); 954s # 954s # /** 954s # * OrgProjectCallableIface::handle-same-method-with-many-args: 954s # * @object: A #OrgProjectCallableIface. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * @arg_an_b: Argument passed by remote caller. 954s # * @arg_an_y: Argument passed by remote caller. 954s # * @arg_an_n: Argument passed by remote caller. 954s # * @arg_an_q: Argument passed by remote caller. 954s # * @arg_an_i: Argument passed by remote caller. 954s # * @arg_an_u: Argument passed by remote caller. 954s # * @arg_an_x: Argument passed by remote caller. 954s # * @arg_an_t: Argument passed by remote caller. 954s # * @arg_an_d: Argument passed by remote caller. 954s # * @arg_an_s: Argument passed by remote caller. 954s # * @arg_an_o: Argument passed by remote caller. 954s # * @arg_an_g: Argument passed by remote caller. 954s # * @arg_an_h: Argument passed by remote caller. 954s # * @arg_an_ay: Argument passed by remote caller. 954s # * @arg_an_as: Argument passed by remote caller. 954s # * @arg_an_ao: Argument passed by remote caller. 954s # * @arg_an_aay: Argument passed by remote caller. 954s # * @arg_an_asv: Argument passed by remote caller. 954s # * 954s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-same-method-with-many-args", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # org_project_callable_iface_method_marshal_same_method_with_many_args, 954s # G_TYPE_BOOLEAN, 954s # 19, 954s # 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); 954s # 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_call_method_with_many_args: 954s # * @proxy: A #OrgProjectCallableIfaceProxy. 954s # * @arg_an_b: Argument to pass with the method invocation. 954s # * @arg_an_y: Argument to pass with the method invocation. 954s # * @arg_an_n: Argument to pass with the method invocation. 954s # * @arg_an_q: Argument to pass with the method invocation. 954s # * @arg_an_i: Argument to pass with the method invocation. 954s # * @arg_an_u: Argument to pass with the method invocation. 954s # * @arg_an_x: Argument to pass with the method invocation. 954s # * @arg_an_t: Argument to pass with the method invocation. 954s # * @arg_an_d: Argument to pass with the method invocation. 954s # * @arg_an_s: Argument to pass with the method invocation. 954s # * @arg_an_o: Argument to pass with the method invocation. 954s # * @arg_an_g: Argument to pass with the method invocation. 954s # * @arg_an_h: Argument to pass with the method invocation. 954s # * @arg_an_ay: Argument to pass with the method invocation. 954s # * @arg_an_as: Argument to pass with the method invocation. 954s # * @arg_an_ao: Argument to pass with the method invocation. 954s # * @arg_an_aay: Argument to pass with the method invocation. 954s # * @arg_an_asv: Argument to pass with the method invocation. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 954s # * 954s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_callable_iface_call_method_with_many_args ( 954s # OrgProjectCallableIface *proxy, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "MethodWithManyArgs", 954s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # arg_an_b, 954s # arg_an_y, 954s # arg_an_n, 954s # arg_an_q, 954s # arg_an_i, 954s # arg_an_u, 954s # arg_an_x, 954s # arg_an_t, 954s # arg_an_d, 954s # arg_an_s, 954s # arg_an_o, 954s # arg_an_g, 954s # arg_an_h, 954s # arg_an_ay, 954s # arg_an_as, 954s # arg_an_ao, 954s # arg_an_aay, 954s # arg_an_asv), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_call_method_with_many_args_finish: 954s # * @proxy: A #OrgProjectCallableIfaceProxy. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_callable_iface_call_method_with_many_args_finish ( 954s # OrgProjectCallableIface *proxy, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "()"); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_call_method_with_many_args_sync: 954s # * @proxy: A #OrgProjectCallableIfaceProxy. 954s # * @arg_an_b: Argument to pass with the method invocation. 954s # * @arg_an_y: Argument to pass with the method invocation. 954s # * @arg_an_n: Argument to pass with the method invocation. 954s # * @arg_an_q: Argument to pass with the method invocation. 954s # * @arg_an_i: Argument to pass with the method invocation. 954s # * @arg_an_u: Argument to pass with the method invocation. 954s # * @arg_an_x: Argument to pass with the method invocation. 954s # * @arg_an_t: Argument to pass with the method invocation. 954s # * @arg_an_d: Argument to pass with the method invocation. 954s # * @arg_an_s: Argument to pass with the method invocation. 954s # * @arg_an_o: Argument to pass with the method invocation. 954s # * @arg_an_g: Argument to pass with the method invocation. 954s # * @arg_an_h: Argument to pass with the method invocation. 954s # * @arg_an_ay: Argument to pass with the method invocation. 954s # * @arg_an_as: Argument to pass with the method invocation. 954s # * @arg_an_ao: Argument to pass with the method invocation. 954s # * @arg_an_aay: Argument to pass with the method invocation. 954s # * @arg_an_asv: Argument to pass with the method invocation. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_callable_iface_call_method_with_many_args_sync ( 954s # OrgProjectCallableIface *proxy, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "MethodWithManyArgs", 954s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # arg_an_b, 954s # arg_an_y, 954s # arg_an_n, 954s # arg_an_q, 954s # arg_an_i, 954s # arg_an_u, 954s # arg_an_x, 954s # arg_an_t, 954s # arg_an_d, 954s # arg_an_s, 954s # arg_an_o, 954s # arg_an_g, 954s # arg_an_h, 954s # arg_an_ay, 954s # arg_an_as, 954s # arg_an_ao, 954s # arg_an_aay, 954s # arg_an_asv), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "()"); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_call_same_method_with_many_args: 954s # * @proxy: A #OrgProjectCallableIfaceProxy. 954s # * @arg_an_b: Argument to pass with the method invocation. 954s # * @arg_an_y: Argument to pass with the method invocation. 954s # * @arg_an_n: Argument to pass with the method invocation. 954s # * @arg_an_q: Argument to pass with the method invocation. 954s # * @arg_an_i: Argument to pass with the method invocation. 954s # * @arg_an_u: Argument to pass with the method invocation. 954s # * @arg_an_x: Argument to pass with the method invocation. 954s # * @arg_an_t: Argument to pass with the method invocation. 954s # * @arg_an_d: Argument to pass with the method invocation. 954s # * @arg_an_s: Argument to pass with the method invocation. 954s # * @arg_an_o: Argument to pass with the method invocation. 954s # * @arg_an_g: Argument to pass with the method invocation. 954s # * @arg_an_h: Argument to pass with the method invocation. 954s # * @arg_an_ay: Argument to pass with the method invocation. 954s # * @arg_an_as: Argument to pass with the method invocation. 954s # * @arg_an_ao: Argument to pass with the method invocation. 954s # * @arg_an_aay: Argument to pass with the method invocation. 954s # * @arg_an_asv: Argument to pass with the method invocation. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 954s # * 954s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_callable_iface_call_same_method_with_many_args ( 954s # OrgProjectCallableIface *proxy, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "SameMethodWithManyArgs", 954s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # arg_an_b, 954s # arg_an_y, 954s # arg_an_n, 954s # arg_an_q, 954s # arg_an_i, 954s # arg_an_u, 954s # arg_an_x, 954s # arg_an_t, 954s # arg_an_d, 954s # arg_an_s, 954s # arg_an_o, 954s # arg_an_g, 954s # arg_an_h, 954s # arg_an_ay, 954s # arg_an_as, 954s # arg_an_ao, 954s # arg_an_aay, 954s # arg_an_asv), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_call_same_method_with_many_args_finish: 954s # * @proxy: A #OrgProjectCallableIfaceProxy. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_callable_iface_call_same_method_with_many_args_finish ( 954s # OrgProjectCallableIface *proxy, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "()"); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_call_same_method_with_many_args_sync: 954s # * @proxy: A #OrgProjectCallableIfaceProxy. 954s # * @arg_an_b: Argument to pass with the method invocation. 954s # * @arg_an_y: Argument to pass with the method invocation. 954s # * @arg_an_n: Argument to pass with the method invocation. 954s # * @arg_an_q: Argument to pass with the method invocation. 954s # * @arg_an_i: Argument to pass with the method invocation. 954s # * @arg_an_u: Argument to pass with the method invocation. 954s # * @arg_an_x: Argument to pass with the method invocation. 954s # * @arg_an_t: Argument to pass with the method invocation. 954s # * @arg_an_d: Argument to pass with the method invocation. 954s # * @arg_an_s: Argument to pass with the method invocation. 954s # * @arg_an_o: Argument to pass with the method invocation. 954s # * @arg_an_g: Argument to pass with the method invocation. 954s # * @arg_an_h: Argument to pass with the method invocation. 954s # * @arg_an_ay: Argument to pass with the method invocation. 954s # * @arg_an_as: Argument to pass with the method invocation. 954s # * @arg_an_ao: Argument to pass with the method invocation. 954s # * @arg_an_aay: Argument to pass with the method invocation. 954s # * @arg_an_asv: Argument to pass with the method invocation. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_callable_iface_call_same_method_with_many_args_sync ( 954s # OrgProjectCallableIface *proxy, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "SameMethodWithManyArgs", 954s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # arg_an_b, 954s # arg_an_y, 954s # arg_an_n, 954s # arg_an_q, 954s # arg_an_i, 954s # arg_an_u, 954s # arg_an_x, 954s # arg_an_t, 954s # arg_an_d, 954s # arg_an_s, 954s # arg_an_o, 954s # arg_an_g, 954s # arg_an_h, 954s # arg_an_ay, 954s # arg_an_as, 954s # arg_an_ao, 954s # arg_an_aay, 954s # arg_an_asv), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "()"); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_complete_method_with_many_args: 954s # * @object: A #OrgProjectCallableIface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_callable_iface_complete_method_with_many_args ( 954s # OrgProjectCallableIface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("()")); 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_complete_same_method_with_many_args: 954s # * @object: A #OrgProjectCallableIface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_callable_iface_complete_same_method_with_many_args ( 954s # OrgProjectCallableIface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("()")); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceProxy: 954s # * 954s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectCallableIfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectCallableIfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_callable_iface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 954s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 954s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_callable_iface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_callable_iface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceSkeleton: 954s # * 954s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectCallableIfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectCallableIfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_callable_iface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_callable_iface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_callable_iface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 954s # { 954s # _org_project_callable_iface_skeleton_handle_method_call, 954s # _org_project_callable_iface_skeleton_handle_get_property, 954s # _org_project_callable_iface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_callable_iface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_callable_iface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.OtherCallableIface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectOtherCallableIface 954s # * @title: OrgProjectOtherCallableIface 954s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 954s # */ 954s # 954s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_b", 954s # (gchar *) "b", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_y", 954s # (gchar *) "y", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_n", 954s # (gchar *) "n", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_q", 954s # (gchar *) "q", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_i", 954s # (gchar *) "i", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_u", 954s # (gchar *) "u", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_x", 954s # (gchar *) "x", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_t", 954s # (gchar *) "t", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_d", 954s # (gchar *) "d", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_s", 954s # (gchar *) "s", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_o", 954s # (gchar *) "o", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_g", 954s # (gchar *) "g", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_h", 954s # (gchar *) "h", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ay", 954s # (gchar *) "ay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_as", 954s # (gchar *) "as", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ao", 954s # (gchar *) "ao", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_aay", 954s # (gchar *) "aay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_asv", 954s # (gchar *) "a{sv}", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 954s # { 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 954s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 954s # { 954s # { 954s # -1, 954s # (gchar *) "MethodWithManyArgs", 954s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 954s # NULL, 954s # NULL 954s # }, 954s # "handle-method-with-many-args", 954s # FALSE 954s # }; 954s # 954s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 954s # { 954s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.OtherCallableIface", 954s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 954s # NULL, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-other-callable-iface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_other_callable_iface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_other_callable_iface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _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, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectOtherCallableIface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 954s # */ 954s # 954s # /** 954s # * OrgProjectOtherCallableIfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 954s # */ 954s # 954s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 954s # { 954s # /* GObject signals for incoming D-Bus method calls: */ 954s # /** 954s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 954s # * @object: A #OrgProjectOtherCallableIface. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * @arg_an_b: Argument passed by remote caller. 954s # * @arg_an_y: Argument passed by remote caller. 954s # * @arg_an_n: Argument passed by remote caller. 954s # * @arg_an_q: Argument passed by remote caller. 954s # * @arg_an_i: Argument passed by remote caller. 954s # * @arg_an_u: Argument passed by remote caller. 954s # * @arg_an_x: Argument passed by remote caller. 954s # * @arg_an_t: Argument passed by remote caller. 954s # * @arg_an_d: Argument passed by remote caller. 954s # * @arg_an_s: Argument passed by remote caller. 954s # * @arg_an_o: Argument passed by remote caller. 954s # * @arg_an_g: Argument passed by remote caller. 954s # * @arg_an_h: Argument passed by remote caller. 954s # * @arg_an_ay: Argument passed by remote caller. 954s # * @arg_an_as: Argument passed by remote caller. 954s # * @arg_an_ao: Argument passed by remote caller. 954s # * @arg_an_aay: Argument passed by remote caller. 954s # * @arg_an_asv: Argument passed by remote caller. 954s # * 954s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-method-with-many-args", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # org_project_other_callable_iface_method_marshal_method_with_many_args, 954s # G_TYPE_BOOLEAN, 954s # 19, 954s # 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); 954s # 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_call_method_with_many_args: 954s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 954s # * @arg_an_b: Argument to pass with the method invocation. 954s # * @arg_an_y: Argument to pass with the method invocation. 954s # * @arg_an_n: Argument to pass with the method invocation. 954s # * @arg_an_q: Argument to pass with the method invocation. 954s # * @arg_an_i: Argument to pass with the method invocation. 954s # * @arg_an_u: Argument to pass with the method invocation. 954s # * @arg_an_x: Argument to pass with the method invocation. 954s # * @arg_an_t: Argument to pass with the method invocation. 954s # * @arg_an_d: Argument to pass with the method invocation. 954s # * @arg_an_s: Argument to pass with the method invocation. 954s # * @arg_an_o: Argument to pass with the method invocation. 954s # * @arg_an_g: Argument to pass with the method invocation. 954s # * @arg_an_h: Argument to pass with the method invocation. 954s # * @arg_an_ay: Argument to pass with the method invocation. 954s # * @arg_an_as: Argument to pass with the method invocation. 954s # * @arg_an_ao: Argument to pass with the method invocation. 954s # * @arg_an_aay: Argument to pass with the method invocation. 954s # * @arg_an_asv: Argument to pass with the method invocation. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 954s # * 954s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_other_callable_iface_call_method_with_many_args ( 954s # OrgProjectOtherCallableIface *proxy, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "MethodWithManyArgs", 954s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # arg_an_b, 954s # arg_an_y, 954s # arg_an_n, 954s # arg_an_q, 954s # arg_an_i, 954s # arg_an_u, 954s # arg_an_x, 954s # arg_an_t, 954s # arg_an_d, 954s # arg_an_s, 954s # arg_an_o, 954s # arg_an_g, 954s # arg_an_h, 954s # arg_an_ay, 954s # arg_an_as, 954s # arg_an_ao, 954s # arg_an_aay, 954s # arg_an_asv), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_call_method_with_many_args_finish: 954s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_other_callable_iface_call_method_with_many_args_finish ( 954s # OrgProjectOtherCallableIface *proxy, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "()"); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_call_method_with_many_args_sync: 954s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 954s # * @arg_an_b: Argument to pass with the method invocation. 954s # * @arg_an_y: Argument to pass with the method invocation. 954s # * @arg_an_n: Argument to pass with the method invocation. 954s # * @arg_an_q: Argument to pass with the method invocation. 954s # * @arg_an_i: Argument to pass with the method invocation. 954s # * @arg_an_u: Argument to pass with the method invocation. 954s # * @arg_an_x: Argument to pass with the method invocation. 954s # * @arg_an_t: Argument to pass with the method invocation. 954s # * @arg_an_d: Argument to pass with the method invocation. 954s # * @arg_an_s: Argument to pass with the method invocation. 954s # * @arg_an_o: Argument to pass with the method invocation. 954s # * @arg_an_g: Argument to pass with the method invocation. 954s # * @arg_an_h: Argument to pass with the method invocation. 954s # * @arg_an_ay: Argument to pass with the method invocation. 954s # * @arg_an_as: Argument to pass with the method invocation. 954s # * @arg_an_ao: Argument to pass with the method invocation. 954s # * @arg_an_aay: Argument to pass with the method invocation. 954s # * @arg_an_asv: Argument to pass with the method invocation. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_other_callable_iface_call_method_with_many_args_sync ( 954s # OrgProjectOtherCallableIface *proxy, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "MethodWithManyArgs", 954s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # arg_an_b, 954s # arg_an_y, 954s # arg_an_n, 954s # arg_an_q, 954s # arg_an_i, 954s # arg_an_u, 954s # arg_an_x, 954s # arg_an_t, 954s # arg_an_d, 954s # arg_an_s, 954s # arg_an_o, 954s # arg_an_g, 954s # arg_an_h, 954s # arg_an_ay, 954s # arg_an_as, 954s # arg_an_ao, 954s # arg_an_aay, 954s # arg_an_asv), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "()"); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_complete_method_with_many_args: 954s # * @object: A #OrgProjectOtherCallableIface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_other_callable_iface_complete_method_with_many_args ( 954s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("()")); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectOtherCallableIfaceProxy: 954s # * 954s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectOtherCallableIfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectOtherCallableIfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_other_callable_iface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 954s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 954s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_other_callable_iface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherCallableIface * 954s # org_project_other_callable_iface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherCallableIface * 954s # org_project_other_callable_iface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_other_callable_iface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_other_callable_iface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherCallableIface * 954s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherCallableIface * 954s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectOtherCallableIfaceSkeleton: 954s # * 954s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectOtherCallableIfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_other_callable_iface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_other_callable_iface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_other_callable_iface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 954s # { 954s # _org_project_other_callable_iface_skeleton_handle_method_call, 954s # _org_project_other_callable_iface_skeleton_handle_get_property, 954s # _org_project_other_callable_iface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_other_callable_iface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_other_callable_iface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectOtherCallableIface * 954s # org_project_other_callable_iface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 954s # } 954s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 954s # tmpdir: /tmp/tmpe3lfh_r7 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmpe3lfh_r7/tmpbkzlr0jd.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe3lfh_r7/tmpbkzlr0jd.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (void *data1, 954s # GDBusMethodInvocation *arg_method_invocation, 954s # void *data2); 954s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # gboolean v_return; 954s # 954s # g_return_if_fail (return_value != NULL); 954s # g_return_if_fail (n_param_values == 2); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # v_return = 954s # callback (data1, 954s # g_marshal_value_peek_object (param_values + 1), 954s # data2); 954s # 954s # g_value_set_boolean (return_value, v_return); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.CallableIface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectCallableIface 954s # * @title: OrgProjectCallableIface 954s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 954s # */ 954s # 954s # /* ---- Introspection data for org.project.CallableIface ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_b", 954s # (gchar *) "b", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_y", 954s # (gchar *) "y", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_n", 954s # (gchar *) "n", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_q", 954s # (gchar *) "q", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_i", 954s # (gchar *) "i", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_u", 954s # (gchar *) "u", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_x", 954s # (gchar *) "x", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_t", 954s # (gchar *) "t", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_d", 954s # (gchar *) "d", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_s", 954s # (gchar *) "s", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_o", 954s # (gchar *) "o", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_g", 954s # (gchar *) "g", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_h", 954s # (gchar *) "h", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ay", 954s # (gchar *) "ay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_as", 954s # (gchar *) "as", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ao", 954s # (gchar *) "ao", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_aay", 954s # (gchar *) "aay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_asv", 954s # (gchar *) "a{sv}", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 954s # { 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 954s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 954s # { 954s # { 954s # -1, 954s # (gchar *) "MethodWithManyArgs", 954s # NULL, 954s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 954s # NULL 954s # }, 954s # "handle-method-with-many-args", 954s # FALSE 954s # }; 954s # 954s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 954s # { 954s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.CallableIface", 954s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 954s # NULL, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-callable-iface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_callable_iface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_callable_iface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_callable_iface_method_marshal_method_with_many_args ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectCallableIface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 954s # */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.CallableIface. 954s # */ 954s # 954s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 954s # { 954s # /* GObject signals for incoming D-Bus method calls: */ 954s # /** 954s # * OrgProjectCallableIface::handle-method-with-many-args: 954s # * @object: A #OrgProjectCallableIface. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * 954s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-method-with-many-args", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # org_project_callable_iface_method_marshal_method_with_many_args, 954s # G_TYPE_BOOLEAN, 954s # 1, 954s # G_TYPE_DBUS_METHOD_INVOCATION); 954s # 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_call_method_with_many_args: 954s # * @proxy: A #OrgProjectCallableIfaceProxy. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 954s # * 954s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # org_project_callable_iface_call_method_with_many_args ( 954s # OrgProjectCallableIface *proxy, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 954s # "MethodWithManyArgs", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_call_method_with_many_args_finish: 954s # * @proxy: A #OrgProjectCallableIfaceProxy. 954s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_callable_iface_call_method_with_many_args_finish ( 954s # OrgProjectCallableIface *proxy, 954s # gboolean *out_an_b, 954s # guchar *out_an_y, 954s # gint16 *out_an_n, 954s # guint16 *out_an_q, 954s # gint *out_an_i, 954s # guint *out_an_u, 954s # gint64 *out_an_x, 954s # guint64 *out_an_t, 954s # gdouble *out_an_d, 954s # gchar **out_an_s, 954s # gchar **out_an_o, 954s # gchar **out_an_g, 954s # GVariant **out_an_h, 954s # gchar **out_an_ay, 954s # gchar ***out_an_as, 954s # gchar ***out_an_ao, 954s # gchar ***out_an_aay, 954s # GVariant **out_an_asv, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # out_an_b, 954s # out_an_y, 954s # out_an_n, 954s # out_an_q, 954s # out_an_i, 954s # out_an_u, 954s # out_an_x, 954s # out_an_t, 954s # out_an_d, 954s # out_an_s, 954s # out_an_o, 954s # out_an_g, 954s # out_an_h, 954s # out_an_ay, 954s # out_an_as, 954s # out_an_ao, 954s # out_an_aay, 954s # out_an_asv); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_call_method_with_many_args_sync: 954s # * @proxy: A #OrgProjectCallableIfaceProxy. 954s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 954s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # org_project_callable_iface_call_method_with_many_args_sync ( 954s # OrgProjectCallableIface *proxy, 954s # gboolean *out_an_b, 954s # guchar *out_an_y, 954s # gint16 *out_an_n, 954s # guint16 *out_an_q, 954s # gint *out_an_i, 954s # guint *out_an_u, 954s # gint64 *out_an_x, 954s # guint64 *out_an_t, 954s # gdouble *out_an_d, 954s # gchar **out_an_s, 954s # gchar **out_an_o, 954s # gchar **out_an_g, 954s # GVariant **out_an_h, 954s # gchar **out_an_ay, 954s # gchar ***out_an_as, 954s # gchar ***out_an_ao, 954s # gchar ***out_an_aay, 954s # GVariant **out_an_asv, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 954s # "MethodWithManyArgs", 954s # g_variant_new ("()"), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # out_an_b, 954s # out_an_y, 954s # out_an_n, 954s # out_an_q, 954s # out_an_i, 954s # out_an_u, 954s # out_an_x, 954s # out_an_t, 954s # out_an_d, 954s # out_an_s, 954s # out_an_o, 954s # out_an_g, 954s # out_an_h, 954s # out_an_ay, 954s # out_an_as, 954s # out_an_ao, 954s # out_an_aay, 954s # out_an_asv); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_complete_method_with_many_args: 954s # * @object: A #OrgProjectCallableIface. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * @an_b: Parameter to return. 954s # * @an_y: Parameter to return. 954s # * @an_n: Parameter to return. 954s # * @an_q: Parameter to return. 954s # * @an_i: Parameter to return. 954s # * @an_u: Parameter to return. 954s # * @an_x: Parameter to return. 954s # * @an_t: Parameter to return. 954s # * @an_d: Parameter to return. 954s # * @an_s: Parameter to return. 954s # * @an_o: Parameter to return. 954s # * @an_g: Parameter to return. 954s # * @an_h: Parameter to return. 954s # * @an_ay: Parameter to return. 954s # * @an_as: Parameter to return. 954s # * @an_ao: Parameter to return. 954s # * @an_aay: Parameter to return. 954s # * @an_asv: Parameter to return. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # org_project_callable_iface_complete_method_with_many_args ( 954s # OrgProjectCallableIface *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation, 954s # gboolean an_b, 954s # guchar an_y, 954s # gint16 an_n, 954s # guint16 an_q, 954s # gint an_i, 954s # guint an_u, 954s # gint64 an_x, 954s # guint64 an_t, 954s # gdouble an_d, 954s # const gchar *an_s, 954s # const gchar *an_o, 954s # const gchar *an_g, 954s # GVariant *an_h, 954s # const gchar *an_ay, 954s # const gchar *const *an_as, 954s # const gchar *const *an_ao, 954s # const gchar *const *an_aay, 954s # GVariant *an_asv) 954s # { 954s # g_dbus_method_invocation_return_value (invocation, 954s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # an_b, 954s # an_y, 954s # an_n, 954s # an_q, 954s # an_i, 954s # an_u, 954s # an_x, 954s # an_t, 954s # an_d, 954s # an_s, 954s # an_o, 954s # an_g, 954s # an_h, 954s # an_ay, 954s # an_as, 954s # an_ao, 954s # an_aay, 954s # an_asv)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceProxy: 954s # * 954s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectCallableIfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectCallableIfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_callable_iface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 954s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 954s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_callable_iface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_callable_iface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_CALLABLE_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceSkeleton: 954s # * 954s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectCallableIfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectCallableIfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectCallableIfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_callable_iface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_callable_iface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_callable_iface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 954s # { 954s # _org_project_callable_iface_skeleton_handle_method_call, 954s # _org_project_callable_iface_skeleton_handle_get_property, 954s # _org_project_callable_iface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_callable_iface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_callable_iface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_callable_iface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectCallableIface * 954s # org_project_callable_iface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 954s # } 954s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 954s # tmpdir: /tmp/tmpxpcyhczv 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmpxpcyhczv/tmpf4kkzw00.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxpcyhczv/tmpf4kkzw00.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 954s # (void *data1, 954s # GUnixFDList *arg_fd_list, 954s # GDBusMethodInvocation *arg_method_invocation, 954s # const gchar *arg_greeting, 954s # void *data2); 954s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # gboolean v_return; 954s # 954s # g_return_if_fail (return_value != NULL); 954s # g_return_if_fail (n_param_values == 4); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # v_return = 954s # callback (data1, 954s # g_marshal_value_peek_object (param_values + 1), 954s # g_marshal_value_peek_object (param_values + 2), 954s # g_marshal_value_peek_string (param_values + 3), 954s # data2); 954s # 954s # g_value_set_boolean (return_value, v_return); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface test.FDPassing 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:TestFDPassing 954s # * @title: TestFDPassing 954s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 954s # * 954s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 954s # */ 954s # 954s # /* ---- Introspection data for test.FDPassing ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 954s # { 954s # { 954s # -1, 954s # (gchar *) "greeting", 954s # (gchar *) "s", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 954s # { 954s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 954s # { 954s # { 954s # -1, 954s # (gchar *) "response", 954s # (gchar *) "s", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 954s # { 954s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 954s # { 954s # { 954s # -1, 954s # (gchar *) "HelloFD", 954s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 954s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 954s # NULL 954s # }, 954s # "handle-hello-fd", 954s # TRUE 954s # }; 954s # 954s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 954s # { 954s # &_test_fdpassing_method_info_hello_fd.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "test.FDPassing", 954s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 954s # NULL, 954s # NULL, 954s # NULL 954s # }, 954s # "test-fdpassing", 954s # }; 954s # 954s # 954s # /** 954s # * test_fdpassing_interface_info: 954s # * 954s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # test_fdpassing_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * test_fdpassing_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # test_fdpassing_method_marshal_hello_fd ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * TestFDPassing: 954s # * 954s # * Abstract interface type for the D-Bus interface test.FDPassing. 954s # */ 954s # 954s # /** 954s # * TestFDPassingIface: 954s # * @parent_iface: The parent interface. 954s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 954s # * 954s # * Virtual table for the D-Bus interface test.FDPassing. 954s # */ 954s # 954s # typedef TestFDPassingIface TestFDPassingInterface; 954s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 954s # 954s # static void 954s # test_fdpassing_default_init (TestFDPassingIface *iface) 954s # { 954s # /* GObject signals for incoming D-Bus method calls: */ 954s # /** 954s # * TestFDPassing::handle-hello-fd: 954s # * @object: A #TestFDPassing. 954s # * @invocation: A #GDBusMethodInvocation. 954s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 954s # * @arg_greeting: Argument passed by remote caller. 954s # * 954s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 954s # * 954s # * 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. 954s # * 954s # * 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. 954s # */ 954s # g_signal_new ("handle-hello-fd", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 954s # g_signal_accumulator_true_handled, 954s # NULL, 954s # test_fdpassing_method_marshal_hello_fd, 954s # G_TYPE_BOOLEAN, 954s # 3, 954s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 954s # 954s # } 954s # 954s # /** 954s # * test_fdpassing_call_hello_fd: 954s # * @proxy: A #TestFDPassingProxy. 954s # * @arg_greeting: Argument to pass with the method invocation. 954s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 954s # * 954s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 954s # */ 954s # void 954s # test_fdpassing_call_hello_fd ( 954s # TestFDPassing *proxy, 954s # const gchar *arg_greeting, 954s # GUnixFDList *fd_list, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 954s # "HelloFD", 954s # g_variant_new ("(s)", 954s # arg_greeting), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # fd_list, 954s # cancellable, 954s # callback, 954s # user_data); 954s # } 954s # 954s # /** 954s # * test_fdpassing_call_hello_fd_finish: 954s # * @proxy: A #TestFDPassingProxy. 954s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # test_fdpassing_call_hello_fd_finish ( 954s # TestFDPassing *proxy, 954s # gchar **out_response, 954s # GUnixFDList **out_fd_list, 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(s)", 954s # out_response); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * test_fdpassing_call_hello_fd_sync: 954s # * @proxy: A #TestFDPassingProxy. 954s # * @arg_greeting: Argument to pass with the method invocation. 954s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 954s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 954s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL. 954s # * 954s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 954s # * 954s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 954s # * 954s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 954s # */ 954s # gboolean 954s # test_fdpassing_call_hello_fd_sync ( 954s # TestFDPassing *proxy, 954s # const gchar *arg_greeting, 954s # GUnixFDList *fd_list, 954s # gchar **out_response, 954s # GUnixFDList **out_fd_list, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GVariant *_ret; 954s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 954s # "HelloFD", 954s # g_variant_new ("(s)", 954s # arg_greeting), 954s # G_DBUS_CALL_FLAGS_NONE, 954s # -1, 954s # fd_list, 954s # out_fd_list, 954s # cancellable, 954s # error); 954s # if (_ret == NULL) 954s # goto _out; 954s # g_variant_get (_ret, 954s # "(s)", 954s # out_response); 954s # g_variant_unref (_ret); 954s # _out: 954s # return _ret != NULL; 954s # } 954s # 954s # /** 954s # * test_fdpassing_complete_hello_fd: 954s # * @object: A #TestFDPassing. 954s # * @invocation: (transfer full): A #GDBusMethodInvocation. 954s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 954s # * @response: Parameter to return. 954s # * 954s # * 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. 954s # * 954s # * This method will free @invocation, you cannot use it afterwards. 954s # */ 954s # void 954s # test_fdpassing_complete_hello_fd ( 954s # TestFDPassing *object G_GNUC_UNUSED, 954s # GDBusMethodInvocation *invocation, 954s # GUnixFDList *fd_list, 954s # const gchar *response) 954s # { 954s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 954s # g_variant_new ("(s)", 954s # response), 954s # fd_list); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * TestFDPassingProxy: 954s # * 954s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * TestFDPassingProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #TestFDPassingProxy. 954s # */ 954s # 954s # struct _TestFDPassingProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (TestFDPassingProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # test_fdpassing_proxy_finalize (GObject *object) 954s # { 954s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 954s # } 954s # 954s # static void 954s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = test_fdpassing_proxy_finalize; 954s # gobject_class->get_property = test_fdpassing_proxy_get_property; 954s # gobject_class->set_property = test_fdpassing_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 954s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * test_fdpassing_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # test_fdpassing_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * test_fdpassing_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with test_fdpassing_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # TestFDPassing * 954s # test_fdpassing_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return TEST_FDPASSING (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * test_fdpassing_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # TestFDPassing * 954s # test_fdpassing_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return TEST_FDPASSING (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * test_fdpassing_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # test_fdpassing_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * test_fdpassing_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # TestFDPassing * 954s # test_fdpassing_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return TEST_FDPASSING (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * test_fdpassing_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # TestFDPassing * 954s # test_fdpassing_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return TEST_FDPASSING (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * TestFDPassingSkeleton: 954s # * 954s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * TestFDPassingSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #TestFDPassingSkeleton. 954s # */ 954s # 954s # struct _TestFDPassingSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _test_fdpassing_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _test_fdpassing_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _test_fdpassing_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 954s # { 954s # _test_fdpassing_skeleton_handle_method_call, 954s # _test_fdpassing_skeleton_handle_get_property, 954s # _test_fdpassing_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return test_fdpassing_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (TestFDPassingSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # test_fdpassing_skeleton_finalize (GObject *object) 954s # { 954s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * test_fdpassing_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 954s # * 954s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 954s # */ 954s # TestFDPassing * 954s # test_fdpassing_skeleton_new (void) 954s # { 954s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 954s # } 954s ok 15 __main__.TestCodegen.test_generate_rst 954s # tmpdir: /tmp/tmpsu4cysg_ 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmpsu4cysg_/tmpgt49f5pt.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsu4cysg_/tmpgt49f5pt.xml', '--generate-rst', 'test'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: 954s ok 16 __main__.TestCodegen.test_generate_rst_method 954s # tmpdir: /tmp/tmpx_fc_1d4 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmpx_fc_1d4/tmp7m6uto14.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_fc_1d4/tmp7m6uto14.xml', '--generate-rst', 'test'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: 954s ok 17 __main__.TestCodegen.test_generate_rst_property 954s # tmpdir: /tmp/tmphqiv1c68 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmphqiv1c68/tmpnd2tw9vl.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqiv1c68/tmpnd2tw9vl.xml', '--generate-rst', 'test'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: 954s ok 18 __main__.TestCodegen.test_generate_rst_signal 954s # tmpdir: /tmp/tmp4tmdq5yw 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmp4tmdq5yw/tmp3vd1dt55.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tmdq5yw/tmp3vd1dt55.xml', '--generate-rst', 'test'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: 954s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 954s # tmpdir: /tmp/tmp_xkvsma3 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmp_xkvsma3/tmpyavr2wgi.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_xkvsma3/tmpyavr2wgi.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 954s # GClosure *closure, 954s # GValue *return_value G_GNUC_UNUSED, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 954s # (void *data1, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv, 954s # void *data2); 954s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # 954s # g_return_if_fail (n_param_values == 19); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # callback (data1, 954s # g_marshal_value_peek_boolean (param_values + 1), 954s # g_marshal_value_peek_uchar (param_values + 2), 954s # g_marshal_value_peek_int (param_values + 3), 954s # g_marshal_value_peek_uint (param_values + 4), 954s # g_marshal_value_peek_int (param_values + 5), 954s # g_marshal_value_peek_uint (param_values + 6), 954s # g_marshal_value_peek_int64 (param_values + 7), 954s # g_marshal_value_peek_uint64 (param_values + 8), 954s # g_marshal_value_peek_double (param_values + 9), 954s # g_marshal_value_peek_string (param_values + 10), 954s # g_marshal_value_peek_string (param_values + 11), 954s # g_marshal_value_peek_string (param_values + 12), 954s # g_marshal_value_peek_variant (param_values + 13), 954s # g_marshal_value_peek_string (param_values + 14), 954s # g_marshal_value_peek_boxed (param_values + 15), 954s # g_marshal_value_peek_boxed (param_values + 16), 954s # g_marshal_value_peek_boxed (param_values + 17), 954s # g_marshal_value_peek_variant (param_values + 18), 954s # data2); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.SignalingIface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectSignalingIface 954s # * @title: OrgProjectSignalingIface 954s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 954s # */ 954s # 954s # enum 954s # { 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 954s # }; 954s # 954s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 954s # 954s # /* ---- Introspection data for org.project.SignalingIface ---- */ 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_b", 954s # (gchar *) "b", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_y", 954s # (gchar *) "y", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_n", 954s # (gchar *) "n", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_q", 954s # (gchar *) "q", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_i", 954s # (gchar *) "i", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_u", 954s # (gchar *) "u", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_x", 954s # (gchar *) "x", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_t", 954s # (gchar *) "t", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_d", 954s # (gchar *) "d", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_s", 954s # (gchar *) "s", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_o", 954s # (gchar *) "o", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_g", 954s # (gchar *) "g", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_h", 954s # (gchar *) "h", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ay", 954s # (gchar *) "ay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_as", 954s # (gchar *) "as", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ao", 954s # (gchar *) "ao", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_aay", 954s # (gchar *) "aay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_asv", 954s # (gchar *) "a{sv}", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SignalWithManyArgs", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 954s # NULL 954s # }, 954s # "signal-with-many-args" 954s # }; 954s # 954s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.SignalingIface", 954s # NULL, 954s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-signaling-iface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_signaling_iface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_signaling_iface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectSignalingIface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 954s # */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.SignalingIface. 954s # */ 954s # 954s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 954s # { 954s # /* GObject signals for received D-Bus signals: */ 954s # /** 954s # * OrgProjectSignalingIface::signal-with-many-args: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_b: Argument. 954s # * @arg_an_y: Argument. 954s # * @arg_an_n: Argument. 954s # * @arg_an_q: Argument. 954s # * @arg_an_i: Argument. 954s # * @arg_an_u: Argument. 954s # * @arg_an_x: Argument. 954s # * @arg_an_t: Argument. 954s # * @arg_an_d: Argument. 954s # * @arg_an_s: Argument. 954s # * @arg_an_o: Argument. 954s # * @arg_an_g: Argument. 954s # * @arg_an_h: Argument. 954s # * @arg_an_ay: Argument. 954s # * @arg_an_as: Argument. 954s # * @arg_an_ao: Argument. 954s # * @arg_an_aay: Argument. 954s # * @arg_an_asv: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 954s # g_signal_new ("signal-with-many-args", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 954s # G_TYPE_NONE, 954s # 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); 954s # 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_signal_with_many_args: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_b: Argument to pass with the signal. 954s # * @arg_an_y: Argument to pass with the signal. 954s # * @arg_an_n: Argument to pass with the signal. 954s # * @arg_an_q: Argument to pass with the signal. 954s # * @arg_an_i: Argument to pass with the signal. 954s # * @arg_an_u: Argument to pass with the signal. 954s # * @arg_an_x: Argument to pass with the signal. 954s # * @arg_an_t: Argument to pass with the signal. 954s # * @arg_an_d: Argument to pass with the signal. 954s # * @arg_an_s: Argument to pass with the signal. 954s # * @arg_an_o: Argument to pass with the signal. 954s # * @arg_an_g: Argument to pass with the signal. 954s # * @arg_an_h: Argument to pass with the signal. 954s # * @arg_an_ay: Argument to pass with the signal. 954s # * @arg_an_as: Argument to pass with the signal. 954s # * @arg_an_ao: Argument to pass with the signal. 954s # * @arg_an_aay: Argument to pass with the signal. 954s # * @arg_an_asv: Argument to pass with the signal. 954s # * 954s # * Emits the "SignalWithManyArgs" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_signal_with_many_args ( 954s # OrgProjectSignalingIface *object, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv) 954s # { 954s # 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); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceProxy: 954s # * 954s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectSignalingIfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectSignalingIfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_signaling_iface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 954s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 954s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_signaling_iface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_signaling_iface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceSkeleton: 954s # * 954s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectSignalingIfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_signaling_iface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_signaling_iface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_signaling_iface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 954s # { 954s # _org_project_signaling_iface_skeleton_handle_method_call, 954s # _org_project_signaling_iface_skeleton_handle_get_property, 954s # _org_project_signaling_iface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_signaling_iface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 954s # OrgProjectSignalingIface *object, 954s # gboolean arg_an_b, 954s # guchar arg_an_y, 954s # gint16 arg_an_n, 954s # guint16 arg_an_q, 954s # gint arg_an_i, 954s # guint arg_an_u, 954s # gint64 arg_an_x, 954s # guint64 arg_an_t, 954s # gdouble arg_an_d, 954s # const gchar *arg_an_s, 954s # const gchar *arg_an_o, 954s # const gchar *arg_an_g, 954s # GVariant *arg_an_h, 954s # const gchar *arg_an_ay, 954s # const gchar *const *arg_an_as, 954s # const gchar *const *arg_an_ao, 954s # const gchar *const *arg_an_aay, 954s # GVariant *arg_an_asv) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 954s # arg_an_b, 954s # arg_an_y, 954s # arg_an_n, 954s # arg_an_q, 954s # arg_an_i, 954s # arg_an_u, 954s # arg_an_x, 954s # arg_an_t, 954s # arg_an_d, 954s # arg_an_s, 954s # arg_an_o, 954s # arg_an_g, 954s # arg_an_h, 954s # arg_an_ay, 954s # arg_an_as, 954s # arg_an_ao, 954s # arg_an_aay, 954s # arg_an_asv)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_signaling_iface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 954s # { 954s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 954s # } 954s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 954s # tmpdir: /tmp/tmpxll6wgih 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmpxll6wgih/tmpothvgkpw.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxll6wgih/tmpothvgkpw.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_VOID__INT64 ( 954s # GClosure *closure, 954s # GValue *return_value G_GNUC_UNUSED, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 954s # (void *data1, 954s # gint64 arg_an_x, 954s # void *data2); 954s # _GDbusCodegenMarshalVoid_Int64Func callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # 954s # g_return_if_fail (n_param_values == 2); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # callback (data1, 954s # g_marshal_value_peek_int64 (param_values + 1), 954s # data2); 954s # } 954s # 954s # static void 954s # _g_dbus_codegen_marshal_VOID__UINT64 ( 954s # GClosure *closure, 954s # GValue *return_value G_GNUC_UNUSED, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint G_GNUC_UNUSED, 954s # void *marshal_data) 954s # { 954s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 954s # (void *data1, 954s # guint64 arg_an_t, 954s # void *data2); 954s # _GDbusCodegenMarshalVoid_Uint64Func callback; 954s # GCClosure *cc = (GCClosure*) closure; 954s # void *data1, *data2; 954s # 954s # g_return_if_fail (n_param_values == 2); 954s # 954s # if (G_CCLOSURE_SWAP_DATA (closure)) 954s # { 954s # data1 = closure->data; 954s # data2 = g_value_peek_pointer (param_values + 0); 954s # } 954s # else 954s # { 954s # data1 = g_value_peek_pointer (param_values + 0); 954s # data2 = closure->data; 954s # } 954s # 954s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 954s # (marshal_data ? marshal_data : cc->callback); 954s # 954s # callback (data1, 954s # g_marshal_value_peek_uint64 (param_values + 1), 954s # data2); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.SignalingIface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectSignalingIface 954s # * @title: OrgProjectSignalingIface 954s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 954s # */ 954s # 954s # enum 954s # { 954s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 954s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 954s # }; 954s # 954s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 954s # 954s # /* ---- Introspection data for org.project.SignalingIface ---- */ 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 954s # { 954s # { 954s # -1, 954s # (gchar *) "NoArgSignal", 954s # NULL, 954s # NULL 954s # }, 954s # "no-arg-signal" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_b", 954s # (gchar *) "b", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalB", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-b" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_y", 954s # (gchar *) "y", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalY", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-y" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_n", 954s # (gchar *) "n", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalN", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-n" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_q", 954s # (gchar *) "q", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalQ", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-q" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_i", 954s # (gchar *) "i", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalI", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-i" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_u", 954s # (gchar *) "u", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalU", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-u" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_x", 954s # (gchar *) "x", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalX", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-x" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_t", 954s # (gchar *) "t", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalT", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-t" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_d", 954s # (gchar *) "d", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalD", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-d" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_s", 954s # (gchar *) "s", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalS", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-s" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_o", 954s # (gchar *) "o", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalO", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-o" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_g", 954s # (gchar *) "g", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalG", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-g" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_h", 954s # (gchar *) "h", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalH", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-h" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ay", 954s # (gchar *) "ay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalAY", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-ay" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_as", 954s # (gchar *) "as", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalAS", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-as" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_ao", 954s # (gchar *) "ao", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalAO", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-ao" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_aay", 954s # (gchar *) "aay", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalAAY", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-aay" 954s # }; 954s # 954s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 954s # { 954s # { 954s # -1, 954s # (gchar *) "an_asv", 954s # (gchar *) "a{sv}", 954s # NULL 954s # }, 954s # FALSE 954s # }; 954s # 954s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SingleArgSignalASV", 954s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 954s # NULL 954s # }, 954s # "single-arg-signal-asv" 954s # }; 954s # 954s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 954s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.SignalingIface", 954s # NULL, 954s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-signaling-iface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_signaling_iface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_signaling_iface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__VOID (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__BOOLEAN (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__UCHAR (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__INT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__UINT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__INT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__UINT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__DOUBLE (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__STRING (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__STRING (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__STRING (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__VARIANT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__STRING (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__BOXED (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__BOXED (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__BOXED (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__VARIANT (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectSignalingIface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 954s # */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 954s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 954s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 954s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 954s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 954s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 954s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 954s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 954s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 954s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 954s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 954s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 954s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 954s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 954s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 954s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 954s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 954s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 954s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.SignalingIface. 954s # */ 954s # 954s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 954s # { 954s # /* GObject signals for received D-Bus signals: */ 954s # /** 954s # * OrgProjectSignalingIface::no-arg-signal: 954s # * @object: A #OrgProjectSignalingIface. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 954s # g_signal_new ("no-arg-signal", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_no_arg_signal, 954s # G_TYPE_NONE, 954s # 0); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-b: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_b: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 954s # g_signal_new ("single-arg-signal-b", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_BOOLEAN); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-y: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_y: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 954s # g_signal_new ("single-arg-signal-y", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_UCHAR); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-n: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_n: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 954s # g_signal_new ("single-arg-signal-n", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_INT); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-q: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_q: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 954s # g_signal_new ("single-arg-signal-q", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_UINT); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-i: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_i: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 954s # g_signal_new ("single-arg-signal-i", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_INT); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-u: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_u: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 954s # g_signal_new ("single-arg-signal-u", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_UINT); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-x: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_x: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 954s # g_signal_new ("single-arg-signal-x", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_INT64); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-t: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_t: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 954s # g_signal_new ("single-arg-signal-t", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_UINT64); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-d: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_d: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 954s # g_signal_new ("single-arg-signal-d", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_DOUBLE); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-s: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_s: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 954s # g_signal_new ("single-arg-signal-s", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_STRING); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-o: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_o: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 954s # g_signal_new ("single-arg-signal-o", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_STRING); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-g: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_g: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 954s # g_signal_new ("single-arg-signal-g", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_STRING); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-h: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_h: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 954s # g_signal_new ("single-arg-signal-h", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_VARIANT); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-ay: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_ay: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 954s # g_signal_new ("single-arg-signal-ay", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_STRING); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-as: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_as: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 954s # g_signal_new ("single-arg-signal-as", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_STRV); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-ao: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_ao: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 954s # g_signal_new ("single-arg-signal-ao", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_STRV); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-aay: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_aay: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 954s # g_signal_new ("single-arg-signal-aay", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_STRV); 954s # 954s # /** 954s # * OrgProjectSignalingIface::single-arg-signal-asv: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_asv: Argument. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 954s # g_signal_new ("single-arg-signal-asv", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 954s # G_TYPE_NONE, 954s # 1, G_TYPE_VARIANT); 954s # 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_no_arg_signal: 954s # * @object: A #OrgProjectSignalingIface. 954s # * 954s # * Emits the "NoArgSignal" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_no_arg_signal ( 954s # OrgProjectSignalingIface *object) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_b: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_b: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalB" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_b ( 954s # OrgProjectSignalingIface *object, 954s # gboolean arg_an_b) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_y: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_y: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalY" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_y ( 954s # OrgProjectSignalingIface *object, 954s # guchar arg_an_y) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_n: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_n: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalN" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_n ( 954s # OrgProjectSignalingIface *object, 954s # gint16 arg_an_n) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_q: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_q: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalQ" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_q ( 954s # OrgProjectSignalingIface *object, 954s # guint16 arg_an_q) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_i: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_i: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalI" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_i ( 954s # OrgProjectSignalingIface *object, 954s # gint arg_an_i) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_u: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_u: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalU" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_u ( 954s # OrgProjectSignalingIface *object, 954s # guint arg_an_u) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_x: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_x: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalX" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_x ( 954s # OrgProjectSignalingIface *object, 954s # gint64 arg_an_x) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_t: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_t: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalT" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_t ( 954s # OrgProjectSignalingIface *object, 954s # guint64 arg_an_t) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_d: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_d: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalD" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_d ( 954s # OrgProjectSignalingIface *object, 954s # gdouble arg_an_d) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_s: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_s: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalS" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_s ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *arg_an_s) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_o: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_o: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalO" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_o ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *arg_an_o) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_g: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_g: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalG" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_g ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *arg_an_g) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_h: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_h: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalH" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_h ( 954s # OrgProjectSignalingIface *object, 954s # GVariant *arg_an_h) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_ay: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_ay: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalAY" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_ay ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *arg_an_ay) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_as: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_as: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalAS" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_as ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *const *arg_an_as) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_ao: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_ao: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalAO" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_ao ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *const *arg_an_ao) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_aay: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_aay: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalAAY" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_aay ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *const *arg_an_aay) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_single_arg_signal_asv: 954s # * @object: A #OrgProjectSignalingIface. 954s # * @arg_an_asv: Argument to pass with the signal. 954s # * 954s # * Emits the "SingleArgSignalASV" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_single_arg_signal_asv ( 954s # OrgProjectSignalingIface *object, 954s # GVariant *arg_an_asv) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceProxy: 954s # * 954s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectSignalingIfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectSignalingIfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_signaling_iface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 954s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 954s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_signaling_iface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_signaling_iface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceSkeleton: 954s # * 954s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectSignalingIfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_signaling_iface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_signaling_iface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_signaling_iface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 954s # { 954s # _org_project_signaling_iface_skeleton_handle_method_call, 954s # _org_project_signaling_iface_skeleton_handle_get_property, 954s # _org_project_signaling_iface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_signaling_iface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_no_arg_signal ( 954s # OrgProjectSignalingIface *object) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 954s # OrgProjectSignalingIface *object, 954s # gboolean arg_an_b) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 954s # arg_an_b)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 954s # OrgProjectSignalingIface *object, 954s # guchar arg_an_y) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 954s # arg_an_y)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 954s # OrgProjectSignalingIface *object, 954s # gint16 arg_an_n) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 954s # arg_an_n)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 954s # OrgProjectSignalingIface *object, 954s # guint16 arg_an_q) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 954s # arg_an_q)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 954s # OrgProjectSignalingIface *object, 954s # gint arg_an_i) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 954s # arg_an_i)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 954s # OrgProjectSignalingIface *object, 954s # guint arg_an_u) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 954s # arg_an_u)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 954s # OrgProjectSignalingIface *object, 954s # gint64 arg_an_x) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 954s # arg_an_x)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 954s # OrgProjectSignalingIface *object, 954s # guint64 arg_an_t) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 954s # arg_an_t)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 954s # OrgProjectSignalingIface *object, 954s # gdouble arg_an_d) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 954s # arg_an_d)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *arg_an_s) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 954s # arg_an_s)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *arg_an_o) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 954s # arg_an_o)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *arg_an_g) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 954s # arg_an_g)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 954s # OrgProjectSignalingIface *object, 954s # GVariant *arg_an_h) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 954s # arg_an_h)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *arg_an_ay) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 954s # arg_an_ay)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *const *arg_an_as) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 954s # arg_an_as)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *const *arg_an_ao) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 954s # arg_an_ao)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 954s # OrgProjectSignalingIface *object, 954s # const gchar *const *arg_an_aay) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 954s # arg_an_aay)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 954s # OrgProjectSignalingIface *object, 954s # GVariant *arg_an_asv) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 954s # arg_an_asv)); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_signaling_iface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 954s # { 954s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 954s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 954s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 954s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 954s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 954s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 954s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 954s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 954s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 954s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 954s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 954s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 954s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 954s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 954s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 954s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 954s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 954s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 954s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 954s # } 954s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 954s # tmpdir: /tmp/tmp1dqg118d 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmp1dqg118d/tmpg16w5q47.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1dqg118d/tmpg16w5q47.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.UsefulInterface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectUsefulInterface 954s # * @title: OrgProjectUsefulInterface 954s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 954s # */ 954s # 954s # enum 954s # { 954s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 954s # }; 954s # 954s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 954s # 954s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SimpleSignal", 954s # NULL, 954s # NULL 954s # }, 954s # "simple-signal" 954s # }; 954s # 954s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 954s # { 954s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.UsefulInterface", 954s # NULL, 954s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-useful-interface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_useful_interface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_useful_interface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_useful_interface_signal_marshal_simple_signal ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__VOID (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectUsefulInterface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 954s # */ 954s # 954s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 954s # { 954s # /* GObject signals for received D-Bus signals: */ 954s # /** 954s # * OrgProjectUsefulInterface::simple-signal: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 954s # g_signal_new ("simple-signal", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 954s # NULL, 954s # NULL, 954s # org_project_useful_interface_signal_marshal_simple_signal, 954s # G_TYPE_NONE, 954s # 0); 954s # 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_emit_simple_signal: 954s # * @object: A #OrgProjectUsefulInterface. 954s # * 954s # * Emits the "SimpleSignal" D-Bus signal. 954s # */ 954s # void 954s # org_project_useful_interface_emit_simple_signal ( 954s # OrgProjectUsefulInterface *object) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxy: 954s # * 954s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 954s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 954s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_useful_interface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # g_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); 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeleton: 954s # * 954s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectUsefulInterfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_useful_interface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_useful_interface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_useful_interface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 954s # { 954s # _org_project_useful_interface_skeleton_handle_method_call, 954s # _org_project_useful_interface_skeleton_handle_get_property, 954s # _org_project_useful_interface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_useful_interface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # _org_project_useful_interface_on_signal_simple_signal ( 954s # OrgProjectUsefulInterface *object) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_useful_interface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 954s # { 954s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 954s # } 954s # 954s # /** 954s # * org_project_useful_interface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectUsefulInterface * 954s # org_project_useful_interface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.OtherIface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectOtherIface 954s # * @title: OrgProjectOtherIface 954s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 954s # */ 954s # 954s # enum 954s # { 954s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 954s # }; 954s # 954s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 954s # 954s # /* ---- Introspection data for org.project.OtherIface ---- */ 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SimpleSignal", 954s # NULL, 954s # NULL 954s # }, 954s # "simple-signal" 954s # }; 954s # 954s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 954s # { 954s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.OtherIface", 954s # NULL, 954s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-other-iface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_other_iface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_other_iface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_other_iface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_other_iface_signal_marshal_simple_signal ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__VOID (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectOtherIface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 954s # */ 954s # 954s # /** 954s # * OrgProjectOtherIfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.OtherIface. 954s # */ 954s # 954s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 954s # { 954s # /* GObject signals for received D-Bus signals: */ 954s # /** 954s # * OrgProjectOtherIface::simple-signal: 954s # * @object: A #OrgProjectOtherIface. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 954s # g_signal_new ("simple-signal", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 954s # NULL, 954s # NULL, 954s # org_project_other_iface_signal_marshal_simple_signal, 954s # G_TYPE_NONE, 954s # 0); 954s # 954s # } 954s # 954s # /** 954s # * org_project_other_iface_emit_simple_signal: 954s # * @object: A #OrgProjectOtherIface. 954s # * 954s # * Emits the "SimpleSignal" D-Bus signal. 954s # */ 954s # void 954s # org_project_other_iface_emit_simple_signal ( 954s # OrgProjectOtherIface *object) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectOtherIfaceProxy: 954s # * 954s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectOtherIfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectOtherIfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectOtherIfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_other_iface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 954s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 954s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_other_iface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_other_iface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_other_iface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_other_iface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherIface * 954s # org_project_other_iface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_other_iface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherIface * 954s # org_project_other_iface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_other_iface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_other_iface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_other_iface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherIface * 954s # org_project_other_iface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_other_iface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherIface * 954s # org_project_other_iface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectOtherIfaceSkeleton: 954s # * 954s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectOtherIfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectOtherIfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectOtherIfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_other_iface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_other_iface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_other_iface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 954s # { 954s # _org_project_other_iface_skeleton_handle_method_call, 954s # _org_project_other_iface_skeleton_handle_get_property, 954s # _org_project_other_iface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_other_iface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # _org_project_other_iface_on_signal_simple_signal ( 954s # OrgProjectOtherIface *object) 954s # { 954s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_other_iface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 954s # { 954s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 954s # } 954s # 954s # /** 954s # * org_project_other_iface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectOtherIface * 954s # org_project_other_iface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 954s # } 954s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 954s # tmpdir: /tmp/tmpv57vonig 954s # codegen: /usr/bin/gdbus-codegen 954s # /tmp/tmpv57vonig/tmpt9rg81wu.xml: 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # 954s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv57vonig/tmpt9rg81wu.xml', '--output', '-', '--body'] 954s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 954s # Output: /* 954s # * This file is generated by gdbus-codegen, do not modify it. 954s # * 954s # * The license of this code is the same as for the D-Bus interface description 954s # * it was derived from. Note that it links to GLib, so must comply with the 954s # * LGPL linking clauses. 954s # */ 954s # 954s # #ifdef HAVE_CONFIG_H 954s # # include "config.h" 954s # #endif 954s # 954s # #include 954s # #ifdef G_OS_UNIX 954s # # include 954s # #endif 954s # 954s # #ifdef G_ENABLE_DEBUG 954s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 954s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 954s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 954s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 954s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 954s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 954s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 954s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 954s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 954s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 954s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 954s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 954s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 954s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 954s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 954s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 954s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 954s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 954s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 954s # #else /* !G_ENABLE_DEBUG */ 954s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 954s # * Do not access GValues directly in your code. Instead, use the 954s # * g_value_get_*() functions 954s # */ 954s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 954s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 954s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 954s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 954s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 954s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 954s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 954s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 954s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 954s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 954s # #endif /* !G_ENABLE_DEBUG */ 954s # 954s # typedef struct 954s # { 954s # GDBusArgInfo parent_struct; 954s # gboolean use_gvariant; 954s # } _ExtendedGDBusArgInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusMethodInfo parent_struct; 954s # const gchar *signal_name; 954s # gboolean pass_fdlist; 954s # } _ExtendedGDBusMethodInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusSignalInfo parent_struct; 954s # const gchar *signal_name; 954s # } _ExtendedGDBusSignalInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusPropertyInfo parent_struct; 954s # const gchar *hyphen_name; 954s # guint use_gvariant : 1; 954s # guint emits_changed_signal : 1; 954s # } _ExtendedGDBusPropertyInfo; 954s # 954s # typedef struct 954s # { 954s # GDBusInterfaceInfo parent_struct; 954s # const gchar *hyphen_name; 954s # } _ExtendedGDBusInterfaceInfo; 954s # 954s # typedef struct 954s # { 954s # const _ExtendedGDBusPropertyInfo *info; 954s # guint prop_id; 954s # GValue orig_value; /* the value before the change */ 954s # } ChangedProperty; 954s # 954s # static void 954s # _changed_property_free (ChangedProperty *data) 954s # { 954s # g_value_unset (&data->orig_value); 954s # g_free (data); 954s # } 954s # 954s # static gboolean 954s # _g_strv_equal0 (gchar **a, gchar **b) 954s # { 954s # gboolean ret = FALSE; 954s # guint n; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # if (g_strv_length (a) != g_strv_length (b)) 954s # goto out; 954s # for (n = 0; a[n] != NULL; n++) 954s # if (g_strcmp0 (a[n], b[n]) != 0) 954s # goto out; 954s # ret = TRUE; 954s # out: 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _g_variant_equal0 (GVariant *a, GVariant *b) 954s # { 954s # gboolean ret = FALSE; 954s # if (a == NULL && b == NULL) 954s # { 954s # ret = TRUE; 954s # goto out; 954s # } 954s # if (a == NULL || b == NULL) 954s # goto out; 954s # ret = g_variant_equal (a, b); 954s # out: 954s # return ret; 954s # } 954s # 954s # G_GNUC_UNUSED static gboolean 954s # _g_value_equal (const GValue *a, const GValue *b) 954s # { 954s # gboolean ret = FALSE; 954s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 954s # switch (G_VALUE_TYPE (a)) 954s # { 954s # case G_TYPE_BOOLEAN: 954s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 954s # break; 954s # case G_TYPE_UCHAR: 954s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 954s # break; 954s # case G_TYPE_INT: 954s # ret = (g_value_get_int (a) == g_value_get_int (b)); 954s # break; 954s # case G_TYPE_UINT: 954s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 954s # break; 954s # case G_TYPE_INT64: 954s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 954s # break; 954s # case G_TYPE_UINT64: 954s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 954s # break; 954s # case G_TYPE_DOUBLE: 954s # { 954s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 954s # gdouble da = g_value_get_double (a); 954s # gdouble db = g_value_get_double (b); 954s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 954s # } 954s # break; 954s # case G_TYPE_STRING: 954s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 954s # break; 954s # case G_TYPE_VARIANT: 954s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 954s # break; 954s # default: 954s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 954s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 954s # else 954s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 954s # break; 954s # } 954s # return ret; 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.SignalingIface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectSignalingIface 954s # * @title: OrgProjectSignalingIface 954s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 954s # */ 954s # 954s # enum 954s # { 954s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 954s # }; 954s # 954s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 954s # 954s # /* ---- Introspection data for org.project.SignalingIface ---- */ 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SimpleSignal", 954s # NULL, 954s # NULL 954s # }, 954s # "simple-signal" 954s # }; 954s # 954s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 954s # { 954s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.SignalingIface", 954s # NULL, 954s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-signaling-iface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_signaling_iface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_signaling_iface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_signaling_iface_signal_marshal_simple_signal ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__VOID (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectSignalingIface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 954s # */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.SignalingIface. 954s # */ 954s # 954s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 954s # { 954s # /* GObject signals for received D-Bus signals: */ 954s # /** 954s # * OrgProjectSignalingIface::simple-signal: 954s # * @object: A #OrgProjectSignalingIface. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 954s # g_signal_new ("simple-signal", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 954s # NULL, 954s # NULL, 954s # org_project_signaling_iface_signal_marshal_simple_signal, 954s # G_TYPE_NONE, 954s # 0); 954s # 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_emit_simple_signal: 954s # * @object: A #OrgProjectSignalingIface. 954s # * 954s # * Emits the "SimpleSignal" D-Bus signal. 954s # */ 954s # void 954s # org_project_signaling_iface_emit_simple_signal ( 954s # OrgProjectSignalingIface *object) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceProxy: 954s # * 954s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectSignalingIfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectSignalingIfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_signaling_iface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 954s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 954s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_signaling_iface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_signaling_iface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceSkeleton: 954s # * 954s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectSignalingIfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectSignalingIfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_signaling_iface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_signaling_iface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_signaling_iface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 954s # { 954s # _org_project_signaling_iface_skeleton_handle_method_call, 954s # _org_project_signaling_iface_skeleton_handle_get_property, 954s # _org_project_signaling_iface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_signaling_iface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # _org_project_signaling_iface_on_signal_simple_signal ( 954s # OrgProjectSignalingIface *object) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_signaling_iface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 954s # { 954s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 954s # } 954s # 954s # /** 954s # * org_project_signaling_iface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectSignalingIface * 954s # org_project_signaling_iface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ 954s # * Code for interface org.project.OtherSignalingIface 954s # * ------------------------------------------------------------------------ 954s # */ 954s # 954s # /** 954s # * SECTION:OrgProjectOtherSignalingIface 954s # * @title: OrgProjectOtherSignalingIface 954s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 954s # * 954s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 954s # */ 954s # 954s # enum 954s # { 954s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 954s # }; 954s # 954s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 954s # 954s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 954s # 954s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 954s # { 954s # { 954s # -1, 954s # (gchar *) "SimpleSignal", 954s # NULL, 954s # NULL 954s # }, 954s # "simple-signal" 954s # }; 954s # 954s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 954s # { 954s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 954s # NULL 954s # }; 954s # 954s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 954s # { 954s # { 954s # -1, 954s # (gchar *) "org.project.OtherSignalingIface", 954s # NULL, 954s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 954s # NULL, 954s # NULL 954s # }, 954s # "org-project-other-signaling-iface", 954s # }; 954s # 954s # 954s # /** 954s # * org_project_other_signaling_iface_interface_info: 954s # * 954s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 954s # * 954s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 954s # */ 954s # GDBusInterfaceInfo * 954s # org_project_other_signaling_iface_interface_info (void) 954s # { 954s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 954s # } 954s # 954s # /** 954s # * org_project_other_signaling_iface_override_properties: 954s # * @klass: The class structure for a #GObject derived class. 954s # * @property_id_begin: The property id to assign to the first overridden property. 954s # * 954s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 954s # * The properties are overridden in the order they are defined. 954s # * 954s # * Returns: The last property id. 954s # */ 954s # guint 954s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 954s # { 954s # return property_id_begin - 1; 954s # } 954s # 954s # 954s # inline static void 954s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 954s # GClosure *closure, 954s # GValue *return_value, 954s # unsigned int n_param_values, 954s # const GValue *param_values, 954s # void *invocation_hint, 954s # void *marshal_data) 954s # { 954s # g_cclosure_marshal_VOID__VOID (closure, 954s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 954s # } 954s # 954s # 954s # /** 954s # * OrgProjectOtherSignalingIface: 954s # * 954s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 954s # */ 954s # 954s # /** 954s # * OrgProjectOtherSignalingIfaceIface: 954s # * @parent_iface: The parent interface. 954s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 954s # * 954s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 954s # */ 954s # 954s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 954s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 954s # 954s # static void 954s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 954s # { 954s # /* GObject signals for received D-Bus signals: */ 954s # /** 954s # * OrgProjectOtherSignalingIface::simple-signal: 954s # * @object: A #OrgProjectOtherSignalingIface. 954s # * 954s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 954s # * 954s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 954s # */ 954s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 954s # g_signal_new ("simple-signal", 954s # G_TYPE_FROM_INTERFACE (iface), 954s # G_SIGNAL_RUN_LAST, 954s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 954s # NULL, 954s # NULL, 954s # org_project_other_signaling_iface_signal_marshal_simple_signal, 954s # G_TYPE_NONE, 954s # 0); 954s # 954s # } 954s # 954s # /** 954s # * org_project_other_signaling_iface_emit_simple_signal: 954s # * @object: A #OrgProjectOtherSignalingIface. 954s # * 954s # * Emits the "SimpleSignal" D-Bus signal. 954s # */ 954s # void 954s # org_project_other_signaling_iface_emit_simple_signal ( 954s # OrgProjectOtherSignalingIface *object) 954s # { 954s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 954s # } 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectOtherSignalingIfaceProxy: 954s # * 954s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectOtherSignalingIfaceProxyClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 954s # */ 954s # 954s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 954s # { 954s # GData *qdata; 954s # }; 954s # 954s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 954s # { 954s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 954s # g_datalist_clear (&proxy->priv->qdata); 954s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 954s # guint prop_id G_GNUC_UNUSED, 954s # const GValue *value G_GNUC_UNUSED, 954s # GParamSpec *pspec G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 954s # const gchar *sender_name G_GNUC_UNUSED, 954s # const gchar *signal_name, 954s # GVariant *parameters) 954s # { 954s # _ExtendedGDBusSignalInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # gsize n; 954s # guint signal_id; 954s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 954s # if (info == NULL) 954s # return; 954s # num_params = g_variant_n_children (parameters); 954s # paramv = g_new0 (GValue, num_params + 1); 954s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 954s # g_value_set_object (¶mv[0], proxy); 954s # g_variant_iter_init (&iter, parameters); 954s # n = 1; 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 954s # g_signal_emitv (paramv, signal_id, 0, NULL); 954s # for (n = 0; n < num_params + 1; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 954s # GVariant *changed_properties, 954s # const gchar *const *invalidated_properties) 954s # { 954s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 954s # guint n; 954s # const gchar *key; 954s # GVariantIter *iter; 954s # _ExtendedGDBusPropertyInfo *info; 954s # g_variant_get (changed_properties, "a{sv}", &iter); 954s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 954s # g_datalist_remove_data (&proxy->priv->qdata, key); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # g_variant_iter_free (iter); 954s # for (n = 0; invalidated_properties[n] != NULL; n++) 954s # { 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 954s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 954s # if (info != NULL) 954s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 954s # } 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 954s # #else 954s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 954s # #endif 954s # 954s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusProxyClass *proxy_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 954s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 954s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 954s # 954s # proxy_class = G_DBUS_PROXY_CLASS (klass); 954s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 954s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # /** 954s # * org_project_other_signaling_iface_proxy_new: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 954s # * 954s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_other_signaling_iface_proxy_new ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_other_signaling_iface_proxy_new_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherSignalingIface * 954s # org_project_other_signaling_iface_proxy_new_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_other_signaling_iface_proxy_new_sync: 954s # * @connection: A #GDBusConnection. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherSignalingIface * 954s # org_project_other_signaling_iface_proxy_new_sync ( 954s # GDBusConnection *connection, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /** 954s # * org_project_other_signaling_iface_proxy_new_for_bus: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 954s # * @user_data: User data to pass to @callback. 954s # * 954s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 954s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 954s # * 954s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 954s # */ 954s # void 954s # org_project_other_signaling_iface_proxy_new_for_bus ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GAsyncReadyCallback callback, 954s # gpointer user_data) 954s # { 954s # 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); 954s # } 954s # 954s # /** 954s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 954s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 954s # * @error: Return location for error or %NULL 954s # * 954s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherSignalingIface * 954s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 954s # GAsyncResult *res, 954s # GError **error) 954s # { 954s # GObject *ret; 954s # GObject *source_object; 954s # source_object = g_async_result_get_source_object (res); 954s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 954s # g_object_unref (source_object); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # /** 954s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 954s # * @bus_type: A #GBusType. 954s # * @flags: Flags from the #GDBusProxyFlags enumeration. 954s # * @name: A bus name (well-known or unique). 954s # * @object_path: An object path. 954s # * @cancellable: (nullable): A #GCancellable or %NULL. 954s # * @error: Return location for error or %NULL 954s # * 954s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 954s # * 954s # * The calling thread is blocked until a reply is received. 954s # * 954s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 954s # */ 954s # OrgProjectOtherSignalingIface * 954s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 954s # GBusType bus_type, 954s # GDBusProxyFlags flags, 954s # const gchar *name, 954s # const gchar *object_path, 954s # GCancellable *cancellable, 954s # GError **error) 954s # { 954s # GInitable *ret; 954s # 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); 954s # if (ret != NULL) 954s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 954s # else 954s # return NULL; 954s # } 954s # 954s # 954s # /* ------------------------------------------------------------------------ */ 954s # 954s # /** 954s # * OrgProjectOtherSignalingIfaceSkeleton: 954s # * 954s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 954s # */ 954s # 954s # /** 954s # * OrgProjectOtherSignalingIfaceSkeletonClass: 954s # * @parent_class: The parent class. 954s # * 954s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 954s # */ 954s # 954s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 954s # { 954s # GValue *properties; 954s # GList *changed_properties; 954s # GSource *changed_properties_idle_source; 954s # GMainContext *context; 954s # GMutex lock; 954s # }; 954s # 954s # static void 954s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name, 954s # const gchar *method_name, 954s # GVariant *parameters, 954s # GDBusMethodInvocation *invocation, 954s # gpointer user_data) 954s # { 954s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 954s # _ExtendedGDBusMethodInfo *info; 954s # GVariantIter iter; 954s # GVariant *child; 954s # GValue *paramv; 954s # gsize num_params; 954s # guint num_extra; 954s # gsize n; 954s # guint signal_id; 954s # GValue return_value = G_VALUE_INIT; 954s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 954s # g_assert (info != NULL); 954s # num_params = g_variant_n_children (parameters); 954s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 954s # n = 0; 954s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 954s # g_value_set_object (¶mv[n++], skeleton); 954s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 954s # g_value_set_object (¶mv[n++], invocation); 954s # if (info->pass_fdlist) 954s # { 954s # #ifdef G_OS_UNIX 954s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 954s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 954s # #else 954s # g_assert_not_reached (); 954s # #endif 954s # } 954s # g_variant_iter_init (&iter, parameters); 954s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 954s # { 954s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 954s # if (arg_info->use_gvariant) 954s # { 954s # g_value_init (¶mv[n], G_TYPE_VARIANT); 954s # g_value_set_variant (¶mv[n], child); 954s # n++; 954s # } 954s # else 954s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 954s # g_variant_unref (child); 954s # } 954s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 954s # g_value_init (&return_value, G_TYPE_BOOLEAN); 954s # g_signal_emitv (paramv, signal_id, 0, &return_value); 954s # if (!g_value_get_boolean (&return_value)) 954s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 954s # g_value_unset (&return_value); 954s # for (n = 0; n < num_params + num_extra; n++) 954s # g_value_unset (¶mv[n]); 954s # g_free (paramv); 954s # } 954s # 954s # static GVariant * 954s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # GVariant *ret; 954s # ret = NULL; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # g_value_init (&value, pspec->value_type); 954s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 954s # g_value_unset (&value); 954s # } 954s # return ret; 954s # } 954s # 954s # static gboolean 954s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 954s # GDBusConnection *connection G_GNUC_UNUSED, 954s # const gchar *sender G_GNUC_UNUSED, 954s # const gchar *object_path G_GNUC_UNUSED, 954s # const gchar *interface_name G_GNUC_UNUSED, 954s # const gchar *property_name, 954s # GVariant *variant, 954s # GError **error, 954s # gpointer user_data) 954s # { 954s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 954s # GValue value = G_VALUE_INIT; 954s # GParamSpec *pspec; 954s # _ExtendedGDBusPropertyInfo *info; 954s # gboolean ret; 954s # ret = FALSE; 954s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 954s # g_assert (info != NULL); 954s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 954s # if (pspec == NULL) 954s # { 954s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 954s # } 954s # else 954s # { 954s # if (info->use_gvariant) 954s # g_value_set_variant (&value, variant); 954s # else 954s # g_dbus_gvariant_to_gvalue (variant, &value); 954s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 954s # g_value_unset (&value); 954s # ret = TRUE; 954s # } 954s # return ret; 954s # } 954s # 954s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 954s # { 954s # _org_project_other_signaling_iface_skeleton_handle_method_call, 954s # _org_project_other_signaling_iface_skeleton_handle_get_property, 954s # _org_project_other_signaling_iface_skeleton_handle_set_property, 954s # {NULL} 954s # }; 954s # 954s # static GDBusInterfaceInfo * 954s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return org_project_other_signaling_iface_interface_info (); 954s # } 954s # 954s # static GDBusInterfaceVTable * 954s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 954s # { 954s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 954s # } 954s # 954s # static GVariant * 954s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 954s # { 954s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 954s # 954s # GVariantBuilder builder; 954s # guint n; 954s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 954s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 954s # goto out; 954s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 954s # { 954s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 954s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 954s # { 954s # GVariant *value; 954s # 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); 954s # if (value != NULL) 954s # { 954s # g_variant_take_ref (value); 954s # g_variant_builder_add (&builder, "{sv}", info->name, value); 954s # g_variant_unref (value); 954s # } 954s # } 954s # } 954s # out: 954s # return g_variant_builder_end (&builder); 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 954s # { 954s # } 954s # 954s # static void 954s # _org_project_other_signaling_iface_on_signal_simple_signal ( 954s # OrgProjectOtherSignalingIface *object) 954s # { 954s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 954s # 954s # GList *connections, *l; 954s # GVariant *signal_variant; 954s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 954s # 954s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 954s # for (l = connections; l != NULL; l = l->next) 954s # { 954s # GDBusConnection *connection = l->data; 954s # g_dbus_connection_emit_signal (connection, 954s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 954s # signal_variant, NULL); 954s # } 954s # g_variant_unref (signal_variant); 954s # g_list_free_full (connections, g_object_unref); 954s # } 954s # 954s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 954s # 954s # #else 954s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 954s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 954s # 954s # #endif 954s # static void 954s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 954s # { 954s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 954s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 954s # if (skeleton->priv->changed_properties_idle_source != NULL) 954s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 954s # g_main_context_unref (skeleton->priv->context); 954s # g_mutex_clear (&skeleton->priv->lock); 954s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 954s # { 954s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 954s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 954s # #else 954s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 954s # #endif 954s # 954s # g_mutex_init (&skeleton->priv->lock); 954s # skeleton->priv->context = g_main_context_ref_thread_default (); 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 954s # { 954s # GObjectClass *gobject_class; 954s # GDBusInterfaceSkeletonClass *skeleton_class; 954s # 954s # gobject_class = G_OBJECT_CLASS (klass); 954s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 954s # 954s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 954s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 954s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 954s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 954s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 954s # 954s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 954s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 954s # #endif 954s # } 954s # 954s # static void 954s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 954s # { 954s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 954s # } 954s # 954s # /** 954s # * org_project_other_signaling_iface_skeleton_new: 954s # * 954s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 954s # * 954s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 954s # */ 954s # OrgProjectOtherSignalingIface * 954s # org_project_other_signaling_iface_skeleton_new (void) 954s # { 954s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 954s # } 955s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 955s # tmpdir: /tmp/tmpvkxizq23 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmpvkxizq23/tmp2dw143d_.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmp2dw143d_.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_b", 955s # (gchar *) "b", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalB", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-b" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__BOOLEAN (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-b: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_b: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 955s # g_signal_new ("single-arg-signal-b", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_BOOLEAN); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_b: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_b: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalB" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_b ( 955s # OrgProjectSignalingIface *object, 955s # gboolean arg_arg_b) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 955s # OrgProjectSignalingIface *object, 955s # gboolean arg_arg_b) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 955s # arg_arg_b)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmp7ziuho77.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmp7ziuho77.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_y", 955s # (gchar *) "y", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalY", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-y" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__UCHAR (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-y: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_y: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 955s # g_signal_new ("single-arg-signal-y", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_UCHAR); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_y: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_y: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalY" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_y ( 955s # OrgProjectSignalingIface *object, 955s # guchar arg_arg_y) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 955s # OrgProjectSignalingIface *object, 955s # guchar arg_arg_y) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 955s # arg_arg_y)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmpmdl0xtv8.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmpmdl0xtv8.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_n", 955s # (gchar *) "n", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalN", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-n" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__INT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-n: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_n: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 955s # g_signal_new ("single-arg-signal-n", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_INT); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_n: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_n: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalN" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_n ( 955s # OrgProjectSignalingIface *object, 955s # gint16 arg_arg_n) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 955s # OrgProjectSignalingIface *object, 955s # gint16 arg_arg_n) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 955s # arg_arg_n)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmp1g95zxeg.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmp1g95zxeg.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_q", 955s # (gchar *) "q", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalQ", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-q" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__UINT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-q: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_q: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 955s # g_signal_new ("single-arg-signal-q", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_UINT); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_q: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_q: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalQ" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_q ( 955s # OrgProjectSignalingIface *object, 955s # guint16 arg_arg_q) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 955s # OrgProjectSignalingIface *object, 955s # guint16 arg_arg_q) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 955s # arg_arg_q)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmp2h_vz9_5.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmp2h_vz9_5.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_i", 955s # (gchar *) "i", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalI", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-i" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__INT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-i: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_i: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 955s # g_signal_new ("single-arg-signal-i", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_INT); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_i: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_i: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalI" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_i ( 955s # OrgProjectSignalingIface *object, 955s # gint arg_arg_i) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 955s # OrgProjectSignalingIface *object, 955s # gint arg_arg_i) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 955s # arg_arg_i)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmpy3dcf84n.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmpy3dcf84n.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_u", 955s # (gchar *) "u", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalU", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-u" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__UINT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-u: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_u: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 955s # g_signal_new ("single-arg-signal-u", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_UINT); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_u: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_u: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalU" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_u ( 955s # OrgProjectSignalingIface *object, 955s # guint arg_arg_u) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 955s # OrgProjectSignalingIface *object, 955s # guint arg_arg_u) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 955s # arg_arg_u)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmpemwwlwc5.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmpemwwlwc5.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # static void 955s # _g_dbus_codegen_marshal_VOID__INT64 ( 955s # GClosure *closure, 955s # GValue *return_value G_GNUC_UNUSED, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint G_GNUC_UNUSED, 955s # void *marshal_data) 955s # { 955s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 955s # (void *data1, 955s # gint64 arg_arg_x, 955s # void *data2); 955s # _GDbusCodegenMarshalVoid_Int64Func callback; 955s # GCClosure *cc = (GCClosure*) closure; 955s # void *data1, *data2; 955s # 955s # g_return_if_fail (n_param_values == 2); 955s # 955s # if (G_CCLOSURE_SWAP_DATA (closure)) 955s # { 955s # data1 = closure->data; 955s # data2 = g_value_peek_pointer (param_values + 0); 955s # } 955s # else 955s # { 955s # data1 = g_value_peek_pointer (param_values + 0); 955s # data2 = closure->data; 955s # } 955s # 955s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 955s # (marshal_data ? marshal_data : cc->callback); 955s # 955s # callback (data1, 955s # g_marshal_value_peek_int64 (param_values + 1), 955s # data2); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_x", 955s # (gchar *) "x", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalX", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-x" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-x: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_x: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 955s # g_signal_new ("single-arg-signal-x", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_INT64); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_x: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_x: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalX" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_x ( 955s # OrgProjectSignalingIface *object, 955s # gint64 arg_arg_x) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 955s # OrgProjectSignalingIface *object, 955s # gint64 arg_arg_x) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 955s # arg_arg_x)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmpfm9o40di.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmpfm9o40di.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # static void 955s # _g_dbus_codegen_marshal_VOID__UINT64 ( 955s # GClosure *closure, 955s # GValue *return_value G_GNUC_UNUSED, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint G_GNUC_UNUSED, 955s # void *marshal_data) 955s # { 955s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 955s # (void *data1, 955s # guint64 arg_arg_t, 955s # void *data2); 955s # _GDbusCodegenMarshalVoid_Uint64Func callback; 955s # GCClosure *cc = (GCClosure*) closure; 955s # void *data1, *data2; 955s # 955s # g_return_if_fail (n_param_values == 2); 955s # 955s # if (G_CCLOSURE_SWAP_DATA (closure)) 955s # { 955s # data1 = closure->data; 955s # data2 = g_value_peek_pointer (param_values + 0); 955s # } 955s # else 955s # { 955s # data1 = g_value_peek_pointer (param_values + 0); 955s # data2 = closure->data; 955s # } 955s # 955s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 955s # (marshal_data ? marshal_data : cc->callback); 955s # 955s # callback (data1, 955s # g_marshal_value_peek_uint64 (param_values + 1), 955s # data2); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_t", 955s # (gchar *) "t", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalT", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-t" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-t: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_t: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 955s # g_signal_new ("single-arg-signal-t", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_UINT64); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_t: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_t: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalT" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_t ( 955s # OrgProjectSignalingIface *object, 955s # guint64 arg_arg_t) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 955s # OrgProjectSignalingIface *object, 955s # guint64 arg_arg_t) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 955s # arg_arg_t)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmp26om0g65.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmp26om0g65.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_d", 955s # (gchar *) "d", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalD", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-d" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__DOUBLE (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-d: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_d: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 955s # g_signal_new ("single-arg-signal-d", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_DOUBLE); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_d: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_d: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalD" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_d ( 955s # OrgProjectSignalingIface *object, 955s # gdouble arg_arg_d) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 955s # OrgProjectSignalingIface *object, 955s # gdouble arg_arg_d) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 955s # arg_arg_d)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmphmcmb81i.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmphmcmb81i.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_s", 955s # (gchar *) "s", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalS", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-s" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__STRING (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-s: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_s: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 955s # g_signal_new ("single-arg-signal-s", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_STRING); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_s: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_s: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalS" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_s ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *arg_arg_s) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *arg_arg_s) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 955s # arg_arg_s)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmppbpfnqxn.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmppbpfnqxn.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_o", 955s # (gchar *) "o", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalO", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-o" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__STRING (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-o: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_o: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 955s # g_signal_new ("single-arg-signal-o", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_STRING); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_o: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_o: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalO" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_o ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *arg_arg_o) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *arg_arg_o) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 955s # arg_arg_o)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmpugkknsyg.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmpugkknsyg.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_g", 955s # (gchar *) "g", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalG", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-g" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__STRING (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-g: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_g: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 955s # g_signal_new ("single-arg-signal-g", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_STRING); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_g: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_g: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalG" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_g ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *arg_arg_g) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *arg_arg_g) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 955s # arg_arg_g)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmpvvn9hac4.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmpvvn9hac4.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_h", 955s # (gchar *) "h", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalH", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-h" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VARIANT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-h: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_h: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 955s # g_signal_new ("single-arg-signal-h", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_VARIANT); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_h: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_h: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalH" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_h ( 955s # OrgProjectSignalingIface *object, 955s # GVariant *arg_arg_h) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 955s # OrgProjectSignalingIface *object, 955s # GVariant *arg_arg_h) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 955s # arg_arg_h)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmp_e8dpw74.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmp_e8dpw74.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_ay", 955s # (gchar *) "ay", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalAy", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-ay" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__STRING (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-ay: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_ay: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 955s # g_signal_new ("single-arg-signal-ay", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_STRING); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_ay: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_ay: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalAy" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_ay ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *arg_arg_ay) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *arg_arg_ay) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 955s # arg_arg_ay)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmpl9ng0i9w.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmpl9ng0i9w.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_as", 955s # (gchar *) "as", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalAs", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-as" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__BOXED (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-as: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_as: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 955s # g_signal_new ("single-arg-signal-as", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_STRV); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_as: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_as: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalAs" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_as ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *const *arg_arg_as) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *const *arg_arg_as) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 955s # arg_arg_as)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmpgmir7aym.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmpgmir7aym.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_ao", 955s # (gchar *) "ao", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalAo", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-ao" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__BOXED (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-ao: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_ao: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 955s # g_signal_new ("single-arg-signal-ao", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_STRV); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_ao: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_ao: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalAo" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_ao ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *const *arg_arg_ao) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *const *arg_arg_ao) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 955s # arg_arg_ao)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmp_ivwebsj.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmp_ivwebsj.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_aay", 955s # (gchar *) "aay", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalAay", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-aay" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__BOXED (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-aay: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_aay: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 955s # g_signal_new ("single-arg-signal-aay", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_STRV); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_aay: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_aay: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalAay" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_aay ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *const *arg_arg_aay) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 955s # OrgProjectSignalingIface *object, 955s # const gchar *const *arg_arg_aay) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 955s # arg_arg_aay)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s # /tmp/tmpvkxizq23/tmpy1q81igg.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvkxizq23/tmpy1q81igg.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 955s # { 955s # { 955s # -1, 955s # (gchar *) "arg_asv", 955s # (gchar *) "a{sv}", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SingleArgSignalAsv", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 955s # NULL 955s # }, 955s # "single-arg-signal-asv" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VARIANT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::single-arg-signal-asv: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_asv: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 955s # g_signal_new ("single-arg-signal-asv", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 955s # G_TYPE_NONE, 955s # 1, G_TYPE_VARIANT); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_single_arg_signal_asv: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_arg_asv: Argument to pass with the signal. 955s # * 955s # * Emits the "SingleArgSignalAsv" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_single_arg_signal_asv ( 955s # OrgProjectSignalingIface *object, 955s # GVariant *arg_arg_asv) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 955s # OrgProjectSignalingIface *object, 955s # GVariant *arg_arg_asv) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 955s # arg_arg_asv)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 955s # tmpdir: /tmp/tmp4703y_ms 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmp4703y_ms/tmpdtqhbjw5.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4703y_ms/tmpdtqhbjw5.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # static void 955s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 955s # GClosure *closure, 955s # GValue *return_value G_GNUC_UNUSED, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint G_GNUC_UNUSED, 955s # void *marshal_data) 955s # { 955s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 955s # (void *data1, 955s # gboolean arg_an_b, 955s # guchar arg_an_y, 955s # gint16 arg_an_n, 955s # guint16 arg_an_q, 955s # gint arg_an_i, 955s # guint arg_an_u, 955s # gint64 arg_an_x, 955s # guint64 arg_an_t, 955s # gdouble arg_an_d, 955s # const gchar *arg_an_s, 955s # const gchar *arg_an_o, 955s # const gchar *arg_an_g, 955s # GVariant *arg_an_h, 955s # const gchar *arg_an_ay, 955s # const gchar *const *arg_an_as, 955s # const gchar *const *arg_an_ao, 955s # const gchar *const *arg_an_aay, 955s # GVariant *arg_an_asv, 955s # void *data2); 955s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 955s # GCClosure *cc = (GCClosure*) closure; 955s # void *data1, *data2; 955s # 955s # g_return_if_fail (n_param_values == 19); 955s # 955s # if (G_CCLOSURE_SWAP_DATA (closure)) 955s # { 955s # data1 = closure->data; 955s # data2 = g_value_peek_pointer (param_values + 0); 955s # } 955s # else 955s # { 955s # data1 = g_value_peek_pointer (param_values + 0); 955s # data2 = closure->data; 955s # } 955s # 955s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 955s # (marshal_data ? marshal_data : cc->callback); 955s # 955s # callback (data1, 955s # g_marshal_value_peek_boolean (param_values + 1), 955s # g_marshal_value_peek_uchar (param_values + 2), 955s # g_marshal_value_peek_int (param_values + 3), 955s # g_marshal_value_peek_uint (param_values + 4), 955s # g_marshal_value_peek_int (param_values + 5), 955s # g_marshal_value_peek_uint (param_values + 6), 955s # g_marshal_value_peek_int64 (param_values + 7), 955s # g_marshal_value_peek_uint64 (param_values + 8), 955s # g_marshal_value_peek_double (param_values + 9), 955s # g_marshal_value_peek_string (param_values + 10), 955s # g_marshal_value_peek_string (param_values + 11), 955s # g_marshal_value_peek_string (param_values + 12), 955s # g_marshal_value_peek_variant (param_values + 13), 955s # g_marshal_value_peek_string (param_values + 14), 955s # g_marshal_value_peek_boxed (param_values + 15), 955s # g_marshal_value_peek_boxed (param_values + 16), 955s # g_marshal_value_peek_boxed (param_values + 17), 955s # g_marshal_value_peek_variant (param_values + 18), 955s # data2); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.SignalingIface 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectSignalingIface 955s # * @title: OrgProjectSignalingIface 955s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 955s # }; 955s # 955s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 955s # 955s # /* ---- Introspection data for org.project.SignalingIface ---- */ 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SimpleSignal", 955s # NULL, 955s # NULL 955s # }, 955s # "simple-signal" 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_b", 955s # (gchar *) "b", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_y", 955s # (gchar *) "y", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_n", 955s # (gchar *) "n", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_q", 955s # (gchar *) "q", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_i", 955s # (gchar *) "i", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_u", 955s # (gchar *) "u", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_x", 955s # (gchar *) "x", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_t", 955s # (gchar *) "t", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_d", 955s # (gchar *) "d", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_s", 955s # (gchar *) "s", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_o", 955s # (gchar *) "o", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_g", 955s # (gchar *) "g", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_h", 955s # (gchar *) "h", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_ay", 955s # (gchar *) "ay", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_as", 955s # (gchar *) "as", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_ao", 955s # (gchar *) "ao", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_aay", 955s # (gchar *) "aay", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 955s # { 955s # { 955s # -1, 955s # (gchar *) "an_asv", 955s # (gchar *) "a{sv}", 955s # NULL 955s # }, 955s # FALSE 955s # }; 955s # 955s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 955s # { 955s # { 955s # -1, 955s # (gchar *) "SignalWithManyArgs", 955s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 955s # NULL 955s # }, 955s # "signal-with-many-args" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 955s # { 955s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 955s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.SignalingIface", 955s # NULL, 955s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-signaling-iface", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_signaling_iface_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_simple_signal ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectSignalingIface: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceIface: 955s # * @parent_iface: The parent interface. 955s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 955s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.SignalingIface. 955s # */ 955s # 955s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 955s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * OrgProjectSignalingIface::simple-signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 955s # g_signal_new ("simple-signal", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_simple_signal, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /** 955s # * OrgProjectSignalingIface::signal-with-many-args: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_an_b: Argument. 955s # * @arg_an_y: Argument. 955s # * @arg_an_n: Argument. 955s # * @arg_an_q: Argument. 955s # * @arg_an_i: Argument. 955s # * @arg_an_u: Argument. 955s # * @arg_an_x: Argument. 955s # * @arg_an_t: Argument. 955s # * @arg_an_d: Argument. 955s # * @arg_an_s: Argument. 955s # * @arg_an_o: Argument. 955s # * @arg_an_g: Argument. 955s # * @arg_an_h: Argument. 955s # * @arg_an_ay: Argument. 955s # * @arg_an_as: Argument. 955s # * @arg_an_ao: Argument. 955s # * @arg_an_aay: Argument. 955s # * @arg_an_asv: Argument. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 955s # g_signal_new ("signal-with-many-args", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 955s # NULL, 955s # NULL, 955s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 955s # G_TYPE_NONE, 955s # 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); 955s # 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_simple_signal: 955s # * @object: A #OrgProjectSignalingIface. 955s # * 955s # * Emits the "SimpleSignal" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_emit_signal_with_many_args: 955s # * @object: A #OrgProjectSignalingIface. 955s # * @arg_an_b: Argument to pass with the signal. 955s # * @arg_an_y: Argument to pass with the signal. 955s # * @arg_an_n: Argument to pass with the signal. 955s # * @arg_an_q: Argument to pass with the signal. 955s # * @arg_an_i: Argument to pass with the signal. 955s # * @arg_an_u: Argument to pass with the signal. 955s # * @arg_an_x: Argument to pass with the signal. 955s # * @arg_an_t: Argument to pass with the signal. 955s # * @arg_an_d: Argument to pass with the signal. 955s # * @arg_an_s: Argument to pass with the signal. 955s # * @arg_an_o: Argument to pass with the signal. 955s # * @arg_an_g: Argument to pass with the signal. 955s # * @arg_an_h: Argument to pass with the signal. 955s # * @arg_an_ay: Argument to pass with the signal. 955s # * @arg_an_as: Argument to pass with the signal. 955s # * @arg_an_ao: Argument to pass with the signal. 955s # * @arg_an_aay: Argument to pass with the signal. 955s # * @arg_an_asv: Argument to pass with the signal. 955s # * 955s # * Emits the "SignalWithManyArgs" D-Bus signal. 955s # */ 955s # void 955s # org_project_signaling_iface_emit_signal_with_many_args ( 955s # OrgProjectSignalingIface *object, 955s # gboolean arg_an_b, 955s # guchar arg_an_y, 955s # gint16 arg_an_n, 955s # guint16 arg_an_q, 955s # gint arg_an_i, 955s # guint arg_an_u, 955s # gint64 arg_an_x, 955s # guint64 arg_an_t, 955s # gdouble arg_an_d, 955s # const gchar *arg_an_s, 955s # const gchar *arg_an_o, 955s # const gchar *arg_an_g, 955s # GVariant *arg_an_h, 955s # const gchar *arg_an_ay, 955s # const gchar *const *arg_an_as, 955s # const gchar *const *arg_an_ao, 955s # const gchar *const *arg_an_aay, 955s # GVariant *arg_an_asv) 955s # { 955s # 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); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxy: 955s # * 955s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceProxy. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 955s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 955s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_signaling_iface_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_SIGNALING_IFACE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeleton: 955s # * 955s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectSignalingIfaceSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 955s # */ 955s # 955s # struct _OrgProjectSignalingIfaceSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_signaling_iface_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_signaling_iface_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_signaling_iface_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 955s # { 955s # _org_project_signaling_iface_skeleton_handle_method_call, 955s # _org_project_signaling_iface_skeleton_handle_get_property, 955s # _org_project_signaling_iface_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_signaling_iface_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_simple_signal ( 955s # OrgProjectSignalingIface *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void 955s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 955s # OrgProjectSignalingIface *object, 955s # gboolean arg_an_b, 955s # guchar arg_an_y, 955s # gint16 arg_an_n, 955s # guint16 arg_an_q, 955s # gint arg_an_i, 955s # guint arg_an_u, 955s # gint64 arg_an_x, 955s # guint64 arg_an_t, 955s # gdouble arg_an_d, 955s # const gchar *arg_an_s, 955s # const gchar *arg_an_o, 955s # const gchar *arg_an_g, 955s # GVariant *arg_an_h, 955s # const gchar *arg_an_ay, 955s # const gchar *const *arg_an_as, 955s # const gchar *const *arg_an_ao, 955s # const gchar *const *arg_an_aay, 955s # GVariant *arg_an_asv) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 955s # arg_an_b, 955s # arg_an_y, 955s # arg_an_n, 955s # arg_an_q, 955s # arg_an_i, 955s # arg_an_u, 955s # arg_an_x, 955s # arg_an_t, 955s # arg_an_d, 955s # arg_an_s, 955s # arg_an_o, 955s # arg_an_g, 955s # arg_an_h, 955s # arg_an_ay, 955s # arg_an_as, 955s # arg_an_ao, 955s # arg_an_aay, 955s # arg_an_asv)); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_signaling_iface_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 955s # { 955s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 955s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 955s # } 955s # 955s # /** 955s # * org_project_signaling_iface_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 955s # * 955s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 955s # */ 955s # OrgProjectSignalingIface * 955s # org_project_signaling_iface_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 955s # } 955s ok 25 __main__.TestCodegen.test_generate_valid_docbook 955s # tmpdir: /tmp/tmp4x4okgsy 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmp4x4okgsy/tmpuvzvuln3.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4x4okgsy/tmpuvzvuln3.xml', '--generate-docbook', 'test'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: 955s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 955s # tmpdir: /tmp/tmp59rhk64d 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmp59rhk64d/tmppnbpipfw.xml: 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp59rhk64d/tmppnbpipfw.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 955s # tmpdir: /tmp/tmp7l866g61 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmp7l866g61/tmpcsg_i6rx.xml: 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7l866g61/tmpcsg_i6rx.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifndef __STDOUT__ 955s # #define __STDOUT__ 955s # 955s # #include 955s # 955s # G_BEGIN_DECLS 955s # 955s # 955s # G_END_DECLS 955s # 955s # #endif /* __STDOUT__ */ 955s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 955s # tmpdir: /tmp/tmpby9n_8ct 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmpby9n_8ct/tmpz1t5vzpx.xml: 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpby9n_8ct/tmpz1t5vzpx.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 955s # tmpdir: /tmp/tmpaauuqp24 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmpaauuqp24/tmpfw5fr05i.xml: 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaauuqp24/tmpfw5fr05i.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifndef __STDOUT__ 955s # #define __STDOUT__ 955s # 955s # #include 955s # 955s # G_BEGIN_DECLS 955s # 955s # 955s # G_END_DECLS 955s # 955s # #endif /* __STDOUT__ */ 955s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 955s # tmpdir: /tmp/tmp5wy_xj8t 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmp5wy_xj8t/tmpeyvbw790.xml: 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5wy_xj8t/tmpeyvbw790.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifndef __STDOUT__ 955s # #define __STDOUT__ 955s # 955s # #include 955s # 955s # G_BEGIN_DECLS 955s # 955s # 955s # G_END_DECLS 955s # 955s # #endif /* __STDOUT__ */ 955s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 955s # tmpdir: /tmp/tmpilw1ij9k 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmpilw1ij9k/tmp_extk5np.xml: 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpilw1ij9k/tmp_extk5np.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 955s # tmpdir: /tmp/tmpbqdc8bz0 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmpbqdc8bz0/tmpp01cxj4m.xml: 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbqdc8bz0/tmpp01cxj4m.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifndef __STDOUT__ 955s # #define __STDOUT__ 955s # 955s # #include 955s # 955s # G_BEGIN_DECLS 955s # 955s # 955s # G_END_DECLS 955s # 955s # #endif /* __STDOUT__ */ 955s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 955s # tmpdir: /tmp/tmp8fk3w2gb 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmp8fk3w2gb/tmp_961hvwy.xml: 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8fk3w2gb/tmp_961hvwy.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 955s # tmpdir: /tmp/tmp6v_uxj05 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmp6v_uxj05/tmpsdz_nrjy.xml: 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6v_uxj05/tmpsdz_nrjy.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifndef __STDOUT__ 955s # #define __STDOUT__ 955s # 955s # #include 955s # 955s # G_BEGIN_DECLS 955s # 955s # 955s # G_END_DECLS 955s # 955s # #endif /* __STDOUT__ */ 955s ok 35 __main__.TestCodegen.test_help 955s # tmpdir: /tmp/tmpbsaim76i 955s # codegen: /usr/bin/gdbus-codegen 955s # Running: ['/usr/bin/gdbus-codegen', '--help'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 955s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 955s # [--c-generate-autocleanup {none,objects,all}] 955s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 955s # [--generate-rst OUTFILES] [--pragma-once] 955s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 955s # [--glib-min-required VERSION] 955s # [--glib-max-allowed VERSION] 955s # [--symbol-decorator SYMBOL_DECORATOR] 955s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 955s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 955s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 955s # [--output FILE | --output-directory OUTDIR] 955s # FILE [FILE ...] 955s # 955s # D-Bus code and documentation generator 955s # 955s # positional arguments: 955s # FILE D-Bus introspection XML file 955s # 955s # options: 955s # -h, --help show this help message and exit 955s # --interface-prefix PREFIX 955s # String to strip from D-Bus interface names for code 955s # and docs 955s # --c-namespace NAMESPACE 955s # The namespace to use for generated C code 955s # --c-generate-object-manager 955s # Generate a GDBusObjectManagerClient subclass when 955s # generating C code 955s # --c-generate-autocleanup {none,objects,all} 955s # Generate autocleanup support 955s # --generate-docbook OUTFILES 955s # Generate Docbook in OUTFILES-org.Project.IFace.xml 955s # --generate-md OUTFILES 955s # Generate Markdown in OUTFILES-org.Project.IFace.md 955s # --generate-rst OUTFILES 955s # Generate reStructuredText in OUTFILES- 955s # org.Project.IFace.rst 955s # --pragma-once Use "pragma once" as the inclusion guard 955s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 955s # Add annotation (may be used several times) 955s # --glib-min-required VERSION 955s # Minimum version of GLib to be supported by the 955s # outputted code (default: 2.30) 955s # --glib-max-allowed VERSION 955s # Maximum version of GLib to be used by the outputted 955s # code (default: current GLib version) 955s # --symbol-decorator SYMBOL_DECORATOR 955s # Macro used to decorate a symbol in the outputted 955s # header, possibly to export symbols 955s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 955s # Additional header required for decorator specified by 955s # --symbol-decorator 955s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 955s # Additional define required for decorator specified by 955s # --symbol-decorator 955s # --generate-c-code OUTFILES 955s # Generate C code in OUTFILES.[ch] 955s # --header Generate C headers 955s # --body Generate C code 955s # --interface-info-header 955s # Generate GDBusInterfaceInfo C header 955s # --interface-info-body 955s # Generate GDBusInterfaceInfo C code 955s # --output FILE Write output into the specified file 955s # --output-directory OUTDIR 955s # Location to output generated files 955s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 955s # tmpdir: /tmp/tmpb8amedby 955s # codegen: /usr/bin/gdbus-codegen 955s # /tmp/tmpb8amedby/tmp2x14mxeu.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8amedby/tmp2x14mxeu.xml', '--generate-rst', 'test'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: 955s # /tmp/tmpb8amedby/tmpi791s7n8.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8amedby/tmpi791s7n8.xml', '--generate-md', 'test'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: 955s # /tmp/tmpb8amedby/tmpe406k5yj.xml: 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8amedby/tmpe406k5yj.xml', '--generate-docbook', 'test'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: 955s ok 37 __main__.TestCodegen.test_no_args 955s # tmpdir: /tmp/tmp6g547r53 955s # codegen: /usr/bin/gdbus-codegen 955s # Running: ['/usr/bin/gdbus-codegen'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s ok 38 __main__.TestCodegen.test_reproducible 955s # tmpdir: /tmp/tmpmk_40udt 955s # codegen: /usr/bin/gdbus-codegen 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmk_40udt/tmpt_8gys9g1.xml', '/tmp/tmpmk_40udt/tmpceze7yrc2.xml', '--output', '-', '--header'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifndef __STDOUT__ 955s # #define __STDOUT__ 955s # 955s # #include 955s # 955s # G_BEGIN_DECLS 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # /* Declarations for org.project.Bar.Frobnicator */ 955s # 955s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 955s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 955s # 955s # struct _OrgProjectBarFrobnicator; 955s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 955s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 955s # 955s # struct _OrgProjectBarFrobnicatorIface 955s # { 955s # GTypeInterface parent_iface; 955s # 955s # gboolean (*handle_random_method) ( 955s # OrgProjectBarFrobnicator *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # }; 955s # 955s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 955s # 955s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 955s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 955s # 955s # 955s # /* D-Bus method call completion functions: */ 955s # void org_project_bar_frobnicator_complete_random_method ( 955s # OrgProjectBarFrobnicator *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # 955s # 955s # /* D-Bus method calls: */ 955s # void org_project_bar_frobnicator_call_random_method ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # 955s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GAsyncResult *res, 955s # GError **error); 955s # 955s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # 955s # 955s # /* ---- */ 955s # 955s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 955s # 955s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 955s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 955s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 955s # 955s # struct _OrgProjectBarFrobnicatorProxy 955s # { 955s # /*< private >*/ 955s # GDBusProxy parent_instance; 955s # OrgProjectBarFrobnicatorProxyPrivate *priv; 955s # }; 955s # 955s # struct _OrgProjectBarFrobnicatorProxyClass 955s # { 955s # GDBusProxyClass parent_class; 955s # }; 955s # 955s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 955s # 955s # #if GLIB_CHECK_VERSION(2, 44, 0) 955s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 955s # #endif 955s # 955s # void org_project_bar_frobnicator_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error); 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # void org_project_bar_frobnicator_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error); 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # 955s # /* ---- */ 955s # 955s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 955s # 955s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 955s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 955s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 955s # 955s # struct _OrgProjectBarFrobnicatorSkeleton 955s # { 955s # /*< private >*/ 955s # GDBusInterfaceSkeleton parent_instance; 955s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 955s # }; 955s # 955s # struct _OrgProjectBarFrobnicatorSkeletonClass 955s # { 955s # GDBusInterfaceSkeletonClass parent_class; 955s # }; 955s # 955s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 955s # 955s # #if GLIB_CHECK_VERSION(2, 44, 0) 955s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 955s # #endif 955s # 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # /* Declarations for com.acme.Coyote */ 955s # 955s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 955s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 955s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 955s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 955s # 955s # struct _ComAcmeCoyote; 955s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 955s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 955s # 955s # struct _ComAcmeCoyoteIface 955s # { 955s # GTypeInterface parent_iface; 955s # 955s # 955s # 955s # gboolean (*handle_attack) ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # gboolean (*handle_run) ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # gboolean (*handle_sleep) ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # const gchar * (*get_mood) (ComAcmeCoyote *object); 955s # 955s # void (*surprised) ( 955s # ComAcmeCoyote *object); 955s # 955s # }; 955s # 955s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 955s # 955s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 955s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 955s # 955s # 955s # /* D-Bus method call completion functions: */ 955s # void com_acme_coyote_complete_run ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # void com_acme_coyote_complete_sleep ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # void com_acme_coyote_complete_attack ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # 955s # 955s # /* D-Bus signal emissions functions: */ 955s # void com_acme_coyote_emit_surprised ( 955s # ComAcmeCoyote *object); 955s # 955s # 955s # 955s # /* D-Bus method calls: */ 955s # void com_acme_coyote_call_run ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # 955s # gboolean com_acme_coyote_call_run_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error); 955s # 955s # gboolean com_acme_coyote_call_run_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # void com_acme_coyote_call_sleep ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # 955s # gboolean com_acme_coyote_call_sleep_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error); 955s # 955s # gboolean com_acme_coyote_call_sleep_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # void com_acme_coyote_call_attack ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # 955s # gboolean com_acme_coyote_call_attack_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error); 955s # 955s # gboolean com_acme_coyote_call_attack_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # 955s # 955s # /* D-Bus property accessors: */ 955s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 955s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 955s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 955s # 955s # 955s # /* ---- */ 955s # 955s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 955s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 955s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 955s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 955s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 955s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 955s # 955s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 955s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 955s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 955s # 955s # struct _ComAcmeCoyoteProxy 955s # { 955s # /*< private >*/ 955s # GDBusProxy parent_instance; 955s # ComAcmeCoyoteProxyPrivate *priv; 955s # }; 955s # 955s # struct _ComAcmeCoyoteProxyClass 955s # { 955s # GDBusProxyClass parent_class; 955s # }; 955s # 955s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 955s # 955s # #if GLIB_CHECK_VERSION(2, 44, 0) 955s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 955s # #endif 955s # 955s # void com_acme_coyote_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error); 955s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # void com_acme_coyote_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error); 955s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # 955s # /* ---- */ 955s # 955s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 955s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 955s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 955s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 955s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 955s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 955s # 955s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 955s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 955s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 955s # 955s # struct _ComAcmeCoyoteSkeleton 955s # { 955s # /*< private >*/ 955s # GDBusInterfaceSkeleton parent_instance; 955s # ComAcmeCoyoteSkeletonPrivate *priv; 955s # }; 955s # 955s # struct _ComAcmeCoyoteSkeletonClass 955s # { 955s # GDBusInterfaceSkeletonClass parent_class; 955s # }; 955s # 955s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 955s # 955s # #if GLIB_CHECK_VERSION(2, 44, 0) 955s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 955s # #endif 955s # 955s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 955s # 955s # 955s # G_END_DECLS 955s # 955s # #endif /* __STDOUT__ */ 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmk_40udt/tmpceze7yrc2.xml', '/tmp/tmpmk_40udt/tmpt_8gys9g1.xml', '--output', '-', '--header'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifndef __STDOUT__ 955s # #define __STDOUT__ 955s # 955s # #include 955s # 955s # G_BEGIN_DECLS 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # /* Declarations for org.project.Bar.Frobnicator */ 955s # 955s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 955s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 955s # 955s # struct _OrgProjectBarFrobnicator; 955s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 955s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 955s # 955s # struct _OrgProjectBarFrobnicatorIface 955s # { 955s # GTypeInterface parent_iface; 955s # 955s # gboolean (*handle_random_method) ( 955s # OrgProjectBarFrobnicator *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # }; 955s # 955s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 955s # 955s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 955s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 955s # 955s # 955s # /* D-Bus method call completion functions: */ 955s # void org_project_bar_frobnicator_complete_random_method ( 955s # OrgProjectBarFrobnicator *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # 955s # 955s # /* D-Bus method calls: */ 955s # void org_project_bar_frobnicator_call_random_method ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # 955s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GAsyncResult *res, 955s # GError **error); 955s # 955s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # 955s # 955s # /* ---- */ 955s # 955s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 955s # 955s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 955s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 955s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 955s # 955s # struct _OrgProjectBarFrobnicatorProxy 955s # { 955s # /*< private >*/ 955s # GDBusProxy parent_instance; 955s # OrgProjectBarFrobnicatorProxyPrivate *priv; 955s # }; 955s # 955s # struct _OrgProjectBarFrobnicatorProxyClass 955s # { 955s # GDBusProxyClass parent_class; 955s # }; 955s # 955s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 955s # 955s # #if GLIB_CHECK_VERSION(2, 44, 0) 955s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 955s # #endif 955s # 955s # void org_project_bar_frobnicator_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error); 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # void org_project_bar_frobnicator_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error); 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # 955s # /* ---- */ 955s # 955s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 955s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 955s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 955s # 955s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 955s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 955s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 955s # 955s # struct _OrgProjectBarFrobnicatorSkeleton 955s # { 955s # /*< private >*/ 955s # GDBusInterfaceSkeleton parent_instance; 955s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 955s # }; 955s # 955s # struct _OrgProjectBarFrobnicatorSkeletonClass 955s # { 955s # GDBusInterfaceSkeletonClass parent_class; 955s # }; 955s # 955s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 955s # 955s # #if GLIB_CHECK_VERSION(2, 44, 0) 955s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 955s # #endif 955s # 955s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # /* Declarations for com.acme.Coyote */ 955s # 955s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 955s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 955s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 955s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 955s # 955s # struct _ComAcmeCoyote; 955s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 955s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 955s # 955s # struct _ComAcmeCoyoteIface 955s # { 955s # GTypeInterface parent_iface; 955s # 955s # 955s # 955s # gboolean (*handle_attack) ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # gboolean (*handle_run) ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # gboolean (*handle_sleep) ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # const gchar * (*get_mood) (ComAcmeCoyote *object); 955s # 955s # void (*surprised) ( 955s # ComAcmeCoyote *object); 955s # 955s # }; 955s # 955s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 955s # 955s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 955s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 955s # 955s # 955s # /* D-Bus method call completion functions: */ 955s # void com_acme_coyote_complete_run ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # void com_acme_coyote_complete_sleep ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # void com_acme_coyote_complete_attack ( 955s # ComAcmeCoyote *object, 955s # GDBusMethodInvocation *invocation); 955s # 955s # 955s # 955s # /* D-Bus signal emissions functions: */ 955s # void com_acme_coyote_emit_surprised ( 955s # ComAcmeCoyote *object); 955s # 955s # 955s # 955s # /* D-Bus method calls: */ 955s # void com_acme_coyote_call_run ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # 955s # gboolean com_acme_coyote_call_run_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error); 955s # 955s # gboolean com_acme_coyote_call_run_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # void com_acme_coyote_call_sleep ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # 955s # gboolean com_acme_coyote_call_sleep_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error); 955s # 955s # gboolean com_acme_coyote_call_sleep_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # void com_acme_coyote_call_attack ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # 955s # gboolean com_acme_coyote_call_attack_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error); 955s # 955s # gboolean com_acme_coyote_call_attack_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # 955s # 955s # /* D-Bus property accessors: */ 955s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 955s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 955s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 955s # 955s # 955s # /* ---- */ 955s # 955s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 955s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 955s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 955s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 955s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 955s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 955s # 955s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 955s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 955s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 955s # 955s # struct _ComAcmeCoyoteProxy 955s # { 955s # /*< private >*/ 955s # GDBusProxy parent_instance; 955s # ComAcmeCoyoteProxyPrivate *priv; 955s # }; 955s # 955s # struct _ComAcmeCoyoteProxyClass 955s # { 955s # GDBusProxyClass parent_class; 955s # }; 955s # 955s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 955s # 955s # #if GLIB_CHECK_VERSION(2, 44, 0) 955s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 955s # #endif 955s # 955s # void com_acme_coyote_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error); 955s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # void com_acme_coyote_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data); 955s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error); 955s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error); 955s # 955s # 955s # /* ---- */ 955s # 955s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 955s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 955s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 955s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 955s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 955s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 955s # 955s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 955s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 955s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 955s # 955s # struct _ComAcmeCoyoteSkeleton 955s # { 955s # /*< private >*/ 955s # GDBusInterfaceSkeleton parent_instance; 955s # ComAcmeCoyoteSkeletonPrivate *priv; 955s # }; 955s # 955s # struct _ComAcmeCoyoteSkeletonClass 955s # { 955s # GDBusInterfaceSkeletonClass parent_class; 955s # }; 955s # 955s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 955s # 955s # #if GLIB_CHECK_VERSION(2, 44, 0) 955s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 955s # #endif 955s # 955s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 955s # 955s # 955s # G_END_DECLS 955s # 955s # #endif /* __STDOUT__ */ 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmk_40udt/tmpt_8gys9g1.xml', '/tmp/tmpmk_40udt/tmpceze7yrc2.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # static void 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint G_GNUC_UNUSED, 955s # void *marshal_data) 955s # { 955s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 955s # (void *data1, 955s # GDBusMethodInvocation *arg_method_invocation, 955s # void *data2); 955s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 955s # GCClosure *cc = (GCClosure*) closure; 955s # void *data1, *data2; 955s # gboolean v_return; 955s # 955s # g_return_if_fail (return_value != NULL); 955s # g_return_if_fail (n_param_values == 2); 955s # 955s # if (G_CCLOSURE_SWAP_DATA (closure)) 955s # { 955s # data1 = closure->data; 955s # data2 = g_value_peek_pointer (param_values + 0); 955s # } 955s # else 955s # { 955s # data1 = g_value_peek_pointer (param_values + 0); 955s # data2 = closure->data; 955s # } 955s # 955s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 955s # (marshal_data ? marshal_data : cc->callback); 955s # 955s # v_return = 955s # callback (data1, 955s # g_marshal_value_peek_object (param_values + 1), 955s # data2); 955s # 955s # g_value_set_boolean (return_value, v_return); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.Bar.Frobnicator 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectBarFrobnicator 955s # * @title: OrgProjectBarFrobnicator 955s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 955s # */ 955s # 955s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 955s # 955s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 955s # { 955s # { 955s # -1, 955s # (gchar *) "RandomMethod", 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "handle-random-method", 955s # FALSE 955s # }; 955s # 955s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 955s # { 955s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.Bar.Frobnicator", 955s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-bar-frobnicator", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_bar_frobnicator_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_bar_frobnicator_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_bar_frobnicator_method_marshal_random_method ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectBarFrobnicator: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 955s # */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorIface: 955s # * @parent_iface: The parent interface. 955s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 955s # */ 955s # 955s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 955s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 955s # { 955s # /* GObject signals for incoming D-Bus method calls: */ 955s # /** 955s # * OrgProjectBarFrobnicator::handle-random-method: 955s # * @object: A #OrgProjectBarFrobnicator. 955s # * @invocation: A #GDBusMethodInvocation. 955s # * 955s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # g_signal_new ("handle-random-method", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 955s # g_signal_accumulator_true_handled, 955s # NULL, 955s # org_project_bar_frobnicator_method_marshal_random_method, 955s # G_TYPE_BOOLEAN, 955s # 1, 955s # G_TYPE_DBUS_METHOD_INVOCATION); 955s # 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_call_random_method: 955s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 955s # * 955s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 955s # */ 955s # void 955s # org_project_bar_frobnicator_call_random_method ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 955s # "RandomMethod", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # callback, 955s # user_data); 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_call_random_method_finish: 955s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # org_project_bar_frobnicator_call_random_method_finish ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_call_random_method_sync: 955s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # org_project_bar_frobnicator_call_random_method_sync ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 955s # "RandomMethod", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_complete_random_method: 955s # * @object: A #OrgProjectBarFrobnicator. 955s # * @invocation: (transfer full): A #GDBusMethodInvocation. 955s # * 955s # * 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. 955s # * 955s # * This method will free @invocation, you cannot use it afterwards. 955s # */ 955s # void 955s # org_project_bar_frobnicator_complete_random_method ( 955s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 955s # GDBusMethodInvocation *invocation) 955s # { 955s # g_dbus_method_invocation_return_value (invocation, 955s # g_variant_new ("()")); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorProxy: 955s # * 955s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectBarFrobnicatorProxy. 955s # */ 955s # 955s # struct _OrgProjectBarFrobnicatorProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 955s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 955s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_bar_frobnicator_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_bar_frobnicator_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorSkeleton: 955s # * 955s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 955s # */ 955s # 955s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 955s # { 955s # _org_project_bar_frobnicator_skeleton_handle_method_call, 955s # _org_project_bar_frobnicator_skeleton_handle_get_property, 955s # _org_project_bar_frobnicator_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_bar_frobnicator_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface com.acme.Coyote 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:ComAcmeCoyote 955s # * @title: ComAcmeCoyote 955s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 955s # * 955s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _COM_ACME_COYOTE_SURPRISED, 955s # }; 955s # 955s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 955s # 955s # /* ---- Introspection data for com.acme.Coyote ---- */ 955s # 955s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Run", 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "handle-run", 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Sleep", 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "handle-sleep", 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Attack", 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "handle-attack", 955s # FALSE 955s # }; 955s # 955s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 955s # { 955s # &_com_acme_coyote_method_info_run.parent_struct, 955s # &_com_acme_coyote_method_info_sleep.parent_struct, 955s # &_com_acme_coyote_method_info_attack.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Surprised", 955s # NULL, 955s # NULL 955s # }, 955s # "surprised" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 955s # { 955s # &_com_acme_coyote_signal_info_surprised.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Mood", 955s # (gchar *) "s", 955s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 955s # NULL 955s # }, 955s # "mood", 955s # FALSE, 955s # TRUE 955s # }; 955s # 955s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 955s # { 955s # &_com_acme_coyote_property_info_mood.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "com.acme.Coyote", 955s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 955s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 955s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 955s # NULL 955s # }, 955s # "com-acme-coyote", 955s # }; 955s # 955s # 955s # /** 955s # * com_acme_coyote_interface_info: 955s # * 955s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # com_acme_coyote_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 955s # { 955s # g_object_class_override_property (klass, property_id_begin++, "mood"); 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # com_acme_coyote_signal_marshal_surprised ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # com_acme_coyote_method_marshal_run ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # com_acme_coyote_method_marshal_sleep ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # com_acme_coyote_method_marshal_attack ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * ComAcmeCoyote: 955s # * 955s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 955s # */ 955s # 955s # /** 955s # * ComAcmeCoyoteIface: 955s # * @parent_iface: The parent interface. 955s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 955s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 955s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 955s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 955s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 955s # * 955s # * Virtual table for the D-Bus interface com.acme.Coyote. 955s # */ 955s # 955s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 955s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 955s # 955s # static void 955s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 955s # { 955s # /* GObject signals for incoming D-Bus method calls: */ 955s # /** 955s # * ComAcmeCoyote::handle-run: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: A #GDBusMethodInvocation. 955s # * 955s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # g_signal_new ("handle-run", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 955s # g_signal_accumulator_true_handled, 955s # NULL, 955s # com_acme_coyote_method_marshal_run, 955s # G_TYPE_BOOLEAN, 955s # 1, 955s # G_TYPE_DBUS_METHOD_INVOCATION); 955s # 955s # /** 955s # * ComAcmeCoyote::handle-sleep: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: A #GDBusMethodInvocation. 955s # * 955s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # g_signal_new ("handle-sleep", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 955s # g_signal_accumulator_true_handled, 955s # NULL, 955s # com_acme_coyote_method_marshal_sleep, 955s # G_TYPE_BOOLEAN, 955s # 1, 955s # G_TYPE_DBUS_METHOD_INVOCATION); 955s # 955s # /** 955s # * ComAcmeCoyote::handle-attack: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: A #GDBusMethodInvocation. 955s # * 955s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # g_signal_new ("handle-attack", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 955s # g_signal_accumulator_true_handled, 955s # NULL, 955s # com_acme_coyote_method_marshal_attack, 955s # G_TYPE_BOOLEAN, 955s # 1, 955s # G_TYPE_DBUS_METHOD_INVOCATION); 955s # 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * ComAcmeCoyote::surprised: 955s # * @object: A #ComAcmeCoyote. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 955s # g_signal_new ("surprised", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 955s # NULL, 955s # NULL, 955s # com_acme_coyote_signal_marshal_surprised, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /* GObject properties for D-Bus properties: */ 955s # /** 955s # * ComAcmeCoyote:mood: 955s # * 955s # * Represents the D-Bus property "Mood". 955s # * 955s # * 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. 955s # */ 955s # g_object_interface_install_property (iface, 955s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_get_mood: (skip) 955s # * @object: A #ComAcmeCoyote. 955s # * 955s # * Gets the value of the "Mood" D-Bus property. 955s # * 955s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # const gchar * 955s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 955s # { 955s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 955s # 955s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_dup_mood: (skip) 955s # * @object: A #ComAcmeCoyote. 955s # * 955s # * Gets a copy of the "Mood" D-Bus property. 955s # * 955s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 955s # * 955s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 955s # */ 955s # gchar * 955s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 955s # { 955s # gchar *value; 955s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 955s # return value; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_set_mood: (skip) 955s # * @object: A #ComAcmeCoyote. 955s # * @value: The value to set. 955s # * 955s # * Sets the "Mood" D-Bus property to @value. 955s # * 955s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 955s # */ 955s # void 955s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 955s # { 955s # g_object_set (G_OBJECT (object), "mood", value, NULL); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_emit_surprised: 955s # * @object: A #ComAcmeCoyote. 955s # * 955s # * Emits the "Surprised" D-Bus signal. 955s # */ 955s # void 955s # com_acme_coyote_emit_surprised ( 955s # ComAcmeCoyote *object) 955s # { 955s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_run: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously invokes the Run() D-Bus method on @proxy. 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 955s # */ 955s # void 955s # com_acme_coyote_call_run ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 955s # "Run", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # callback, 955s # user_data); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_run_finish: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Finishes an operation started with com_acme_coyote_call_run(). 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_run_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_run_sync: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_run_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 955s # "Run", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_sleep: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 955s # */ 955s # void 955s # com_acme_coyote_call_sleep ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 955s # "Sleep", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # callback, 955s # user_data); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_sleep_finish: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Finishes an operation started with com_acme_coyote_call_sleep(). 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_sleep_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_sleep_sync: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_sleep_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 955s # "Sleep", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_attack: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 955s # */ 955s # void 955s # com_acme_coyote_call_attack ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 955s # "Attack", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # callback, 955s # user_data); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_attack_finish: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Finishes an operation started with com_acme_coyote_call_attack(). 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_attack_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_attack_sync: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_attack_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 955s # "Attack", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_complete_run: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: (transfer full): A #GDBusMethodInvocation. 955s # * 955s # * 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. 955s # * 955s # * This method will free @invocation, you cannot use it afterwards. 955s # */ 955s # void 955s # com_acme_coyote_complete_run ( 955s # ComAcmeCoyote *object G_GNUC_UNUSED, 955s # GDBusMethodInvocation *invocation) 955s # { 955s # g_dbus_method_invocation_return_value (invocation, 955s # g_variant_new ("()")); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_complete_sleep: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: (transfer full): A #GDBusMethodInvocation. 955s # * 955s # * 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. 955s # * 955s # * This method will free @invocation, you cannot use it afterwards. 955s # */ 955s # void 955s # com_acme_coyote_complete_sleep ( 955s # ComAcmeCoyote *object G_GNUC_UNUSED, 955s # GDBusMethodInvocation *invocation) 955s # { 955s # g_dbus_method_invocation_return_value (invocation, 955s # g_variant_new ("()")); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_complete_attack: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: (transfer full): A #GDBusMethodInvocation. 955s # * 955s # * 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. 955s # * 955s # * This method will free @invocation, you cannot use it afterwards. 955s # */ 955s # void 955s # com_acme_coyote_complete_attack ( 955s # ComAcmeCoyote *object G_GNUC_UNUSED, 955s # GDBusMethodInvocation *invocation) 955s # { 955s # g_dbus_method_invocation_return_value (invocation, 955s # g_variant_new ("()")); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * ComAcmeCoyoteProxy: 955s # * 955s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * ComAcmeCoyoteProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #ComAcmeCoyoteProxy. 955s # */ 955s # 955s # struct _ComAcmeCoyoteProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # com_acme_coyote_proxy_finalize (GObject *object) 955s # { 955s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_get_property (GObject *object, 955s # guint prop_id, 955s # GValue *value, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # GVariant *variant; 955s # g_assert (prop_id != 0 && prop_id - 1 < 1); 955s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 955s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 955s # if (info->use_gvariant) 955s # { 955s # g_value_set_variant (value, variant); 955s # } 955s # else 955s # { 955s # if (variant != NULL) 955s # g_dbus_gvariant_to_gvalue (variant, value); 955s # } 955s # if (variant != NULL) 955s # g_variant_unref (variant); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 955s # GAsyncResult *res, 955s # gpointer user_data) 955s # { 955s # const _ExtendedGDBusPropertyInfo *info = user_data; 955s # GError *error; 955s # GVariant *_ret; 955s # error = NULL; 955s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 955s # if (!_ret) 955s # { 955s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 955s # info->parent_struct.name, 955s # error->message, g_quark_to_string (error->domain), error->code); 955s # g_error_free (error); 955s # } 955s # else 955s # { 955s # g_variant_unref (_ret); 955s # } 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_set_property (GObject *object, 955s # guint prop_id, 955s # const GValue *value, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # GVariant *variant; 955s # g_assert (prop_id != 0 && prop_id - 1 < 1); 955s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 955s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_dbus_proxy_call (G_DBUS_PROXY (object), 955s # "org.freedesktop.DBus.Properties.Set", 955s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 955s # g_variant_unref (variant); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static const gchar * 955s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 955s # { 955s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 955s # GVariant *variant; 955s # const gchar *value = NULL; 955s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 955s # if (variant != NULL) 955s # { 955s # value = g_variant_get_string (variant, NULL); 955s # g_variant_unref (variant); 955s # } 955s # return value; 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 955s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 955s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 955s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 955s # 955s # com_acme_coyote_override_properties (gobject_class, 1); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 955s # { 955s # iface->get_mood = com_acme_coyote_proxy_get_mood; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # com_acme_coyote_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with com_acme_coyote_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return COM_ACME_COYOTE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return COM_ACME_COYOTE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # com_acme_coyote_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return COM_ACME_COYOTE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return COM_ACME_COYOTE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * ComAcmeCoyoteSkeleton: 955s # * 955s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * ComAcmeCoyoteSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #ComAcmeCoyoteSkeleton. 955s # */ 955s # 955s # struct _ComAcmeCoyoteSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _com_acme_coyote_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _com_acme_coyote_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _com_acme_coyote_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 955s # { 955s # _com_acme_coyote_skeleton_handle_method_call, 955s # _com_acme_coyote_skeleton_handle_get_property, 955s # _com_acme_coyote_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return com_acme_coyote_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 955s # 955s # static void 955s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 955s # gboolean emit_changed = FALSE; 955s # 955s # g_mutex_lock (&skeleton->priv->lock); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # { 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # skeleton->priv->changed_properties_idle_source = NULL; 955s # emit_changed = TRUE; 955s # } 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # 955s # if (emit_changed) 955s # _com_acme_coyote_emit_changed (skeleton); 955s # } 955s # 955s # static void 955s # _com_acme_coyote_on_signal_surprised ( 955s # ComAcmeCoyote *object) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # com_acme_coyote_skeleton_finalize (GObject *object) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # guint n; 955s # for (n = 0; n < 1; n++) 955s # g_value_unset (&skeleton->priv->properties[n]); 955s # g_free (skeleton->priv->properties); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_get_property (GObject *object, 955s # guint prop_id, 955s # GValue *value, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # g_assert (prop_id != 0 && prop_id - 1 < 1); 955s # g_mutex_lock (&skeleton->priv->lock); 955s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # } 955s # 955s # static gboolean 955s # _com_acme_coyote_emit_changed (gpointer user_data) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 955s # GList *l; 955s # GVariantBuilder builder; 955s # GVariantBuilder invalidated_builder; 955s # guint num_changes; 955s # 955s # g_mutex_lock (&skeleton->priv->lock); 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 955s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 955s # { 955s # ChangedProperty *cp = l->data; 955s # GVariant *variant; 955s # const GValue *cur_value; 955s # 955s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 955s # if (!_g_value_equal (cur_value, &cp->orig_value)) 955s # { 955s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 955s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 955s # g_variant_unref (variant); 955s # num_changes++; 955s # } 955s # } 955s # if (num_changes > 0) 955s # { 955s # GList *connections, *ll; 955s # GVariant *signal_variant; 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 955s # &builder, &invalidated_builder)); 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # for (ll = connections; ll != NULL; ll = ll->next) 955s # { 955s # GDBusConnection *connection = ll->data; 955s # 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 955s # "org.freedesktop.DBus.Properties", 955s # "PropertiesChanged", 955s # signal_variant, 955s # NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # else 955s # { 955s # g_variant_builder_clear (&builder); 955s # g_variant_builder_clear (&invalidated_builder); 955s # } 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # skeleton->priv->changed_properties = NULL; 955s # skeleton->priv->changed_properties_idle_source = NULL; 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # return FALSE; 955s # } 955s # 955s # static void 955s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 955s # { 955s # ChangedProperty *cp; 955s # GList *l; 955s # cp = NULL; 955s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 955s # { 955s # ChangedProperty *i_cp = l->data; 955s # if (i_cp->info == info) 955s # { 955s # cp = i_cp; 955s # break; 955s # } 955s # } 955s # if (cp == NULL) 955s # { 955s # cp = g_new0 (ChangedProperty, 1); 955s # cp->prop_id = prop_id; 955s # cp->info = info; 955s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 955s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 955s # g_value_copy (orig_value, &cp->orig_value); 955s # } 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_notify (GObject *object, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # g_mutex_lock (&skeleton->priv->lock); 955s # if (skeleton->priv->changed_properties != NULL && 955s # skeleton->priv->changed_properties_idle_source == NULL) 955s # { 955s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 955s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 955s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 955s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 955s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 955s # g_source_unref (skeleton->priv->changed_properties_idle_source); 955s # } 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_set_property (GObject *object, 955s # guint prop_id, 955s # const GValue *value, 955s # GParamSpec *pspec) 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # g_assert (prop_id != 0 && prop_id - 1 < 1); 955s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 955s # g_mutex_lock (&skeleton->priv->lock); 955s # g_object_freeze_notify (object); 955s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 955s # { 955s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 955s # info->emits_changed_signal) 955s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 955s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 955s # g_object_notify_by_pspec (object, pspec); 955s # } 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # g_object_thaw_notify (object); 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # skeleton->priv->properties = g_new0 (GValue, 1); 955s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 955s # } 955s # 955s # static const gchar * 955s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # const gchar *value; 955s # g_mutex_lock (&skeleton->priv->lock); 955s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # return value; 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 955s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 955s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 955s # gobject_class->notify = com_acme_coyote_skeleton_notify; 955s # 955s # 955s # com_acme_coyote_override_properties (gobject_class, 1); 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 955s # { 955s # iface->surprised = _com_acme_coyote_on_signal_surprised; 955s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_skeleton_new (void) 955s # { 955s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 955s # } 955s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmk_40udt/tmpceze7yrc2.xml', '/tmp/tmpmk_40udt/tmpt_8gys9g1.xml', '--output', '-', '--body'] 955s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 955s # Output: /* 955s # * This file is generated by gdbus-codegen, do not modify it. 955s # * 955s # * The license of this code is the same as for the D-Bus interface description 955s # * it was derived from. Note that it links to GLib, so must comply with the 955s # * LGPL linking clauses. 955s # */ 955s # 955s # #ifdef HAVE_CONFIG_H 955s # # include "config.h" 955s # #endif 955s # 955s # #include 955s # #ifdef G_OS_UNIX 955s # # include 955s # #endif 955s # 955s # #ifdef G_ENABLE_DEBUG 955s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 955s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 955s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 955s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 955s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 955s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 955s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 955s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 955s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 955s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 955s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 955s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 955s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 955s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 955s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 955s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 955s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 955s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 955s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 955s # #else /* !G_ENABLE_DEBUG */ 955s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 955s # * Do not access GValues directly in your code. Instead, use the 955s # * g_value_get_*() functions 955s # */ 955s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 955s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 955s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 955s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 955s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 955s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 955s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 955s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 955s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 955s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 955s # #endif /* !G_ENABLE_DEBUG */ 955s # 955s # typedef struct 955s # { 955s # GDBusArgInfo parent_struct; 955s # gboolean use_gvariant; 955s # } _ExtendedGDBusArgInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusMethodInfo parent_struct; 955s # const gchar *signal_name; 955s # gboolean pass_fdlist; 955s # } _ExtendedGDBusMethodInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusSignalInfo parent_struct; 955s # const gchar *signal_name; 955s # } _ExtendedGDBusSignalInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusPropertyInfo parent_struct; 955s # const gchar *hyphen_name; 955s # guint use_gvariant : 1; 955s # guint emits_changed_signal : 1; 955s # } _ExtendedGDBusPropertyInfo; 955s # 955s # typedef struct 955s # { 955s # GDBusInterfaceInfo parent_struct; 955s # const gchar *hyphen_name; 955s # } _ExtendedGDBusInterfaceInfo; 955s # 955s # typedef struct 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # guint prop_id; 955s # GValue orig_value; /* the value before the change */ 955s # } ChangedProperty; 955s # 955s # static void 955s # _changed_property_free (ChangedProperty *data) 955s # { 955s # g_value_unset (&data->orig_value); 955s # g_free (data); 955s # } 955s # 955s # static gboolean 955s # _g_strv_equal0 (gchar **a, gchar **b) 955s # { 955s # gboolean ret = FALSE; 955s # guint n; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # if (g_strv_length (a) != g_strv_length (b)) 955s # goto out; 955s # for (n = 0; a[n] != NULL; n++) 955s # if (g_strcmp0 (a[n], b[n]) != 0) 955s # goto out; 955s # ret = TRUE; 955s # out: 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _g_variant_equal0 (GVariant *a, GVariant *b) 955s # { 955s # gboolean ret = FALSE; 955s # if (a == NULL && b == NULL) 955s # { 955s # ret = TRUE; 955s # goto out; 955s # } 955s # if (a == NULL || b == NULL) 955s # goto out; 955s # ret = g_variant_equal (a, b); 955s # out: 955s # return ret; 955s # } 955s # 955s # G_GNUC_UNUSED static gboolean 955s # _g_value_equal (const GValue *a, const GValue *b) 955s # { 955s # gboolean ret = FALSE; 955s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 955s # switch (G_VALUE_TYPE (a)) 955s # { 955s # case G_TYPE_BOOLEAN: 955s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 955s # break; 955s # case G_TYPE_UCHAR: 955s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 955s # break; 955s # case G_TYPE_INT: 955s # ret = (g_value_get_int (a) == g_value_get_int (b)); 955s # break; 955s # case G_TYPE_UINT: 955s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 955s # break; 955s # case G_TYPE_INT64: 955s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 955s # break; 955s # case G_TYPE_UINT64: 955s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 955s # break; 955s # case G_TYPE_DOUBLE: 955s # { 955s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 955s # gdouble da = g_value_get_double (a); 955s # gdouble db = g_value_get_double (b); 955s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 955s # } 955s # break; 955s # case G_TYPE_STRING: 955s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 955s # break; 955s # case G_TYPE_VARIANT: 955s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 955s # break; 955s # default: 955s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 955s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 955s # else 955s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 955s # break; 955s # } 955s # return ret; 955s # } 955s # 955s # static void 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint G_GNUC_UNUSED, 955s # void *marshal_data) 955s # { 955s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 955s # (void *data1, 955s # GDBusMethodInvocation *arg_method_invocation, 955s # void *data2); 955s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 955s # GCClosure *cc = (GCClosure*) closure; 955s # void *data1, *data2; 955s # gboolean v_return; 955s # 955s # g_return_if_fail (return_value != NULL); 955s # g_return_if_fail (n_param_values == 2); 955s # 955s # if (G_CCLOSURE_SWAP_DATA (closure)) 955s # { 955s # data1 = closure->data; 955s # data2 = g_value_peek_pointer (param_values + 0); 955s # } 955s # else 955s # { 955s # data1 = g_value_peek_pointer (param_values + 0); 955s # data2 = closure->data; 955s # } 955s # 955s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 955s # (marshal_data ? marshal_data : cc->callback); 955s # 955s # v_return = 955s # callback (data1, 955s # g_marshal_value_peek_object (param_values + 1), 955s # data2); 955s # 955s # g_value_set_boolean (return_value, v_return); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface org.project.Bar.Frobnicator 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:OrgProjectBarFrobnicator 955s # * @title: OrgProjectBarFrobnicator 955s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 955s # * 955s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 955s # */ 955s # 955s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 955s # 955s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 955s # { 955s # { 955s # -1, 955s # (gchar *) "RandomMethod", 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "handle-random-method", 955s # FALSE 955s # }; 955s # 955s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 955s # { 955s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "org.project.Bar.Frobnicator", 955s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "org-project-bar-frobnicator", 955s # }; 955s # 955s # 955s # /** 955s # * org_project_bar_frobnicator_interface_info: 955s # * 955s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # org_project_bar_frobnicator_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 955s # { 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # org_project_bar_frobnicator_method_marshal_random_method ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * OrgProjectBarFrobnicator: 955s # * 955s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 955s # */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorIface: 955s # * @parent_iface: The parent interface. 955s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 955s # * 955s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 955s # */ 955s # 955s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 955s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 955s # 955s # static void 955s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 955s # { 955s # /* GObject signals for incoming D-Bus method calls: */ 955s # /** 955s # * OrgProjectBarFrobnicator::handle-random-method: 955s # * @object: A #OrgProjectBarFrobnicator. 955s # * @invocation: A #GDBusMethodInvocation. 955s # * 955s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # g_signal_new ("handle-random-method", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 955s # g_signal_accumulator_true_handled, 955s # NULL, 955s # org_project_bar_frobnicator_method_marshal_random_method, 955s # G_TYPE_BOOLEAN, 955s # 1, 955s # G_TYPE_DBUS_METHOD_INVOCATION); 955s # 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_call_random_method: 955s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 955s # * 955s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 955s # */ 955s # void 955s # org_project_bar_frobnicator_call_random_method ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 955s # "RandomMethod", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # callback, 955s # user_data); 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_call_random_method_finish: 955s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # org_project_bar_frobnicator_call_random_method_finish ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_call_random_method_sync: 955s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # org_project_bar_frobnicator_call_random_method_sync ( 955s # OrgProjectBarFrobnicator *proxy, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 955s # "RandomMethod", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_complete_random_method: 955s # * @object: A #OrgProjectBarFrobnicator. 955s # * @invocation: (transfer full): A #GDBusMethodInvocation. 955s # * 955s # * 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. 955s # * 955s # * This method will free @invocation, you cannot use it afterwards. 955s # */ 955s # void 955s # org_project_bar_frobnicator_complete_random_method ( 955s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 955s # GDBusMethodInvocation *invocation) 955s # { 955s # g_dbus_method_invocation_return_value (invocation, 955s # g_variant_new ("()")); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorProxy: 955s # * 955s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectBarFrobnicatorProxy. 955s # */ 955s # 955s # struct _OrgProjectBarFrobnicatorProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 955s # { 955s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 955s # guint prop_id G_GNUC_UNUSED, 955s # const GValue *value G_GNUC_UNUSED, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 955s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 955s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 955s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_bar_frobnicator_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # org_project_bar_frobnicator_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorSkeleton: 955s # * 955s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * OrgProjectBarFrobnicatorSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 955s # */ 955s # 955s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 955s # { 955s # _org_project_bar_frobnicator_skeleton_handle_method_call, 955s # _org_project_bar_frobnicator_skeleton_handle_get_property, 955s # _org_project_bar_frobnicator_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return org_project_bar_frobnicator_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 955s # { 955s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 955s # { 955s # } 955s # 955s # /** 955s # * org_project_bar_frobnicator_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 955s # * 955s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 955s # */ 955s # OrgProjectBarFrobnicator * 955s # org_project_bar_frobnicator_skeleton_new (void) 955s # { 955s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ 955s # * Code for interface com.acme.Coyote 955s # * ------------------------------------------------------------------------ 955s # */ 955s # 955s # /** 955s # * SECTION:ComAcmeCoyote 955s # * @title: ComAcmeCoyote 955s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 955s # * 955s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 955s # */ 955s # 955s # enum 955s # { 955s # _COM_ACME_COYOTE_SURPRISED, 955s # }; 955s # 955s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 955s # 955s # /* ---- Introspection data for com.acme.Coyote ---- */ 955s # 955s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Run", 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "handle-run", 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Sleep", 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "handle-sleep", 955s # FALSE 955s # }; 955s # 955s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Attack", 955s # NULL, 955s # NULL, 955s # NULL 955s # }, 955s # "handle-attack", 955s # FALSE 955s # }; 955s # 955s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 955s # { 955s # &_com_acme_coyote_method_info_run.parent_struct, 955s # &_com_acme_coyote_method_info_sleep.parent_struct, 955s # &_com_acme_coyote_method_info_attack.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Surprised", 955s # NULL, 955s # NULL 955s # }, 955s # "surprised" 955s # }; 955s # 955s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 955s # { 955s # &_com_acme_coyote_signal_info_surprised.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 955s # { 955s # { 955s # -1, 955s # (gchar *) "Mood", 955s # (gchar *) "s", 955s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 955s # NULL 955s # }, 955s # "mood", 955s # FALSE, 955s # TRUE 955s # }; 955s # 955s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 955s # { 955s # &_com_acme_coyote_property_info_mood.parent_struct, 955s # NULL 955s # }; 955s # 955s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 955s # { 955s # { 955s # -1, 955s # (gchar *) "com.acme.Coyote", 955s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 955s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 955s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 955s # NULL 955s # }, 955s # "com-acme-coyote", 955s # }; 955s # 955s # 955s # /** 955s # * com_acme_coyote_interface_info: 955s # * 955s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 955s # * 955s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 955s # */ 955s # GDBusInterfaceInfo * 955s # com_acme_coyote_interface_info (void) 955s # { 955s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_override_properties: 955s # * @klass: The class structure for a #GObject derived class. 955s # * @property_id_begin: The property id to assign to the first overridden property. 955s # * 955s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 955s # * The properties are overridden in the order they are defined. 955s # * 955s # * Returns: The last property id. 955s # */ 955s # guint 955s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 955s # { 955s # g_object_class_override_property (klass, property_id_begin++, "mood"); 955s # return property_id_begin - 1; 955s # } 955s # 955s # 955s # inline static void 955s # com_acme_coyote_signal_marshal_surprised ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # g_cclosure_marshal_VOID__VOID (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # com_acme_coyote_method_marshal_run ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # com_acme_coyote_method_marshal_sleep ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # inline static void 955s # com_acme_coyote_method_marshal_attack ( 955s # GClosure *closure, 955s # GValue *return_value, 955s # unsigned int n_param_values, 955s # const GValue *param_values, 955s # void *invocation_hint, 955s # void *marshal_data) 955s # { 955s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 955s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 955s # } 955s # 955s # 955s # /** 955s # * ComAcmeCoyote: 955s # * 955s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 955s # */ 955s # 955s # /** 955s # * ComAcmeCoyoteIface: 955s # * @parent_iface: The parent interface. 955s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 955s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 955s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 955s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 955s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 955s # * 955s # * Virtual table for the D-Bus interface com.acme.Coyote. 955s # */ 955s # 955s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 955s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 955s # 955s # static void 955s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 955s # { 955s # /* GObject signals for incoming D-Bus method calls: */ 955s # /** 955s # * ComAcmeCoyote::handle-run: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: A #GDBusMethodInvocation. 955s # * 955s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # g_signal_new ("handle-run", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 955s # g_signal_accumulator_true_handled, 955s # NULL, 955s # com_acme_coyote_method_marshal_run, 955s # G_TYPE_BOOLEAN, 955s # 1, 955s # G_TYPE_DBUS_METHOD_INVOCATION); 955s # 955s # /** 955s # * ComAcmeCoyote::handle-sleep: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: A #GDBusMethodInvocation. 955s # * 955s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # g_signal_new ("handle-sleep", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 955s # g_signal_accumulator_true_handled, 955s # NULL, 955s # com_acme_coyote_method_marshal_sleep, 955s # G_TYPE_BOOLEAN, 955s # 1, 955s # G_TYPE_DBUS_METHOD_INVOCATION); 955s # 955s # /** 955s # * ComAcmeCoyote::handle-attack: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: A #GDBusMethodInvocation. 955s # * 955s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # g_signal_new ("handle-attack", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 955s # g_signal_accumulator_true_handled, 955s # NULL, 955s # com_acme_coyote_method_marshal_attack, 955s # G_TYPE_BOOLEAN, 955s # 1, 955s # G_TYPE_DBUS_METHOD_INVOCATION); 955s # 955s # /* GObject signals for received D-Bus signals: */ 955s # /** 955s # * ComAcmeCoyote::surprised: 955s # * @object: A #ComAcmeCoyote. 955s # * 955s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 955s # * 955s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 955s # */ 955s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 955s # g_signal_new ("surprised", 955s # G_TYPE_FROM_INTERFACE (iface), 955s # G_SIGNAL_RUN_LAST, 955s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 955s # NULL, 955s # NULL, 955s # com_acme_coyote_signal_marshal_surprised, 955s # G_TYPE_NONE, 955s # 0); 955s # 955s # /* GObject properties for D-Bus properties: */ 955s # /** 955s # * ComAcmeCoyote:mood: 955s # * 955s # * Represents the D-Bus property "Mood". 955s # * 955s # * 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. 955s # */ 955s # g_object_interface_install_property (iface, 955s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_get_mood: (skip) 955s # * @object: A #ComAcmeCoyote. 955s # * 955s # * Gets the value of the "Mood" D-Bus property. 955s # * 955s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 955s # * 955s # * 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. 955s # * 955s # * 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. 955s # */ 955s # const gchar * 955s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 955s # { 955s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 955s # 955s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_dup_mood: (skip) 955s # * @object: A #ComAcmeCoyote. 955s # * 955s # * Gets a copy of the "Mood" D-Bus property. 955s # * 955s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 955s # * 955s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 955s # */ 955s # gchar * 955s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 955s # { 955s # gchar *value; 955s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 955s # return value; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_set_mood: (skip) 955s # * @object: A #ComAcmeCoyote. 955s # * @value: The value to set. 955s # * 955s # * Sets the "Mood" D-Bus property to @value. 955s # * 955s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 955s # */ 955s # void 955s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 955s # { 955s # g_object_set (G_OBJECT (object), "mood", value, NULL); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_emit_surprised: 955s # * @object: A #ComAcmeCoyote. 955s # * 955s # * Emits the "Surprised" D-Bus signal. 955s # */ 955s # void 955s # com_acme_coyote_emit_surprised ( 955s # ComAcmeCoyote *object) 955s # { 955s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_run: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously invokes the Run() D-Bus method on @proxy. 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 955s # */ 955s # void 955s # com_acme_coyote_call_run ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 955s # "Run", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # callback, 955s # user_data); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_run_finish: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Finishes an operation started with com_acme_coyote_call_run(). 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_run_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_run_sync: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_run_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 955s # "Run", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_sleep: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 955s # */ 955s # void 955s # com_acme_coyote_call_sleep ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 955s # "Sleep", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # callback, 955s # user_data); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_sleep_finish: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Finishes an operation started with com_acme_coyote_call_sleep(). 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_sleep_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_sleep_sync: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_sleep_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 955s # "Sleep", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_attack: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 955s # */ 955s # void 955s # com_acme_coyote_call_attack ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 955s # "Attack", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # callback, 955s # user_data); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_attack_finish: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Finishes an operation started with com_acme_coyote_call_attack(). 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_attack_finish ( 955s # ComAcmeCoyote *proxy, 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_call_attack_sync: 955s # * @proxy: A #ComAcmeCoyoteProxy. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL. 955s # * 955s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 955s # * 955s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 955s # */ 955s # gboolean 955s # com_acme_coyote_call_attack_sync ( 955s # ComAcmeCoyote *proxy, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GVariant *_ret; 955s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 955s # "Attack", 955s # g_variant_new ("()"), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # cancellable, 955s # error); 955s # if (_ret == NULL) 955s # goto _out; 955s # g_variant_get (_ret, 955s # "()"); 955s # g_variant_unref (_ret); 955s # _out: 955s # return _ret != NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_complete_run: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: (transfer full): A #GDBusMethodInvocation. 955s # * 955s # * 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. 955s # * 955s # * This method will free @invocation, you cannot use it afterwards. 955s # */ 955s # void 955s # com_acme_coyote_complete_run ( 955s # ComAcmeCoyote *object G_GNUC_UNUSED, 955s # GDBusMethodInvocation *invocation) 955s # { 955s # g_dbus_method_invocation_return_value (invocation, 955s # g_variant_new ("()")); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_complete_sleep: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: (transfer full): A #GDBusMethodInvocation. 955s # * 955s # * 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. 955s # * 955s # * This method will free @invocation, you cannot use it afterwards. 955s # */ 955s # void 955s # com_acme_coyote_complete_sleep ( 955s # ComAcmeCoyote *object G_GNUC_UNUSED, 955s # GDBusMethodInvocation *invocation) 955s # { 955s # g_dbus_method_invocation_return_value (invocation, 955s # g_variant_new ("()")); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_complete_attack: 955s # * @object: A #ComAcmeCoyote. 955s # * @invocation: (transfer full): A #GDBusMethodInvocation. 955s # * 955s # * 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. 955s # * 955s # * This method will free @invocation, you cannot use it afterwards. 955s # */ 955s # void 955s # com_acme_coyote_complete_attack ( 955s # ComAcmeCoyote *object G_GNUC_UNUSED, 955s # GDBusMethodInvocation *invocation) 955s # { 955s # g_dbus_method_invocation_return_value (invocation, 955s # g_variant_new ("()")); 955s # } 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * ComAcmeCoyoteProxy: 955s # * 955s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * ComAcmeCoyoteProxyClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #ComAcmeCoyoteProxy. 955s # */ 955s # 955s # struct _ComAcmeCoyoteProxyPrivate 955s # { 955s # GData *qdata; 955s # }; 955s # 955s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 955s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 955s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 955s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 955s # 955s # #endif 955s # static void 955s # com_acme_coyote_proxy_finalize (GObject *object) 955s # { 955s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 955s # g_datalist_clear (&proxy->priv->qdata); 955s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_get_property (GObject *object, 955s # guint prop_id, 955s # GValue *value, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # GVariant *variant; 955s # g_assert (prop_id != 0 && prop_id - 1 < 1); 955s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 955s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 955s # if (info->use_gvariant) 955s # { 955s # g_value_set_variant (value, variant); 955s # } 955s # else 955s # { 955s # if (variant != NULL) 955s # g_dbus_gvariant_to_gvalue (variant, value); 955s # } 955s # if (variant != NULL) 955s # g_variant_unref (variant); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 955s # GAsyncResult *res, 955s # gpointer user_data) 955s # { 955s # const _ExtendedGDBusPropertyInfo *info = user_data; 955s # GError *error; 955s # GVariant *_ret; 955s # error = NULL; 955s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 955s # if (!_ret) 955s # { 955s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 955s # info->parent_struct.name, 955s # error->message, g_quark_to_string (error->domain), error->code); 955s # g_error_free (error); 955s # } 955s # else 955s # { 955s # g_variant_unref (_ret); 955s # } 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_set_property (GObject *object, 955s # guint prop_id, 955s # const GValue *value, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # GVariant *variant; 955s # g_assert (prop_id != 0 && prop_id - 1 < 1); 955s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 955s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_dbus_proxy_call (G_DBUS_PROXY (object), 955s # "org.freedesktop.DBus.Properties.Set", 955s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 955s # G_DBUS_CALL_FLAGS_NONE, 955s # -1, 955s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 955s # g_variant_unref (variant); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 955s # const gchar *sender_name G_GNUC_UNUSED, 955s # const gchar *signal_name, 955s # GVariant *parameters) 955s # { 955s # _ExtendedGDBusSignalInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # gsize n; 955s # guint signal_id; 955s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 955s # if (info == NULL) 955s # return; 955s # num_params = g_variant_n_children (parameters); 955s # paramv = g_new0 (GValue, num_params + 1); 955s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 955s # g_value_set_object (¶mv[0], proxy); 955s # g_variant_iter_init (&iter, parameters); 955s # n = 1; 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 955s # g_signal_emitv (paramv, signal_id, 0, NULL); 955s # for (n = 0; n < num_params + 1; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 955s # GVariant *changed_properties, 955s # const gchar *const *invalidated_properties) 955s # { 955s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 955s # guint n; 955s # const gchar *key; 955s # GVariantIter *iter; 955s # _ExtendedGDBusPropertyInfo *info; 955s # g_variant_get (changed_properties, "a{sv}", &iter); 955s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 955s # g_datalist_remove_data (&proxy->priv->qdata, key); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # g_variant_iter_free (iter); 955s # for (n = 0; invalidated_properties[n] != NULL; n++) 955s # { 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 955s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 955s # if (info != NULL) 955s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 955s # } 955s # } 955s # 955s # static const gchar * 955s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 955s # { 955s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 955s # GVariant *variant; 955s # const gchar *value = NULL; 955s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 955s # if (variant != NULL) 955s # { 955s # value = g_variant_get_string (variant, NULL); 955s # g_variant_unref (variant); 955s # } 955s # return value; 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 955s # #else 955s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 955s # #endif 955s # 955s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusProxyClass *proxy_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 955s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 955s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 955s # 955s # proxy_class = G_DBUS_PROXY_CLASS (klass); 955s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 955s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 955s # 955s # com_acme_coyote_override_properties (gobject_class, 1); 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 955s # { 955s # iface->get_mood = com_acme_coyote_proxy_get_mood; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # com_acme_coyote_proxy_new ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with com_acme_coyote_proxy_new(). 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_proxy_new_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return COM_ACME_COYOTE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_sync: 955s # * @connection: A #GDBusConnection. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_proxy_new_sync ( 955s # GDBusConnection *connection, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return COM_ACME_COYOTE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_for_bus: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 955s # * @user_data: User data to pass to @callback. 955s # * 955s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 955s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 955s # * 955s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 955s # */ 955s # void 955s # com_acme_coyote_proxy_new_for_bus ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GAsyncReadyCallback callback, 955s # gpointer user_data) 955s # { 955s # 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); 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_for_bus_finish: 955s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 955s # * @error: Return location for error or %NULL 955s # * 955s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_proxy_new_for_bus_finish ( 955s # GAsyncResult *res, 955s # GError **error) 955s # { 955s # GObject *ret; 955s # GObject *source_object; 955s # source_object = g_async_result_get_source_object (res); 955s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 955s # g_object_unref (source_object); 955s # if (ret != NULL) 955s # return COM_ACME_COYOTE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_proxy_new_for_bus_sync: 955s # * @bus_type: A #GBusType. 955s # * @flags: Flags from the #GDBusProxyFlags enumeration. 955s # * @name: A bus name (well-known or unique). 955s # * @object_path: An object path. 955s # * @cancellable: (nullable): A #GCancellable or %NULL. 955s # * @error: Return location for error or %NULL 955s # * 955s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 955s # * 955s # * The calling thread is blocked until a reply is received. 955s # * 955s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_proxy_new_for_bus_sync ( 955s # GBusType bus_type, 955s # GDBusProxyFlags flags, 955s # const gchar *name, 955s # const gchar *object_path, 955s # GCancellable *cancellable, 955s # GError **error) 955s # { 955s # GInitable *ret; 955s # 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); 955s # if (ret != NULL) 955s # return COM_ACME_COYOTE (ret); 955s # else 955s # return NULL; 955s # } 955s # 955s # 955s # /* ------------------------------------------------------------------------ */ 955s # 955s # /** 955s # * ComAcmeCoyoteSkeleton: 955s # * 955s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 955s # */ 955s # 955s # /** 955s # * ComAcmeCoyoteSkeletonClass: 955s # * @parent_class: The parent class. 955s # * 955s # * Class structure for #ComAcmeCoyoteSkeleton. 955s # */ 955s # 955s # struct _ComAcmeCoyoteSkeletonPrivate 955s # { 955s # GValue *properties; 955s # GList *changed_properties; 955s # GSource *changed_properties_idle_source; 955s # GMainContext *context; 955s # GMutex lock; 955s # }; 955s # 955s # static void 955s # _com_acme_coyote_skeleton_handle_method_call ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name, 955s # const gchar *method_name, 955s # GVariant *parameters, 955s # GDBusMethodInvocation *invocation, 955s # gpointer user_data) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 955s # _ExtendedGDBusMethodInfo *info; 955s # GVariantIter iter; 955s # GVariant *child; 955s # GValue *paramv; 955s # gsize num_params; 955s # guint num_extra; 955s # gsize n; 955s # guint signal_id; 955s # GValue return_value = G_VALUE_INIT; 955s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 955s # g_assert (info != NULL); 955s # num_params = g_variant_n_children (parameters); 955s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 955s # n = 0; 955s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 955s # g_value_set_object (¶mv[n++], skeleton); 955s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 955s # g_value_set_object (¶mv[n++], invocation); 955s # if (info->pass_fdlist) 955s # { 955s # #ifdef G_OS_UNIX 955s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 955s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 955s # #else 955s # g_assert_not_reached (); 955s # #endif 955s # } 955s # g_variant_iter_init (&iter, parameters); 955s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 955s # { 955s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 955s # if (arg_info->use_gvariant) 955s # { 955s # g_value_init (¶mv[n], G_TYPE_VARIANT); 955s # g_value_set_variant (¶mv[n], child); 955s # n++; 955s # } 955s # else 955s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 955s # g_variant_unref (child); 955s # } 955s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 955s # g_value_init (&return_value, G_TYPE_BOOLEAN); 955s # g_signal_emitv (paramv, signal_id, 0, &return_value); 955s # if (!g_value_get_boolean (&return_value)) 955s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 955s # g_value_unset (&return_value); 955s # for (n = 0; n < num_params + num_extra; n++) 955s # g_value_unset (¶mv[n]); 955s # g_free (paramv); 955s # } 955s # 955s # static GVariant * 955s # _com_acme_coyote_skeleton_handle_get_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # GVariant *ret; 955s # ret = NULL; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # g_value_init (&value, pspec->value_type); 955s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 955s # g_value_unset (&value); 955s # } 955s # return ret; 955s # } 955s # 955s # static gboolean 955s # _com_acme_coyote_skeleton_handle_set_property ( 955s # GDBusConnection *connection G_GNUC_UNUSED, 955s # const gchar *sender G_GNUC_UNUSED, 955s # const gchar *object_path G_GNUC_UNUSED, 955s # const gchar *interface_name G_GNUC_UNUSED, 955s # const gchar *property_name, 955s # GVariant *variant, 955s # GError **error, 955s # gpointer user_data) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 955s # GValue value = G_VALUE_INIT; 955s # GParamSpec *pspec; 955s # _ExtendedGDBusPropertyInfo *info; 955s # gboolean ret; 955s # ret = FALSE; 955s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 955s # g_assert (info != NULL); 955s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 955s # if (pspec == NULL) 955s # { 955s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 955s # } 955s # else 955s # { 955s # if (info->use_gvariant) 955s # g_value_set_variant (&value, variant); 955s # else 955s # g_dbus_gvariant_to_gvalue (variant, &value); 955s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 955s # g_value_unset (&value); 955s # ret = TRUE; 955s # } 955s # return ret; 955s # } 955s # 955s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 955s # { 955s # _com_acme_coyote_skeleton_handle_method_call, 955s # _com_acme_coyote_skeleton_handle_get_property, 955s # _com_acme_coyote_skeleton_handle_set_property, 955s # {NULL} 955s # }; 955s # 955s # static GDBusInterfaceInfo * 955s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return com_acme_coyote_interface_info (); 955s # } 955s # 955s # static GDBusInterfaceVTable * 955s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 955s # { 955s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 955s # } 955s # 955s # static GVariant * 955s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 955s # 955s # GVariantBuilder builder; 955s # guint n; 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 955s # goto out; 955s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 955s # { 955s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 955s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 955s # { 955s # GVariant *value; 955s # 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); 955s # if (value != NULL) 955s # { 955s # g_variant_take_ref (value); 955s # g_variant_builder_add (&builder, "{sv}", info->name, value); 955s # g_variant_unref (value); 955s # } 955s # } 955s # } 955s # out: 955s # return g_variant_builder_end (&builder); 955s # } 955s # 955s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 955s # 955s # static void 955s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 955s # gboolean emit_changed = FALSE; 955s # 955s # g_mutex_lock (&skeleton->priv->lock); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # { 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # skeleton->priv->changed_properties_idle_source = NULL; 955s # emit_changed = TRUE; 955s # } 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # 955s # if (emit_changed) 955s # _com_acme_coyote_emit_changed (skeleton); 955s # } 955s # 955s # static void 955s # _com_acme_coyote_on_signal_surprised ( 955s # ComAcmeCoyote *object) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # 955s # GList *connections, *l; 955s # GVariant *signal_variant; 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # 955s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 955s # for (l = connections; l != NULL; l = l->next) 955s # { 955s # GDBusConnection *connection = l->data; 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 955s # signal_variant, NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # 955s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 955s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 955s # 955s # #else 955s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 955s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 955s # 955s # #endif 955s # static void 955s # com_acme_coyote_skeleton_finalize (GObject *object) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # guint n; 955s # for (n = 0; n < 1; n++) 955s # g_value_unset (&skeleton->priv->properties[n]); 955s # g_free (skeleton->priv->properties); 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # if (skeleton->priv->changed_properties_idle_source != NULL) 955s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 955s # g_main_context_unref (skeleton->priv->context); 955s # g_mutex_clear (&skeleton->priv->lock); 955s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_get_property (GObject *object, 955s # guint prop_id, 955s # GValue *value, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # g_assert (prop_id != 0 && prop_id - 1 < 1); 955s # g_mutex_lock (&skeleton->priv->lock); 955s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # } 955s # 955s # static gboolean 955s # _com_acme_coyote_emit_changed (gpointer user_data) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 955s # GList *l; 955s # GVariantBuilder builder; 955s # GVariantBuilder invalidated_builder; 955s # guint num_changes; 955s # 955s # g_mutex_lock (&skeleton->priv->lock); 955s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 955s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 955s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 955s # { 955s # ChangedProperty *cp = l->data; 955s # GVariant *variant; 955s # const GValue *cur_value; 955s # 955s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 955s # if (!_g_value_equal (cur_value, &cp->orig_value)) 955s # { 955s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 955s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 955s # g_variant_unref (variant); 955s # num_changes++; 955s # } 955s # } 955s # if (num_changes > 0) 955s # { 955s # GList *connections, *ll; 955s # GVariant *signal_variant; 955s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 955s # &builder, &invalidated_builder)); 955s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 955s # for (ll = connections; ll != NULL; ll = ll->next) 955s # { 955s # GDBusConnection *connection = ll->data; 955s # 955s # g_dbus_connection_emit_signal (connection, 955s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 955s # "org.freedesktop.DBus.Properties", 955s # "PropertiesChanged", 955s # signal_variant, 955s # NULL); 955s # } 955s # g_variant_unref (signal_variant); 955s # g_list_free_full (connections, g_object_unref); 955s # } 955s # else 955s # { 955s # g_variant_builder_clear (&builder); 955s # g_variant_builder_clear (&invalidated_builder); 955s # } 955s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 955s # skeleton->priv->changed_properties = NULL; 955s # skeleton->priv->changed_properties_idle_source = NULL; 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # return FALSE; 955s # } 955s # 955s # static void 955s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 955s # { 955s # ChangedProperty *cp; 955s # GList *l; 955s # cp = NULL; 955s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 955s # { 955s # ChangedProperty *i_cp = l->data; 955s # if (i_cp->info == info) 955s # { 955s # cp = i_cp; 955s # break; 955s # } 955s # } 955s # if (cp == NULL) 955s # { 955s # cp = g_new0 (ChangedProperty, 1); 955s # cp->prop_id = prop_id; 955s # cp->info = info; 955s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 955s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 955s # g_value_copy (orig_value, &cp->orig_value); 955s # } 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_notify (GObject *object, 955s # GParamSpec *pspec G_GNUC_UNUSED) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # g_mutex_lock (&skeleton->priv->lock); 955s # if (skeleton->priv->changed_properties != NULL && 955s # skeleton->priv->changed_properties_idle_source == NULL) 955s # { 955s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 955s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 955s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 955s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 955s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 955s # g_source_unref (skeleton->priv->changed_properties_idle_source); 955s # } 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_set_property (GObject *object, 955s # guint prop_id, 955s # const GValue *value, 955s # GParamSpec *pspec) 955s # { 955s # const _ExtendedGDBusPropertyInfo *info; 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # g_assert (prop_id != 0 && prop_id - 1 < 1); 955s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 955s # g_mutex_lock (&skeleton->priv->lock); 955s # g_object_freeze_notify (object); 955s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 955s # { 955s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 955s # info->emits_changed_signal) 955s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 955s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 955s # g_object_notify_by_pspec (object, pspec); 955s # } 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # g_object_thaw_notify (object); 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 955s # { 955s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 955s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 955s # #else 955s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 955s # #endif 955s # 955s # g_mutex_init (&skeleton->priv->lock); 955s # skeleton->priv->context = g_main_context_ref_thread_default (); 955s # skeleton->priv->properties = g_new0 (GValue, 1); 955s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 955s # } 955s # 955s # static const gchar * 955s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 955s # { 955s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 955s # const gchar *value; 955s # g_mutex_lock (&skeleton->priv->lock); 955s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 955s # g_mutex_unlock (&skeleton->priv->lock); 955s # return value; 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 955s # { 955s # GObjectClass *gobject_class; 955s # GDBusInterfaceSkeletonClass *skeleton_class; 955s # 955s # gobject_class = G_OBJECT_CLASS (klass); 955s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 955s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 955s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 955s # gobject_class->notify = com_acme_coyote_skeleton_notify; 955s # 955s # 955s # com_acme_coyote_override_properties (gobject_class, 1); 955s # 955s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 955s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 955s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 955s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 955s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 955s # 955s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 955s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 955s # #endif 955s # } 955s # 955s # static void 955s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 955s # { 955s # iface->surprised = _com_acme_coyote_on_signal_surprised; 955s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 955s # } 955s # 955s # /** 955s # * com_acme_coyote_skeleton_new: 955s # * 955s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 955s # * 955s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 955s # */ 955s # ComAcmeCoyote * 955s # com_acme_coyote_skeleton_new (void) 955s # { 955s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 955s # } 956s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 956s # tmpdir: /tmp/tmpfxfz0msl 956s # codegen: /usr/bin/gdbus-codegen 956s # /tmp/tmpfxfz0msl/tmpv4isy0tt.xml: 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfxfz0msl/tmpv4isy0tt.xml', '--output', '-', '--header'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifndef __STDOUT__ 956s # #define __STDOUT__ 956s # 956s # #include 956s # 956s # G_BEGIN_DECLS 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # /* Declarations for FDPassing */ 956s # 956s # #define TYPE_FDPASSING (fdpassing_get_type ()) 956s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 956s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 956s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 956s # 956s # struct _FDPassing; 956s # typedef struct _FDPassing FDPassing; 956s # typedef struct _FDPassingIface FDPassingIface; 956s # 956s # struct _FDPassingIface 956s # { 956s # GTypeInterface parent_iface; 956s # 956s # gboolean (*handle_hello_fd) ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list, 956s # const gchar *arg_greeting); 956s # 956s # gboolean (*handle_no_annotation) ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GVariant *arg_greeting, 956s # const gchar *arg_greeting_locale); 956s # 956s # gboolean (*handle_no_annotation_nested) ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GVariant *arg_files); 956s # 956s # }; 956s # 956s # GType fdpassing_get_type (void) G_GNUC_CONST; 956s # 956s # GDBusInterfaceInfo *fdpassing_interface_info (void); 956s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 956s # 956s # 956s # /* D-Bus method call completion functions: */ 956s # void fdpassing_complete_hello_fd ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list, 956s # const gchar *response); 956s # 956s # void fdpassing_complete_no_annotation ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GVariant *response, 956s # const gchar *response_locale); 956s # 956s # void fdpassing_complete_no_annotation_nested ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation); 956s # 956s # 956s # 956s # /* D-Bus method calls: */ 956s # void fdpassing_call_hello_fd ( 956s # FDPassing *proxy, 956s # const gchar *arg_greeting, 956s # GUnixFDList *fd_list, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean fdpassing_call_hello_fd_finish ( 956s # FDPassing *proxy, 956s # gchar **out_response, 956s # GUnixFDList **out_fd_list, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean fdpassing_call_hello_fd_sync ( 956s # FDPassing *proxy, 956s # const gchar *arg_greeting, 956s # GUnixFDList *fd_list, 956s # gchar **out_response, 956s # GUnixFDList **out_fd_list, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void fdpassing_call_no_annotation ( 956s # FDPassing *proxy, 956s # GVariant *arg_greeting, 956s # const gchar *arg_greeting_locale, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean fdpassing_call_no_annotation_finish ( 956s # FDPassing *proxy, 956s # GVariant **out_response, 956s # gchar **out_response_locale, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean fdpassing_call_no_annotation_sync ( 956s # FDPassing *proxy, 956s # GVariant *arg_greeting, 956s # const gchar *arg_greeting_locale, 956s # GVariant **out_response, 956s # gchar **out_response_locale, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void fdpassing_call_no_annotation_nested ( 956s # FDPassing *proxy, 956s # GVariant *arg_files, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean fdpassing_call_no_annotation_nested_finish ( 956s # FDPassing *proxy, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean fdpassing_call_no_annotation_nested_sync ( 956s # FDPassing *proxy, 956s # GVariant *arg_files, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 956s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 956s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 956s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 956s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 956s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 956s # 956s # typedef struct _FDPassingProxy FDPassingProxy; 956s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 956s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 956s # 956s # struct _FDPassingProxy 956s # { 956s # /*< private >*/ 956s # GDBusProxy parent_instance; 956s # FDPassingProxyPrivate *priv; 956s # }; 956s # 956s # struct _FDPassingProxyClass 956s # { 956s # GDBusProxyClass parent_class; 956s # }; 956s # 956s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 956s # #endif 956s # 956s # void fdpassing_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # FDPassing *fdpassing_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # FDPassing *fdpassing_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void fdpassing_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 956s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 956s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 956s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 956s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 956s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 956s # 956s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 956s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 956s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 956s # 956s # struct _FDPassingSkeleton 956s # { 956s # /*< private >*/ 956s # GDBusInterfaceSkeleton parent_instance; 956s # FDPassingSkeletonPrivate *priv; 956s # }; 956s # 956s # struct _FDPassingSkeletonClass 956s # { 956s # GDBusInterfaceSkeletonClass parent_class; 956s # }; 956s # 956s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 956s # #endif 956s # 956s # FDPassing *fdpassing_skeleton_new (void); 956s # 956s # 956s # G_END_DECLS 956s # 956s # #endif /* __STDOUT__ */ 956s # /tmp/tmpfxfz0msl/tmp90d8s6ok.xml: 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfxfz0msl/tmp90d8s6ok.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifndef __STDOUT__ 956s # #define __STDOUT__ 956s # 956s # #include 956s # 956s # G_BEGIN_DECLS 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # /* Declarations for FDPassing */ 956s # 956s # #define TYPE_FDPASSING (fdpassing_get_type ()) 956s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 956s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 956s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 956s # 956s # struct _FDPassing; 956s # typedef struct _FDPassing FDPassing; 956s # typedef struct _FDPassingIface FDPassingIface; 956s # 956s # struct _FDPassingIface 956s # { 956s # GTypeInterface parent_iface; 956s # 956s # gboolean (*handle_hello_fd) ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list, 956s # const gchar *arg_greeting); 956s # 956s # gboolean (*handle_no_annotation) ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GVariant *arg_greeting, 956s # const gchar *arg_greeting_locale); 956s # 956s # gboolean (*handle_no_annotation_nested) ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GVariant *arg_files); 956s # 956s # }; 956s # 956s # GType fdpassing_get_type (void) G_GNUC_CONST; 956s # 956s # GDBusInterfaceInfo *fdpassing_interface_info (void); 956s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 956s # 956s # 956s # /* D-Bus method call completion functions: */ 956s # void fdpassing_complete_hello_fd ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list, 956s # const gchar *response); 956s # 956s # void fdpassing_complete_no_annotation ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GVariant *response, 956s # const gchar *response_locale); 956s # 956s # void fdpassing_complete_no_annotation_nested ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation); 956s # 956s # 956s # 956s # /* D-Bus method calls: */ 956s # void fdpassing_call_hello_fd ( 956s # FDPassing *proxy, 956s # const gchar *arg_greeting, 956s # GUnixFDList *fd_list, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean fdpassing_call_hello_fd_finish ( 956s # FDPassing *proxy, 956s # gchar **out_response, 956s # GUnixFDList **out_fd_list, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean fdpassing_call_hello_fd_sync ( 956s # FDPassing *proxy, 956s # const gchar *arg_greeting, 956s # GUnixFDList *fd_list, 956s # gchar **out_response, 956s # GUnixFDList **out_fd_list, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void fdpassing_call_no_annotation ( 956s # FDPassing *proxy, 956s # GVariant *arg_greeting, 956s # const gchar *arg_greeting_locale, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean fdpassing_call_no_annotation_finish ( 956s # FDPassing *proxy, 956s # GVariant **out_response, 956s # gchar **out_response_locale, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean fdpassing_call_no_annotation_sync ( 956s # FDPassing *proxy, 956s # GVariant *arg_greeting, 956s # const gchar *arg_greeting_locale, 956s # GVariant **out_response, 956s # gchar **out_response_locale, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void fdpassing_call_no_annotation_nested ( 956s # FDPassing *proxy, 956s # GVariant *arg_files, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean fdpassing_call_no_annotation_nested_finish ( 956s # FDPassing *proxy, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean fdpassing_call_no_annotation_nested_sync ( 956s # FDPassing *proxy, 956s # GVariant *arg_files, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 956s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 956s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 956s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 956s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 956s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 956s # 956s # typedef struct _FDPassingProxy FDPassingProxy; 956s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 956s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 956s # 956s # struct _FDPassingProxy 956s # { 956s # /*< private >*/ 956s # GDBusProxy parent_instance; 956s # FDPassingProxyPrivate *priv; 956s # }; 956s # 956s # struct _FDPassingProxyClass 956s # { 956s # GDBusProxyClass parent_class; 956s # }; 956s # 956s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 956s # #endif 956s # 956s # void fdpassing_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # FDPassing *fdpassing_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # FDPassing *fdpassing_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void fdpassing_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 956s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 956s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 956s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 956s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 956s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 956s # 956s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 956s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 956s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 956s # 956s # struct _FDPassingSkeleton 956s # { 956s # /*< private >*/ 956s # GDBusInterfaceSkeleton parent_instance; 956s # FDPassingSkeletonPrivate *priv; 956s # }; 956s # 956s # struct _FDPassingSkeletonClass 956s # { 956s # GDBusInterfaceSkeletonClass parent_class; 956s # }; 956s # 956s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 956s # #endif 956s # 956s # FDPassing *fdpassing_skeleton_new (void); 956s # 956s # 956s # G_END_DECLS 956s # 956s # #endif /* __STDOUT__ */ 956s # /tmp/tmpfxfz0msl/tmp4uh7cvss.xml: 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # 956s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfxfz0msl/tmp4uh7cvss.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 956s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 956s # Output: /* 956s # * This file is generated by gdbus-codegen, do not modify it. 956s # * 956s # * The license of this code is the same as for the D-Bus interface description 956s # * it was derived from. Note that it links to GLib, so must comply with the 956s # * LGPL linking clauses. 956s # */ 956s # 956s # #ifndef __STDOUT__ 956s # #define __STDOUT__ 956s # 956s # #include 956s # 956s # G_BEGIN_DECLS 956s # 956s # 956s # /* ------------------------------------------------------------------------ */ 956s # /* Declarations for FDPassing */ 956s # 956s # #define TYPE_FDPASSING (fdpassing_get_type ()) 956s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 956s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 956s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 956s # 956s # struct _FDPassing; 956s # typedef struct _FDPassing FDPassing; 956s # typedef struct _FDPassingIface FDPassingIface; 956s # 956s # struct _FDPassingIface 956s # { 956s # GTypeInterface parent_iface; 956s # 956s # gboolean (*handle_hello_fd) ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list, 956s # const gchar *arg_greeting); 956s # 956s # gboolean (*handle_no_annotation) ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list, 956s # GVariant *arg_greeting, 956s # const gchar *arg_greeting_locale); 956s # 956s # gboolean (*handle_no_annotation_nested) ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list, 956s # GVariant *arg_files); 956s # 956s # }; 956s # 956s # GType fdpassing_get_type (void) G_GNUC_CONST; 956s # 956s # GDBusInterfaceInfo *fdpassing_interface_info (void); 956s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 956s # 956s # 956s # /* D-Bus method call completion functions: */ 956s # void fdpassing_complete_hello_fd ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list, 956s # const gchar *response); 956s # 956s # void fdpassing_complete_no_annotation ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list, 956s # GVariant *response, 956s # const gchar *response_locale); 956s # 956s # void fdpassing_complete_no_annotation_nested ( 956s # FDPassing *object, 956s # GDBusMethodInvocation *invocation, 956s # GUnixFDList *fd_list); 956s # 956s # 956s # 956s # /* D-Bus method calls: */ 956s # void fdpassing_call_hello_fd ( 956s # FDPassing *proxy, 956s # const gchar *arg_greeting, 956s # GDBusCallFlags call_flags, 956s # gint timeout_msec, 956s # GUnixFDList *fd_list, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean fdpassing_call_hello_fd_finish ( 956s # FDPassing *proxy, 956s # gchar **out_response, 956s # GUnixFDList **out_fd_list, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean fdpassing_call_hello_fd_sync ( 956s # FDPassing *proxy, 956s # const gchar *arg_greeting, 956s # GDBusCallFlags call_flags, 956s # gint timeout_msec, 956s # GUnixFDList *fd_list, 956s # gchar **out_response, 956s # GUnixFDList **out_fd_list, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void fdpassing_call_no_annotation ( 956s # FDPassing *proxy, 956s # GVariant *arg_greeting, 956s # const gchar *arg_greeting_locale, 956s # GDBusCallFlags call_flags, 956s # gint timeout_msec, 956s # GUnixFDList *fd_list, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean fdpassing_call_no_annotation_finish ( 956s # FDPassing *proxy, 956s # GVariant **out_response, 956s # gchar **out_response_locale, 956s # GUnixFDList **out_fd_list, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean fdpassing_call_no_annotation_sync ( 956s # FDPassing *proxy, 956s # GVariant *arg_greeting, 956s # const gchar *arg_greeting_locale, 956s # GDBusCallFlags call_flags, 956s # gint timeout_msec, 956s # GUnixFDList *fd_list, 956s # GVariant **out_response, 956s # gchar **out_response_locale, 956s # GUnixFDList **out_fd_list, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void fdpassing_call_no_annotation_nested ( 956s # FDPassing *proxy, 956s # GVariant *arg_files, 956s # GDBusCallFlags call_flags, 956s # gint timeout_msec, 956s # GUnixFDList *fd_list, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # 956s # gboolean fdpassing_call_no_annotation_nested_finish ( 956s # FDPassing *proxy, 956s # GUnixFDList **out_fd_list, 956s # GAsyncResult *res, 956s # GError **error); 956s # 956s # gboolean fdpassing_call_no_annotation_nested_sync ( 956s # FDPassing *proxy, 956s # GVariant *arg_files, 956s # GDBusCallFlags call_flags, 956s # gint timeout_msec, 956s # GUnixFDList *fd_list, 956s # GUnixFDList **out_fd_list, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 956s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 956s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 956s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 956s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 956s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 956s # 956s # typedef struct _FDPassingProxy FDPassingProxy; 956s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 956s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 956s # 956s # struct _FDPassingProxy 956s # { 956s # /*< private >*/ 956s # GDBusProxy parent_instance; 956s # FDPassingProxyPrivate *priv; 956s # }; 956s # 956s # struct _FDPassingProxyClass 956s # { 956s # GDBusProxyClass parent_class; 956s # }; 956s # 956s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 956s # #endif 956s # 956s # void fdpassing_proxy_new ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # FDPassing *fdpassing_proxy_new_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # FDPassing *fdpassing_proxy_new_sync ( 956s # GDBusConnection *connection, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # void fdpassing_proxy_new_for_bus ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GAsyncReadyCallback callback, 956s # gpointer user_data); 956s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 956s # GAsyncResult *res, 956s # GError **error); 956s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 956s # GBusType bus_type, 956s # GDBusProxyFlags flags, 956s # const gchar *name, 956s # const gchar *object_path, 956s # GCancellable *cancellable, 956s # GError **error); 956s # 956s # 956s # /* ---- */ 956s # 956s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 956s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 956s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 956s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 956s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 956s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 956s # 956s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 956s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 956s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 956s # 956s # struct _FDPassingSkeleton 956s # { 956s # /*< private >*/ 956s # GDBusInterfaceSkeleton parent_instance; 956s # FDPassingSkeletonPrivate *priv; 956s # }; 956s # 956s # struct _FDPassingSkeletonClass 956s # { 956s # GDBusInterfaceSkeletonClass parent_class; 956s # }; 956s # 956s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 956s # 956s # #if GLIB_CHECK_VERSION(2, 44, 0) 956s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 956s # #endif 956s # 956s # FDPassing *fdpassing_skeleton_new (void); 956s # 956s # 956s # G_END_DECLS 956s # 956s # #endif /* __STDOUT__ */ 956s 1..39 956s ok - glib/codegen.py.test 956s # Running test: glib/gdbus-export.test 956s TAP version 14 956s # random seed: R02Sf446164b4ecb3ff3487167ecbb3bc8cf 956s 1..6 956s # Start of gdbus tests 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration/.dirs/runtime 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s ok 1 /gdbus/object-registration 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UF0K02/gdbus/object-registration-with-closures/.dirs/runtime 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s ok 2 /gdbus/object-registration-with-closures 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UF0K02/gdbus/registered-interfaces/.dirs/runtime 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s ok 3 /gdbus/registered-interfaces 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UF0K02/gdbus/async-properties/.dirs/runtime 956s ok 4 /gdbus/async-properties 956s # Start of threaded-unregistration tests 956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/home 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/cache 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/system-config2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/config 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/system-data2 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/data 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/state 956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/object/.dirs/runtime 956s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 956s # /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 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s ok 5 /gdbus/threaded-unregistration/object 957s # slow test /gdbus/threaded-unregistration/object executed in 1.70 secs 957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/home 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/cache 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/system-config2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/config 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/system-data2 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/data 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/state 957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UF0K02/gdbus/threaded-unregistration/subtree/.dirs/runtime 957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 957s # /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 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # Executing: glib/gdbus-export.test 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (76 iterations with unregistration first, 924 with call first); skipping test 959s # slow test /gdbus/threaded-unregistration/subtree executed in 1.57 secs 959s # End of threaded-unregistration tests 959s # End of gdbus tests 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s ok - glib/gdbus-export.test 959s # Running test: glib/environment.test 959s TAP version 14 959s # random seed: R02S0fc571fb650ce7ef52ca251567d808d2 959s 1..6 959s # Start of environ tests 959s # /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. 959s ok 1 /environ/listenv 959s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 959s ok 2 /environ/getenv 959s ok 3 /environ/setenv 959s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 959s ok 4 /environ/array 959s # /environ/null summary: Test getting and setting variables on a NULL envp array. 959s ok 5 /environ/null 959s # /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. 959s ok 6 /environ/case 959s # End of environ tests 959s ok - glib/environment.test 959s # Running test: glib/overflow.test 959s TAP version 14 959s # random seed: R02S8606dbf9746c6bf5bbba9944981cccc6 959s 1..6 959s # Start of glib tests 959s # Start of checked-math tests 959s ok 1 /glib/checked-math/guint-add 959s ok 2 /glib/checked-math/guint-mul 959s ok 3 /glib/checked-math/guint64-add 959s ok 4 /glib/checked-math/guint64-mul 959s ok 5 /glib/checked-math/gsize-add 959s ok 6 /glib/checked-math/gsize-mul 959s # End of checked-math tests 959s # End of glib tests 959s ok - glib/overflow.test 959s # Running test: glib/deftype.test 959s ok - glib/deftype.test 959s # Running test: glib/memory-monitor.test 959s TAP version 14 959s # random seed: R02S9524aef0b8a2bba153d1beba0b352121 959s 1..1 959s # Start of memory-monitor tests 959s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 959s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 959s ok 1 /memory-monitor/default 959s # End of memory-monitor tests 959s ok - glib/memory-monitor.test 959s # Running test: glib/logging.test 959s TAP version 14 959s # random seed: R02S3a7b87114cdec7595a503ee6201470ab 959s 1..17 959s # Start of logging tests 959s ok 1 /logging/default-handler 959s ok 2 /logging/warnings 959s ok 3 /logging/fatal-log-mask 959s # bu-DEBUG: message 959s # ba-DEBUG: message 959s # ba-INFO: message 959s ok 4 /logging/set-handler 959s ok 5 /logging/print-handler 959s ok 6 /logging/printerr-handler 959s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 959s # The Log Message Handler 959s # 959s # The Good Fail Message Handler 959s # 959s ok 7 /logging/653052 959s ok 8 /logging/gibberish 959s # Start of default-handler tests 959s # Start of subprocess tests 959s # End of subprocess tests 959s # End of default-handler tests 959s # End of logging tests 959s # Start of structured-logging tests 959s ok 9 /structured-logging/no-state 959s ok 10 /structured-logging/some-state 959s ok 11 /structured-logging/robustness 959s ok 12 /structured-logging/roundtrip1 959s ok 13 /structured-logging/roundtrip2 959s ok 14 /structured-logging/roundtrip3 959s ok 15 /structured-logging/variant1 959s ok 16 /structured-logging/variant2 959s ok 17 /structured-logging/set-writer-func-twice 959s # End of structured-logging tests 959s ok - glib/logging.test 959s # Running test: glib/private.test 959s TAP version 14 959s # random seed: R02Sa4091dc3ace2fbea610f0fa0ea66c863 959s 1..8 959s # Start of thread tests 959s ok 1 /thread/private1 960s ok 2 /thread/private2 960s # slow test /thread/private2 executed in 1.11 secs 960s ok 3 /thread/private3 960s ok 4 /thread/staticprivate1 960s ok 5 /thread/staticprivate2 960s ok 6 /thread/staticprivate3 961s ok 7 /thread/staticprivate4 961s # slow test /thread/staticprivate4 executed in 1.10 secs 961s ok 8 /thread/staticprivate5 961s # End of thread tests 961s ok - glib/private.test 961s # Running test: glib/assert-msg-test.py.test 961s TAP version 13 961s ok 1 __main__.TestAssertMessage.test_gassert 961s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 961s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 961s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 961s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 961s # Error: ** 961s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 961s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 961s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 961s 1..2 961s ok - glib/assert-msg-test.py.test 961s # Running test: glib/regex.test 961s TAP version 14 961s # random seed: R02S96823f696a69d61075a62c417e5a5bb7 961s 1..848 961s # Start of regex tests 961s ok 1 /regex/properties 961s ok 2 /regex/class 961s ok 3 /regex/lookahead 961s ok 4 /regex/lookbehind 961s ok 5 /regex/subpattern 961s ok 6 /regex/condition 961s ok 7 /regex/recursion 961s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 961s ok 8 /regex/multiline 961s ok 9 /regex/explicit-crlf 961s ok 10 /regex/max-lookbehind 961s ok 11 /regex/compile-errors 961s ok 12 /regex/jit-unsupported-matching 961s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 961s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 961s ok 13 /regex/unmatched-named-subpattern 961s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 961s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 961s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 961s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 962s ok 14 /regex/compiled-regex-after-jit-failure 962s # Start of new tests 962s ok 15 /regex/new/1 962s ok 16 /regex/new/2 962s ok 17 /regex/new/3 962s ok 18 /regex/new/4 962s ok 19 /regex/new/5 962s ok 20 /regex/new/6 962s ok 21 /regex/new/7 962s ok 22 /regex/new/8 962s ok 23 /regex/new/9 962s ok 24 /regex/new/10 962s ok 25 /regex/new/11 962s ok 26 /regex/new/12 962s ok 27 /regex/new/13 962s ok 28 /regex/new/14 962s ok 29 /regex/new/15 962s ok 30 /regex/new/16 962s ok 31 /regex/new/17 962s ok 32 /regex/new/18 962s ok 33 /regex/new/19 962s ok 34 /regex/new/71 962s ok 35 /regex/new/80 962s ok 36 /regex/new/82 962s # End of new tests 962s # Start of new-check-flags tests 962s ok 37 /regex/new-check-flags/20 962s ok 38 /regex/new-check-flags/21 962s ok 39 /regex/new-check-flags/22 962s ok 40 /regex/new-check-flags/23 962s ok 41 /regex/new-check-flags/24 962s ok 42 /regex/new-check-flags/25 962s ok 43 /regex/new-check-flags/26 962s ok 44 /regex/new-check-flags/27 962s ok 45 /regex/new-check-flags/28 962s ok 46 /regex/new-check-flags/29 962s ok 47 /regex/new-check-flags/30 962s ok 48 /regex/new-check-flags/31 962s ok 49 /regex/new-check-flags/32 962s ok 50 /regex/new-check-flags/33 962s ok 51 /regex/new-check-flags/34 962s ok 52 /regex/new-check-flags/35 962s ok 53 /regex/new-check-flags/36 962s # End of new-check-flags tests 962s # Start of new-fail tests 962s ok 54 /regex/new-fail/37 962s ok 55 /regex/new-fail/38 962s ok 56 /regex/new-fail/39 962s ok 57 /regex/new-fail/40 962s ok 58 /regex/new-fail/41 962s ok 59 /regex/new-fail/42 962s ok 60 /regex/new-fail/43 962s ok 61 /regex/new-fail/44 962s ok 62 /regex/new-fail/45 962s ok 63 /regex/new-fail/46 962s ok 64 /regex/new-fail/47 962s ok 65 /regex/new-fail/48 962s ok 66 /regex/new-fail/49 962s ok 67 /regex/new-fail/50 962s ok 68 /regex/new-fail/51 962s ok 69 /regex/new-fail/52 962s ok 70 /regex/new-fail/53 962s ok 71 /regex/new-fail/54 962s ok 72 /regex/new-fail/55 962s ok 73 /regex/new-fail/56 962s ok 74 /regex/new-fail/57 962s ok 75 /regex/new-fail/58 962s ok 76 /regex/new-fail/59 962s ok 77 /regex/new-fail/60 962s ok 78 /regex/new-fail/61 962s ok 79 /regex/new-fail/62 962s ok 80 /regex/new-fail/63 962s ok 81 /regex/new-fail/64 962s ok 82 /regex/new-fail/65 962s ok 83 /regex/new-fail/66 962s ok 84 /regex/new-fail/67 962s ok 85 /regex/new-fail/68 962s ok 86 /regex/new-fail/69 962s ok 87 /regex/new-fail/70 962s ok 88 /regex/new-fail/72 962s ok 89 /regex/new-fail/73 962s ok 90 /regex/new-fail/74 962s ok 91 /regex/new-fail/75 962s ok 92 /regex/new-fail/76 962s ok 93 /regex/new-fail/77 962s ok 94 /regex/new-fail/78 962s ok 95 /regex/new-fail/79 962s ok 96 /regex/new-fail/81 962s ok 97 /regex/new-fail/83 962s ok 98 /regex/new-fail/84 962s ok 99 /regex/new-fail/85 962s ok 100 /regex/new-fail/86 962s ok 101 /regex/new-fail/87 962s ok 102 /regex/new-fail/88 962s ok 103 /regex/new-fail/89 962s ok 104 /regex/new-fail/90 962s ok 105 /regex/new-fail/91 962s # End of new-fail tests 962s # Start of match-simple tests 962s ok 106 /regex/match-simple/92 962s ok 107 /regex/match-simple/93 962s ok 108 /regex/match-simple/94 962s ok 109 /regex/match-simple/95 962s ok 110 /regex/match-simple/96 962s ok 111 /regex/match-simple/97 962s ok 112 /regex/match-simple/98 962s ok 113 /regex/match-simple/99 962s ok 114 /regex/match-simple/100 962s ok 115 /regex/match-simple/101 962s ok 116 /regex/match-simple/102 962s ok 117 /regex/match-simple/103 962s ok 118 /regex/match-simple/104 962s ok 119 /regex/match-simple/105 962s ok 120 /regex/match-simple/106 962s ok 121 /regex/match-simple/107 962s ok 122 /regex/match-simple/108 962s ok 123 /regex/match-simple/109 962s ok 124 /regex/match-simple/110 962s ok 125 /regex/match-simple/111 962s ok 126 /regex/match-simple/112 962s ok 127 /regex/match-simple/113 962s ok 128 /regex/match-simple/114 962s ok 129 /regex/match-simple/115 962s ok 130 /regex/match-simple/116 962s ok 131 /regex/match-simple/117 962s ok 132 /regex/match-simple/118 962s ok 133 /regex/match-simple/119 962s ok 134 /regex/match-simple/120 962s ok 135 /regex/match-simple/121 962s ok 136 /regex/match-simple/122 962s ok 137 /regex/match-simple/123 962s ok 138 /regex/match-simple/124 962s ok 139 /regex/match-simple/125 962s ok 140 /regex/match-simple/126 962s ok 141 /regex/match-simple/127 962s ok 142 /regex/match-simple/128 962s ok 143 /regex/match-simple/129 962s ok 144 /regex/match-simple/130 962s ok 145 /regex/match-simple/131 962s ok 146 /regex/match-simple/132 962s ok 147 /regex/match-simple/133 962s ok 148 /regex/match-simple/134 962s ok 149 /regex/match-simple/135 962s ok 150 /regex/match-simple/136 962s ok 151 /regex/match-simple/137 962s ok 152 /regex/match-simple/138 962s ok 153 /regex/match-simple/139 962s ok 154 /regex/match-simple/140 962s ok 155 /regex/match-simple/141 962s ok 156 /regex/match-simple/142 962s ok 157 /regex/match-simple/143 962s ok 158 /regex/match-simple/144 962s ok 159 /regex/match-simple/145 962s ok 160 /regex/match-simple/146 962s ok 161 /regex/match-simple/147 962s ok 162 /regex/match-simple/148 962s ok 163 /regex/match-simple/149 962s ok 164 /regex/match-simple/150 962s ok 165 /regex/match-simple/151 962s ok 166 /regex/match-simple/152 962s ok 167 /regex/match-simple/153 962s ok 168 /regex/match-simple/154 962s ok 169 /regex/match-simple/155 962s ok 170 /regex/match-simple/156 962s ok 171 /regex/match-simple/157 962s ok 172 /regex/match-simple/158 962s ok 173 /regex/match-simple/159 962s ok 174 /regex/match-simple/160 962s ok 175 /regex/match-simple/161 962s ok 176 /regex/match-simple/162 962s ok 177 /regex/match-simple/163 962s ok 178 /regex/match-simple/164 962s # End of match-simple tests 962s # Start of match-simple-optimized tests 962s ok 179 /regex/match-simple-optimized/92 962s ok 180 /regex/match-simple-optimized/93 962s ok 181 /regex/match-simple-optimized/94 962s ok 182 /regex/match-simple-optimized/95 962s ok 183 /regex/match-simple-optimized/96 962s ok 184 /regex/match-simple-optimized/97 962s ok 185 /regex/match-simple-optimized/98 962s ok 186 /regex/match-simple-optimized/99 962s ok 187 /regex/match-simple-optimized/100 962s ok 188 /regex/match-simple-optimized/101 962s ok 189 /regex/match-simple-optimized/102 962s ok 190 /regex/match-simple-optimized/103 962s ok 191 /regex/match-simple-optimized/104 962s ok 192 /regex/match-simple-optimized/105 962s ok 193 /regex/match-simple-optimized/106 962s ok 194 /regex/match-simple-optimized/107 962s ok 195 /regex/match-simple-optimized/108 962s ok 196 /regex/match-simple-optimized/109 962s ok 197 /regex/match-simple-optimized/110 962s ok 198 /regex/match-simple-optimized/111 962s ok 199 /regex/match-simple-optimized/112 962s ok 200 /regex/match-simple-optimized/113 962s ok 201 /regex/match-simple-optimized/114 962s ok 202 /regex/match-simple-optimized/115 962s ok 203 /regex/match-simple-optimized/116 962s ok 204 /regex/match-simple-optimized/117 962s ok 205 /regex/match-simple-optimized/118 962s ok 206 /regex/match-simple-optimized/119 962s ok 207 /regex/match-simple-optimized/120 962s ok 208 /regex/match-simple-optimized/121 962s ok 209 /regex/match-simple-optimized/122 962s ok 210 /regex/match-simple-optimized/123 962s ok 211 /regex/match-simple-optimized/124 962s ok 212 /regex/match-simple-optimized/125 962s ok 213 /regex/match-simple-optimized/126 962s ok 214 /regex/match-simple-optimized/127 962s ok 215 /regex/match-simple-optimized/128 962s ok 216 /regex/match-simple-optimized/129 962s ok 217 /regex/match-simple-optimized/130 962s ok 218 /regex/match-simple-optimized/131 962s ok 219 /regex/match-simple-optimized/132 962s ok 220 /regex/match-simple-optimized/133 962s ok 221 /regex/match-simple-optimized/134 962s ok 222 /regex/match-simple-optimized/135 962s ok 223 /regex/match-simple-optimized/136 962s ok 224 /regex/match-simple-optimized/137 962s ok 225 /regex/match-simple-optimized/138 962s ok 226 /regex/match-simple-optimized/139 962s ok 227 /regex/match-simple-optimized/140 962s ok 228 /regex/match-simple-optimized/141 962s ok 229 /regex/match-simple-optimized/142 962s ok 230 /regex/match-simple-optimized/143 962s ok 231 /regex/match-simple-optimized/144 962s ok 232 /regex/match-simple-optimized/145 962s ok 233 /regex/match-simple-optimized/146 962s ok 234 /regex/match-simple-optimized/147 962s ok 235 /regex/match-simple-optimized/148 962s ok 236 /regex/match-simple-optimized/149 962s ok 237 /regex/match-simple-optimized/150 962s ok 238 /regex/match-simple-optimized/151 962s ok 239 /regex/match-simple-optimized/152 962s ok 240 /regex/match-simple-optimized/153 962s ok 241 /regex/match-simple-optimized/154 962s ok 242 /regex/match-simple-optimized/155 962s ok 243 /regex/match-simple-optimized/156 962s ok 244 /regex/match-simple-optimized/157 962s ok 245 /regex/match-simple-optimized/158 962s ok 246 /regex/match-simple-optimized/159 962s ok 247 /regex/match-simple-optimized/160 962s ok 248 /regex/match-simple-optimized/161 962s ok 249 /regex/match-simple-optimized/162 962s ok 250 /regex/match-simple-optimized/163 962s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 962s ok 251 /regex/match-simple-optimized/164 962s # End of match-simple-optimized tests 962s # Start of match tests 962s ok 252 /regex/match/165 962s ok 253 /regex/match/166 962s ok 254 /regex/match/167 962s ok 255 /regex/match/168 962s ok 256 /regex/match/169 962s ok 257 /regex/match/170 962s ok 258 /regex/match/171 962s ok 259 /regex/match/172 962s ok 260 /regex/match/173 962s ok 261 /regex/match/174 962s ok 262 /regex/match/175 962s ok 263 /regex/match/176 962s ok 264 /regex/match/177 962s ok 265 /regex/match/178 962s ok 266 /regex/match/179 962s ok 267 /regex/match/180 962s ok 268 /regex/match/181 962s ok 269 /regex/match/182 962s ok 270 /regex/match/183 962s ok 271 /regex/match/184 962s ok 272 /regex/match/185 962s ok 273 /regex/match/186 962s ok 274 /regex/match/187 962s ok 275 /regex/match/188 962s ok 276 /regex/match/189 962s ok 277 /regex/match/190 962s ok 278 /regex/match/191 962s ok 279 /regex/match/192 962s ok 280 /regex/match/193 962s ok 281 /regex/match/194 962s ok 282 /regex/match/195 962s ok 283 /regex/match/196 962s ok 284 /regex/match/197 962s ok 285 /regex/match/198 962s ok 286 /regex/match/199 962s ok 287 /regex/match/200 962s ok 288 /regex/match/201 962s ok 289 /regex/match/202 962s ok 290 /regex/match/203 962s ok 291 /regex/match/204 962s ok 292 /regex/match/205 962s ok 293 /regex/match/206 962s ok 294 /regex/match/207 962s ok 295 /regex/match/208 962s ok 296 /regex/match/209 962s ok 297 /regex/match/210 962s ok 298 /regex/match/211 962s ok 299 /regex/match/212 962s ok 300 /regex/match/213 962s ok 301 /regex/match/214 962s ok 302 /regex/match/215 962s ok 303 /regex/match/216 962s ok 304 /regex/match/217 962s ok 305 /regex/match/218 962s ok 306 /regex/match/219 962s ok 307 /regex/match/220 962s ok 308 /regex/match/221 962s ok 309 /regex/match/222 962s ok 310 /regex/match/223 962s ok 311 /regex/match/224 962s ok 312 /regex/match/225 962s ok 313 /regex/match/226 962s ok 314 /regex/match/227 962s ok 315 /regex/match/228 962s ok 316 /regex/match/229 962s ok 317 /regex/match/230 962s ok 318 /regex/match/231 962s ok 319 /regex/match/232 962s ok 320 /regex/match/233 962s ok 321 /regex/match/234 962s ok 322 /regex/match/235 962s ok 323 /regex/match/236 962s ok 324 /regex/match/237 962s ok 325 /regex/match/238 962s ok 326 /regex/match/239 962s ok 327 /regex/match/240 962s ok 328 /regex/match/241 962s ok 329 /regex/match/242 962s ok 330 /regex/match/243 962s ok 331 /regex/match/244 962s ok 332 /regex/match/245 962s ok 333 /regex/match/246 962s ok 334 /regex/match/partial281 962s ok 335 /regex/match/partial282 962s ok 336 /regex/match/partial283 962s ok 337 /regex/match/partial284 962s ok 338 /regex/match/partial285 962s ok 339 /regex/match/partial286 962s ok 340 /regex/match/partial287 962s ok 341 /regex/match/partial288 962s ok 342 /regex/match/partial289 962s ok 343 /regex/match/partial290 962s ok 344 /regex/match/partial291 962s ok 345 /regex/match/partial292 962s ok 346 /regex/match/partial293 962s ok 347 /regex/match/partial294 962s ok 348 /regex/match/partial295 962s ok 349 /regex/match/partial296 962s ok 350 /regex/match/partial297 962s ok 351 /regex/match/partial298 962s ok 352 /regex/match/partial299 962s ok 353 /regex/match/partial300 962s ok 354 /regex/match/partial301 962s ok 355 /regex/match/partial302 962s # Start of next0 tests 962s ok 356 /regex/match/next0/247 962s ok 357 /regex/match/next0/248 962s ok 358 /regex/match/next0/249 962s ok 359 /regex/match/next0/250 962s # End of next0 tests 962s # Start of next1 tests 962s ok 360 /regex/match/next1/251 962s ok 361 /regex/match/next1/252 962s ok 362 /regex/match/next1/253 962s ok 363 /regex/match/next1/254 962s ok 364 /regex/match/next1/255 962s # End of next1 tests 962s # Start of next2 tests 962s ok 365 /regex/match/next2/256 962s ok 366 /regex/match/next2/257 962s ok 367 /regex/match/next2/258 962s ok 368 /regex/match/next2/259 962s ok 369 /regex/match/next2/260 962s ok 370 /regex/match/next2/261 962s ok 371 /regex/match/next2/262 962s ok 372 /regex/match/next2/263 962s # End of next2 tests 962s # Start of next3 tests 962s ok 373 /regex/match/next3/264 962s ok 374 /regex/match/next3/265 962s ok 375 /regex/match/next3/266 962s ok 376 /regex/match/next3/267 962s ok 377 /regex/match/next3/268 962s ok 378 /regex/match/next3/269 962s # End of next3 tests 962s # Start of next4 tests 962s ok 379 /regex/match/next4/270 962s # End of next4 tests 962s # Start of count tests 962s ok 380 /regex/match/count/271 962s ok 381 /regex/match/count/272 962s ok 382 /regex/match/count/273 962s ok 383 /regex/match/count/274 962s ok 384 /regex/match/count/275 962s ok 385 /regex/match/count/276 962s ok 386 /regex/match/count/277 962s ok 387 /regex/match/count/278 962s ok 388 /regex/match/count/279 962s ok 389 /regex/match/count/280 962s # End of count tests 962s # Start of count-optimized tests 962s ok 390 /regex/match/count-optimized/271 962s ok 391 /regex/match/count-optimized/272 962s ok 392 /regex/match/count-optimized/273 962s ok 393 /regex/match/count-optimized/274 962s ok 394 /regex/match/count-optimized/275 962s ok 395 /regex/match/count-optimized/276 962s ok 396 /regex/match/count-optimized/277 962s ok 397 /regex/match/count-optimized/278 962s ok 398 /regex/match/count-optimized/279 962s ok 399 /regex/match/count-optimized/280 962s # End of count-optimized tests 962s # Start of partial-optimized tests 962s ok 400 /regex/match/partial-optimized/281 962s ok 401 /regex/match/partial-optimized/282 962s ok 402 /regex/match/partial-optimized/283 962s ok 403 /regex/match/partial-optimized/284 962s ok 404 /regex/match/partial-optimized/285 962s ok 405 /regex/match/partial-optimized/286 962s ok 406 /regex/match/partial-optimized/287 962s ok 407 /regex/match/partial-optimized/288 962s ok 408 /regex/match/partial-optimized/289 962s ok 409 /regex/match/partial-optimized/290 962s ok 410 /regex/match/partial-optimized/291 962s ok 411 /regex/match/partial-optimized/292 962s ok 412 /regex/match/partial-optimized/293 962s ok 413 /regex/match/partial-optimized/294 962s ok 414 /regex/match/partial-optimized/295 962s ok 415 /regex/match/partial-optimized/296 962s ok 416 /regex/match/partial-optimized/297 962s ok 417 /regex/match/partial-optimized/298 962s ok 418 /regex/match/partial-optimized/299 962s ok 419 /regex/match/partial-optimized/300 962s ok 420 /regex/match/partial-optimized/301 962s ok 421 /regex/match/partial-optimized/302 962s # End of partial-optimized tests 962s # Start of subpattern tests 962s ok 422 /regex/match/subpattern/303 962s ok 423 /regex/match/subpattern/304 962s ok 424 /regex/match/subpattern/305 962s ok 425 /regex/match/subpattern/306 962s ok 426 /regex/match/subpattern/307 962s ok 427 /regex/match/subpattern/308 962s ok 428 /regex/match/subpattern/309 962s ok 429 /regex/match/subpattern/310 962s ok 430 /regex/match/subpattern/311 962s ok 431 /regex/match/subpattern/312 962s ok 432 /regex/match/subpattern/313 962s ok 433 /regex/match/subpattern/314 962s ok 434 /regex/match/subpattern/315 962s # Start of named tests 962s # Start of dupnames tests 962s ok 435 /regex/match/subpattern/named/dupnames/325 962s ok 436 /regex/match/subpattern/named/dupnames/326 962s ok 437 /regex/match/subpattern/named/dupnames/327 962s ok 438 /regex/match/subpattern/named/dupnames/328 962s ok 439 /regex/match/subpattern/named/dupnames/329 962s # End of dupnames tests 962s # End of named tests 962s # End of subpattern tests 962s # Start of subpattern-optimized tests 962s ok 440 /regex/match/subpattern-optimized/303 962s ok 441 /regex/match/subpattern-optimized/304 962s ok 442 /regex/match/subpattern-optimized/305 962s ok 443 /regex/match/subpattern-optimized/306 962s ok 444 /regex/match/subpattern-optimized/307 962s ok 445 /regex/match/subpattern-optimized/308 962s ok 446 /regex/match/subpattern-optimized/309 962s ok 447 /regex/match/subpattern-optimized/310 962s ok 448 /regex/match/subpattern-optimized/311 962s ok 449 /regex/match/subpattern-optimized/312 962s ok 450 /regex/match/subpattern-optimized/313 962s ok 451 /regex/match/subpattern-optimized/314 962s ok 452 /regex/match/subpattern-optimized/315 962s # End of subpattern-optimized tests 962s # Start of named tests 962s # Start of subpattern tests 962s ok 453 /regex/match/named/subpattern/316 962s ok 454 /regex/match/named/subpattern/317 962s ok 455 /regex/match/named/subpattern/318 962s ok 456 /regex/match/named/subpattern/319 962s ok 457 /regex/match/named/subpattern/320 962s ok 458 /regex/match/named/subpattern/321 962s ok 459 /regex/match/named/subpattern/322 962s ok 460 /regex/match/named/subpattern/323 962s ok 461 /regex/match/named/subpattern/324 962s ok 462 /regex/match/named/subpattern/330 962s ok 463 /regex/match/named/subpattern/331 962s ok 464 /regex/match/named/subpattern/332 962s ok 465 /regex/match/named/subpattern/333 962s ok 466 /regex/match/named/subpattern/334 962s # End of subpattern tests 962s # End of named tests 962s # End of match tests 962s # Start of match-optimized tests 962s ok 467 /regex/match-optimized/165 962s ok 468 /regex/match-optimized/166 962s ok 469 /regex/match-optimized/167 962s ok 470 /regex/match-optimized/168 962s ok 471 /regex/match-optimized/169 962s ok 472 /regex/match-optimized/170 962s ok 473 /regex/match-optimized/171 962s ok 474 /regex/match-optimized/172 962s ok 475 /regex/match-optimized/173 962s ok 476 /regex/match-optimized/174 962s ok 477 /regex/match-optimized/175 962s ok 478 /regex/match-optimized/176 962s ok 479 /regex/match-optimized/177 962s ok 480 /regex/match-optimized/178 962s ok 481 /regex/match-optimized/179 962s ok 482 /regex/match-optimized/180 962s ok 483 /regex/match-optimized/181 962s ok 484 /regex/match-optimized/182 962s ok 485 /regex/match-optimized/183 962s ok 486 /regex/match-optimized/184 962s ok 487 /regex/match-optimized/185 962s ok 488 /regex/match-optimized/186 962s ok 489 /regex/match-optimized/187 962s ok 490 /regex/match-optimized/188 962s ok 491 /regex/match-optimized/189 962s ok 492 /regex/match-optimized/190 962s ok 493 /regex/match-optimized/191 962s ok 494 /regex/match-optimized/192 962s ok 495 /regex/match-optimized/193 962s ok 496 /regex/match-optimized/194 962s ok 497 /regex/match-optimized/195 962s ok 498 /regex/match-optimized/196 962s ok 499 /regex/match-optimized/197 962s ok 500 /regex/match-optimized/198 962s ok 501 /regex/match-optimized/199 962s ok 502 /regex/match-optimized/200 962s ok 503 /regex/match-optimized/201 962s ok 504 /regex/match-optimized/202 962s ok 505 /regex/match-optimized/203 962s ok 506 /regex/match-optimized/204 962s ok 507 /regex/match-optimized/205 962s ok 508 /regex/match-optimized/206 962s ok 509 /regex/match-optimized/207 962s ok 510 /regex/match-optimized/208 962s ok 511 /regex/match-optimized/209 962s ok 512 /regex/match-optimized/210 962s ok 513 /regex/match-optimized/211 962s ok 514 /regex/match-optimized/212 962s ok 515 /regex/match-optimized/213 962s ok 516 /regex/match-optimized/214 962s ok 517 /regex/match-optimized/215 962s ok 518 /regex/match-optimized/216 962s ok 519 /regex/match-optimized/217 962s ok 520 /regex/match-optimized/218 962s ok 521 /regex/match-optimized/219 962s ok 522 /regex/match-optimized/220 962s ok 523 /regex/match-optimized/221 962s ok 524 /regex/match-optimized/222 962s ok 525 /regex/match-optimized/223 962s ok 526 /regex/match-optimized/224 962s ok 527 /regex/match-optimized/225 962s ok 528 /regex/match-optimized/226 962s ok 529 /regex/match-optimized/227 962s ok 530 /regex/match-optimized/228 962s ok 531 /regex/match-optimized/229 962s ok 532 /regex/match-optimized/230 962s ok 533 /regex/match-optimized/231 962s ok 534 /regex/match-optimized/232 962s ok 535 /regex/match-optimized/233 962s ok 536 /regex/match-optimized/234 962s ok 537 /regex/match-optimized/235 962s ok 538 /regex/match-optimized/236 962s ok 539 /regex/match-optimized/237 962s ok 540 /regex/match-optimized/238 962s ok 541 /regex/match-optimized/239 962s ok 542 /regex/match-optimized/240 962s ok 543 /regex/match-optimized/241 962s ok 544 /regex/match-optimized/242 962s ok 545 /regex/match-optimized/243 962s ok 546 /regex/match-optimized/244 962s ok 547 /regex/match-optimized/245 962s ok 548 /regex/match-optimized/246 962s # End of match-optimized tests 962s # Start of fetch-all0 tests 962s ok 549 /regex/fetch-all0/335 962s ok 550 /regex/fetch-all0/336 962s # End of fetch-all0 tests 962s # Start of fetch-all1 tests 962s ok 551 /regex/fetch-all1/337 962s ok 552 /regex/fetch-all1/338 962s ok 553 /regex/fetch-all1/339 962s # End of fetch-all1 tests 962s # Start of fetch-all2 tests 962s ok 554 /regex/fetch-all2/340 962s ok 555 /regex/fetch-all2/341 962s ok 556 /regex/fetch-all2/342 962s # End of fetch-all2 tests 962s # Start of fetch-all3 tests 962s ok 557 /regex/fetch-all3/343 962s ok 558 /regex/fetch-all3/344 962s ok 559 /regex/fetch-all3/345 962s ok 560 /regex/fetch-all3/346 962s ok 561 /regex/fetch-all3/347 962s # End of fetch-all3 tests 962s # Start of split tests 962s # Start of simple0 tests 962s ok 562 /regex/split/simple0/348 962s ok 563 /regex/split/simple0/349 962s ok 564 /regex/split/simple0/364 962s ok 565 /regex/split/simple0/365 962s # End of simple0 tests 962s # Start of simple1 tests 962s ok 566 /regex/split/simple1/350 962s ok 567 /regex/split/simple1/351 962s # End of simple1 tests 962s # Start of simple2 tests 962s ok 568 /regex/split/simple2/352 962s ok 569 /regex/split/simple2/358 962s ok 570 /regex/split/simple2/360 962s # End of simple2 tests 962s # Start of simple3 tests 962s ok 571 /regex/split/simple3/353 962s ok 572 /regex/split/simple3/354 962s ok 573 /regex/split/simple3/355 962s ok 574 /regex/split/simple3/356 962s ok 575 /regex/split/simple3/357 962s ok 576 /regex/split/simple3/359 962s ok 577 /regex/split/simple3/361 962s ok 578 /regex/split/simple3/362 962s ok 579 /regex/split/simple3/363 962s # End of simple3 tests 962s # End of split tests 962s # Start of split0 tests 962s ok 580 /regex/split0/366 962s ok 581 /regex/split0/368 962s # End of split0 tests 962s # Start of full-split0 tests 962s ok 582 /regex/full-split0/367 962s ok 583 /regex/full-split0/369 962s ok 584 /regex/full-split0/370 962s ok 585 /regex/full-split0/371 962s ok 586 /regex/full-split0/372 962s # End of full-split0 tests 962s # Start of split1 tests 962s ok 587 /regex/split1/373 962s ok 588 /regex/split1/376 962s # End of split1 tests 962s # Start of full-split1 tests 962s ok 589 /regex/full-split1/374 962s ok 590 /regex/full-split1/375 962s ok 591 /regex/full-split1/377 962s ok 592 /regex/full-split1/378 962s ok 593 /regex/full-split1/404 962s # End of full-split1 tests 962s # Start of split2 tests 962s ok 594 /regex/split2/379 962s ok 595 /regex/split2/383 962s ok 596 /regex/split2/395 962s # End of split2 tests 962s # Start of full-split2 tests 962s ok 597 /regex/full-split2/380 962s ok 598 /regex/full-split2/381 962s ok 599 /regex/full-split2/382 962s ok 600 /regex/full-split2/384 962s ok 601 /regex/full-split2/396 962s ok 602 /regex/full-split2/399 962s ok 603 /regex/full-split2/405 962s # End of full-split2 tests 962s # Start of split3 tests 962s ok 604 /regex/split3/385 962s ok 605 /regex/split3/387 962s ok 606 /regex/split3/389 962s ok 607 /regex/split3/391 962s ok 608 /regex/split3/393 962s ok 609 /regex/split3/397 962s ok 610 /regex/split3/400 962s ok 611 /regex/split3/402 962s # End of split3 tests 962s # Start of full-split3 tests 962s ok 612 /regex/full-split3/386 962s ok 613 /regex/full-split3/388 962s ok 614 /regex/full-split3/390 962s ok 615 /regex/full-split3/392 962s ok 616 /regex/full-split3/394 962s ok 617 /regex/full-split3/398 962s ok 618 /regex/full-split3/401 962s ok 619 /regex/full-split3/403 962s ok 620 /regex/full-split3/406 962s ok 621 /regex/full-split3/407 962s # End of full-split3 tests 962s # Start of check-repacement tests 962s ok 622 /regex/check-repacement/408 962s ok 623 /regex/check-repacement/409 962s ok 624 /regex/check-repacement/410 962s ok 625 /regex/check-repacement/411 962s ok 626 /regex/check-repacement/412 962s ok 627 /regex/check-repacement/413 962s ok 628 /regex/check-repacement/414 962s ok 629 /regex/check-repacement/415 962s # End of check-repacement tests 962s # Start of expand tests 962s ok 630 /regex/expand/416 962s ok 631 /regex/expand/417 962s ok 632 /regex/expand/418 962s ok 633 /regex/expand/419 962s ok 634 /regex/expand/420 962s ok 635 /regex/expand/421 962s ok 636 /regex/expand/422 962s ok 637 /regex/expand/423 962s ok 638 /regex/expand/424 962s ok 639 /regex/expand/425 962s ok 640 /regex/expand/426 962s ok 641 /regex/expand/427 962s ok 642 /regex/expand/428 962s ok 643 /regex/expand/429 962s ok 644 /regex/expand/430 962s ok 645 /regex/expand/431 962s ok 646 /regex/expand/432 962s ok 647 /regex/expand/433 962s ok 648 /regex/expand/434 962s ok 649 /regex/expand/435 962s ok 650 /regex/expand/436 962s ok 651 /regex/expand/437 962s ok 652 /regex/expand/438 962s ok 653 /regex/expand/439 962s ok 654 /regex/expand/440 962s ok 655 /regex/expand/441 962s ok 656 /regex/expand/442 962s ok 657 /regex/expand/443 962s ok 658 /regex/expand/444 962s ok 659 /regex/expand/445 962s ok 660 /regex/expand/446 962s ok 661 /regex/expand/447 962s ok 662 /regex/expand/448 962s ok 663 /regex/expand/449 962s ok 664 /regex/expand/450 962s ok 665 /regex/expand/451 962s ok 666 /regex/expand/452 962s ok 667 /regex/expand/453 962s ok 668 /regex/expand/454 962s ok 669 /regex/expand/455 962s ok 670 /regex/expand/456 962s ok 671 /regex/expand/457 962s ok 672 /regex/expand/458 962s ok 673 /regex/expand/459 962s ok 674 /regex/expand/460 962s ok 675 /regex/expand/461 962s ok 676 /regex/expand/462 962s ok 677 /regex/expand/463 962s ok 678 /regex/expand/464 962s ok 679 /regex/expand/465 962s ok 680 /regex/expand/466 962s ok 681 /regex/expand/467 962s ok 682 /regex/expand/468 962s ok 683 /regex/expand/469 962s ok 684 /regex/expand/470 962s ok 685 /regex/expand/471 962s ok 686 /regex/expand/472 962s ok 687 /regex/expand/473 962s ok 688 /regex/expand/474 962s ok 689 /regex/expand/475 962s ok 690 /regex/expand/476 962s ok 691 /regex/expand/477 962s ok 692 /regex/expand/478 962s ok 693 /regex/expand/479 962s ok 694 /regex/expand/480 962s ok 695 /regex/expand/481 962s # End of expand tests 962s # Start of replace tests 962s ok 696 /regex/replace/482 962s ok 697 /regex/replace/483 962s ok 698 /regex/replace/484 962s ok 699 /regex/replace/485 962s ok 700 /regex/replace/486 962s ok 701 /regex/replace/487 962s ok 702 /regex/replace/488 962s ok 703 /regex/replace/489 962s ok 704 /regex/replace/490 962s ok 705 /regex/replace/491 962s ok 706 /regex/replace/492 962s ok 707 /regex/replace/493 962s ok 708 /regex/replace/494 962s ok 709 /regex/replace/495 962s ok 710 /regex/replace/496 962s ok 711 /regex/replace/497 962s ok 712 /regex/replace/498 962s ok 713 /regex/replace/499 962s ok 714 /regex/replace/500 962s ok 715 /regex/replace/501 962s ok 716 /regex/replace/502 962s ok 717 /regex/replace/503 962s ok 718 /regex/replace/504 962s ok 719 /regex/replace/505 962s ok 720 /regex/replace/506 962s ok 721 /regex/replace/507 962s ok 722 /regex/replace/508 962s ok 723 /regex/replace/509 962s # End of replace tests 962s # Start of replace-optimized tests 962s ok 724 /regex/replace-optimized/482 962s ok 725 /regex/replace-optimized/483 962s ok 726 /regex/replace-optimized/484 962s ok 727 /regex/replace-optimized/485 962s ok 728 /regex/replace-optimized/486 962s ok 729 /regex/replace-optimized/487 962s ok 730 /regex/replace-optimized/488 962s ok 731 /regex/replace-optimized/489 962s ok 732 /regex/replace-optimized/490 962s ok 733 /regex/replace-optimized/491 962s ok 734 /regex/replace-optimized/492 962s ok 735 /regex/replace-optimized/493 962s ok 736 /regex/replace-optimized/494 962s ok 737 /regex/replace-optimized/495 962s ok 738 /regex/replace-optimized/496 962s ok 739 /regex/replace-optimized/497 962s ok 740 /regex/replace-optimized/498 962s ok 741 /regex/replace-optimized/499 962s ok 742 /regex/replace-optimized/500 962s ok 743 /regex/replace-optimized/501 962s ok 744 /regex/replace-optimized/502 962s ok 745 /regex/replace-optimized/503 962s ok 746 /regex/replace-optimized/504 962s ok 747 /regex/replace-optimized/505 962s ok 748 /regex/replace-optimized/506 962s ok 749 /regex/replace-optimized/507 962s ok 750 /regex/replace-optimized/508 962s ok 751 /regex/replace-optimized/509 962s # End of replace-optimized tests 962s # Start of replace-literally tests 962s ok 752 /regex/replace-literally/510 962s ok 753 /regex/replace-literally/511 962s ok 754 /regex/replace-literally/512 962s ok 755 /regex/replace-literally/513 962s ok 756 /regex/replace-literally/514 962s ok 757 /regex/replace-literally/515 962s ok 758 /regex/replace-literally/516 962s ok 759 /regex/replace-literally/517 962s ok 760 /regex/replace-literally/518 962s ok 761 /regex/replace-literally/519 962s ok 762 /regex/replace-literally/520 962s ok 763 /regex/replace-literally/521 962s ok 764 /regex/replace-literally/522 962s ok 765 /regex/replace-literally/523 962s ok 766 /regex/replace-literally/524 962s ok 767 /regex/replace-literally/525 962s ok 768 /regex/replace-literally/526 962s ok 769 /regex/replace-literally/527 962s ok 770 /regex/replace-literally/528 962s ok 771 /regex/replace-literally/529 962s # End of replace-literally tests 962s # Start of string-number tests 962s ok 772 /regex/string-number/530 962s ok 773 /regex/string-number/531 962s ok 774 /regex/string-number/532 962s ok 775 /regex/string-number/533 962s ok 776 /regex/string-number/534 962s ok 777 /regex/string-number/535 962s ok 778 /regex/string-number/536 962s ok 779 /regex/string-number/537 962s ok 780 /regex/string-number/538 962s ok 781 /regex/string-number/539 962s ok 782 /regex/string-number/540 962s ok 783 /regex/string-number/541 962s ok 784 /regex/string-number/542 962s ok 785 /regex/string-number/543 962s ok 786 /regex/string-number/544 962s # End of string-number tests 962s # Start of escape_nul tests 962s ok 787 /regex/escape_nul/545 962s ok 788 /regex/escape_nul/546 962s ok 789 /regex/escape_nul/547 962s ok 790 /regex/escape_nul/548 962s ok 791 /regex/escape_nul/549 962s ok 792 /regex/escape_nul/550 962s ok 793 /regex/escape_nul/551 962s ok 794 /regex/escape_nul/552 962s ok 795 /regex/escape_nul/553 962s ok 796 /regex/escape_nul/554 962s ok 797 /regex/escape_nul/555 962s ok 798 /regex/escape_nul/556 962s ok 799 /regex/escape_nul/557 962s ok 800 /regex/escape_nul/558 962s ok 801 /regex/escape_nul/559 962s # End of escape_nul tests 962s # Start of escape tests 962s ok 802 /regex/escape/560 962s ok 803 /regex/escape/561 962s ok 804 /regex/escape/562 962s ok 805 /regex/escape/563 962s ok 806 /regex/escape/564 962s ok 807 /regex/escape/565 962s ok 808 /regex/escape/566 962s ok 809 /regex/escape/567 962s ok 810 /regex/escape/568 962s ok 811 /regex/escape/569 962s ok 812 /regex/escape/570 962s ok 813 /regex/escape/571 962s ok 814 /regex/escape/572 962s ok 815 /regex/escape/573 962s ok 816 /regex/escape/574 962s ok 817 /regex/escape/575 962s ok 818 /regex/escape/576 962s ok 819 /regex/escape/577 962s # End of escape tests 962s # Start of match-all0 tests 962s ok 820 /regex/match-all0/578 962s ok 821 /regex/match-all0/580 962s # End of match-all0 tests 962s # Start of match-all-full0 tests 962s ok 822 /regex/match-all-full0/579 962s ok 823 /regex/match-all-full0/581 962s ok 824 /regex/match-all-full0/582 962s ok 825 /regex/match-all-full0/583 962s # End of match-all-full0 tests 962s # Start of match-all1 tests 962s ok 826 /regex/match-all1/584 962s ok 827 /regex/match-all1/586 962s ok 828 /regex/match-all1/591 962s # End of match-all1 tests 962s # Start of match-all-full1 tests 962s ok 829 /regex/match-all-full1/585 962s ok 830 /regex/match-all-full1/587 962s ok 831 /regex/match-all-full1/588 962s ok 832 /regex/match-all-full1/589 962s ok 833 /regex/match-all-full1/590 962s ok 834 /regex/match-all-full1/592 962s # End of match-all-full1 tests 962s # Start of match-all2 tests 962s ok 835 /regex/match-all2/593 962s ok 836 /regex/match-all2/595 962s ok 837 /regex/match-all2/597 962s # End of match-all2 tests 962s # Start of match-all-full2 tests 962s ok 838 /regex/match-all-full2/594 962s ok 839 /regex/match-all-full2/596 962s ok 840 /regex/match-all-full2/598 962s # End of match-all-full2 tests 962s # Start of match-all3 tests 962s ok 841 /regex/match-all3/599 962s ok 842 /regex/match-all3/601 962s # End of match-all3 tests 962s # Start of match-all-full3 tests 962s ok 843 /regex/match-all-full3/600 962s ok 844 /regex/match-all-full3/602 962s # End of match-all-full3 tests 962s # Start of match-notempty tests 962s ok 845 /regex/match-notempty/603 962s # End of match-notempty tests 962s # Start of match-notempty-optimized tests 962s ok 846 /regex/match-notempty-optimized/603 962s # End of match-notempty-optimized tests 962s # Start of match-notempty-atstart tests 962s ok 847 /regex/match-notempty-atstart/604 962s # End of match-notempty-atstart tests 962s # Start of match-notempty-atstart-optimized tests 962s ok 848 /regex/match-notempty-atstart-optimized/604 962s # End of match-notempty-atstart-optimized tests 962s # End of regex tests 962s TAP version 14 962s # random seed: R02S303e59485979938a2ec466c65b85ff59 962s 1..1 962s # Start of portal-support tests 962s # Start of flatpak tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/config 962s ok - glib/regex.test 962s # Running test: glib/portal-support-flatpak-none.test 962s ok - glib/portal-support-flatpak-none.test 962s # Running test: glib/utils-c-11.test 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/runtime 962s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_7GNG02/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 962s ok 1 /portal-support/flatpak/none 962s # End of flatpak tests 962s # End of portal-support tests 962s TAP version 14 962s # random seed: R02Scb1a783bbb78d167d58b9da78baa655e 962s 1..40 962s # Start of utils tests 962s ok 1 /utils/language-names 962s ok 2 /utils/locale-variants 962s ok 3 /utils/version 962s ok 4 /utils/appname 962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 962s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 962s ok 5 /utils/prgname-thread-safety 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 962s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 962s ok 6 /utils/tmpdir 962s ok 7 /utils/basic_bits 962s ok 8 /utils/bits 962s ok 9 /utils/swap 962s ok 10 /utils/find-program 962s ok 11 /utils/find-program-for-path 962s ok 12 /utils/debug 962s ok 13 /utils/codeset 962s ok 14 /utils/codeset2 962s ok 15 /utils/console-charset 962s ok 16 /utils/gettext 962s ok 17 /utils/username 962s ok 18 /utils/realname 962s ok 19 /utils/hostname 962s ok 20 /utils/xdgdirs 962s ok 21 /utils/specialdir 962s # NAME: Ubuntu 962s ok 22 /utils/os-info 962s ok 23 /utils/clear-pointer 962s ok 24 /utils/clear-pointer-cast 962s ok 25 /utils/take-pointer 962s ok 26 /utils/clear-source 962s ok 27 /utils/misc-mem 962s # /utils/aligned-mem summary: Aligned memory allocator 962s # Alignment must not be zero 962s # Alignment must be a power of two 962s # Alignment must be a multiple of sizeof(void*) 962s ok 28 /utils/aligned-mem 962s # /utils/free-sized summary: Check that g_free_sized() works 962s ok 29 /utils/free-sized 962s ok 30 /utils/nullify 962s ok 31 /utils/atexit 962s ok 32 /utils/check-setuid 962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 962s ok 33 /utils/int-limits 962s ok 34 /utils/clear-list 962s ok 35 /utils/clear-slist 962s # Start of specialdir tests 962s ok 36 /utils/specialdir/desktop 962s # End of specialdir tests 962s # Start of clear-pointer tests 962s ok 37 /utils/clear-pointer/side-effects 962s # End of clear-pointer tests 962s # Start of aligned-mem tests 962s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 962s ok 38 /utils/aligned-mem/alignment 962s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 962s ok 39 /utils/aligned-mem/zeroed 962s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 962s ok 40 /utils/aligned-mem/free-sized 962s # Start of subprocess tests 962s # End of subprocess tests 962s # End of aligned-mem tests 962s # End of utils tests 962s ok - glib/utils-c-11.test 962s # Running test: glib/gdbus-bz627724.test 962s TAP version 14 962s # random seed: R02S21c913d4288658fc3f99291e6d38c66d 962s 1..1 962s # Start of gdbus tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_UD8H02/gdbus/bz627724/.dirs/runtime 962s ok - glib/gdbus-bz627724.test 962s # Running test: glib/keyfile.test 962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 962s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 962s ok 1 /gdbus/bz627724 962s # End of gdbus tests 962s TAP version 14 962s # random seed: R02S61bfb764683f11c988861b6742f7f82d 962s 1..36 962s # Start of keyfile tests 962s ok 1 /keyfile/line-ends 962s ok 2 /keyfile/whitespace 962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 962s ok 3 /keyfile/comments 962s ok 4 /keyfile/listing 962s ok - glib/keyfile.test 962s ok 5 /keyfile/string 962s ok 6 /keyfile/boolean 962s ok 7 /keyfile/number 962s ok 8 /keyfile/locale-string 962s ok 9 /keyfile/lists 962s ok 10 /keyfile/lists-set-get 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 962s ok 11 /keyfile/group-remove 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 962s ok 12 /keyfile/key-remove 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 962s ok 13 /keyfile/groups 962s ok 14 /keyfile/duplicate-keys 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 962s ok 15 /keyfile/duplicate-groups 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 962s ok 16 /keyfile/duplicate-groups2 962s ok 17 /keyfile/group-names 962s ok 18 /keyfile/key-names 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 962s ok 19 /keyfile/reload 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 962s ok 20 /keyfile/int64 962s ok 21 /keyfile/load 962s ok 22 /keyfile/save 962s ok 23 /keyfile/load-fail 962s ok 24 /keyfile/non-utf8 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 962s ok 25 /keyfile/page-boundary 962s ok 26 /keyfile/ref 962s ok 27 /keyfile/replace-value 962s ok 28 /keyfile/list-separator 962s ok 29 /keyfile/empty-string 962s ok 30 /keyfile/limbo 962s # Testing invalid encoding ?non-UTF-8? 962s # Testing invalid encoding ?UTF? 962s # Testing invalid encoding ?UTF-9? 962s ok 31 /keyfile/utf8 962s ok 32 /keyfile/roundtrip 962s ok 33 /keyfile/bytes 962s ok 34 /keyfile/get-locale 962s ok 35 /keyfile/free-when-not-last-ref 962s # Start of locale-string tests 962s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 962s ok 36 /keyfile/locale-string/multiple-loads 962s # End of locale-string tests 962s # End of keyfile tests 962s # Running test: glib/io-channel-basic.test 962s TAP version 14 962s # random seed: R02Sfafe41c50582c6386aa2345883a548d4 962s 1..1 962s # Start of gio tests 962s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 962s # random seed: R02S55a254c67dfd76de297fd854c1b0c7ee 962s # GLib-DEBUG: io-channel-basic: child writing 8+879 bytes to 6 962s # GLib-DEBUG: io-channel-basic: ...from 5: IN 962s # GLib-DEBUG: io-channel-basic: ...from 5: 879 bytes 962s # GLib-DEBUG: io-channel-basic: ...from 5: OK 962s # GLib-DEBUG: io-channel-basic: child writing 8+3970 bytes to 6 962s # GLib-DEBUG: io-channel-basic: ...from 5: IN 962s # GLib-DEBUG: io-channel-basic: ...from 5: 3970 bytes 962s # GLib-DEBUG: io-channel-basic: ...from 5: OK 962s # GLib-DEBUG: io-channel-basic: child writing 8+782 bytes to 6 962s # GLib-DEBUG: io-channel-basic: ...from 5: IN 962s # GLib-DEBUG: io-channel-basic: ...from 5: 782 bytes 962s # GLib-DEBUG: io-channel-basic: ...from 5: OK 963s # GLib-DEBUG: io-channel-basic: child writing 8+2848 bytes to 6 963s # GLib-DEBUG: io-channel-basic: ...from 5: IN 963s # GLib-DEBUG: io-channel-basic: ...from 5: 2848 bytes 963s # GLib-DEBUG: io-channel-basic: ...from 5: OK 963s # Executing: glib/io-channel-basic.test 963s # GLib-DEBUG: io-channel-basic: child writing 8+3983 bytes to 6 963s # GLib-DEBUG: io-channel-basic: ...from 5: IN 963s # GLib-DEBUG: io-channel-basic: ...from 5: 3983 bytes 963s # GLib-DEBUG: io-channel-basic: ...from 5: OK 963s # GLib-DEBUG: io-channel-basic: child writing 8+4817 bytes to 6 963s # GLib-DEBUG: io-channel-basic: ...from 5: IN 963s # GLib-DEBUG: io-channel-basic: ...from 5: 4817 bytes 963s # GLib-DEBUG: io-channel-basic: ...from 5: OK 964s # GLib-DEBUG: io-channel-basic: child writing 8+50 bytes to 6 964s # GLib-DEBUG: io-channel-basic: ...from 5: IN 964s # GLib-DEBUG: io-channel-basic: ...from 5: 50 bytes 964s # GLib-DEBUG: io-channel-basic: ...from 5: OK 964s # GLib-DEBUG: io-channel-basic: child writing 8+1836 bytes to 6 964s # GLib-DEBUG: io-channel-basic: ...from 5: IN 964s # GLib-DEBUG: io-channel-basic: ...from 5: 1836 bytes 964s # GLib-DEBUG: io-channel-basic: ...from 5: OK 964s # GLib-DEBUG: io-channel-basic: child writing 8+4757 bytes to 6 964s # GLib-DEBUG: io-channel-basic: ...from 5: IN 964s # GLib-DEBUG: io-channel-basic: ...from 5: 4757 bytes 964s # GLib-DEBUG: io-channel-basic: ...from 5: OK 964s # GLib-DEBUG: io-channel-basic: child writing 8+1390 bytes to 6 964s # GLib-DEBUG: io-channel-basic: ...from 5: IN 964s # GLib-DEBUG: io-channel-basic: ...from 5: 1390 bytes 964s # GLib-DEBUG: io-channel-basic: ...from 5: OK 965s # GLib-DEBUG: io-channel-basic: child writing 8+4242 bytes to 6 965s # GLib-DEBUG: io-channel-basic: ...from 5: IN 965s # GLib-DEBUG: io-channel-basic: ...from 5: 4242 bytes 965s # GLib-DEBUG: io-channel-basic: ...from 5: OK 965s # GLib-DEBUG: io-channel-basic: child writing 8+3432 bytes to 6 965s # GLib-DEBUG: io-channel-basic: ...from 5: IN 965s # GLib-DEBUG: io-channel-basic: ...from 5: 3432 bytes 965s # GLib-DEBUG: io-channel-basic: ...from 5: OK 965s # GLib-DEBUG: io-channel-basic: child writing 8+1745 bytes to 6 965s # GLib-DEBUG: io-channel-basic: ...from 5: IN 965s # GLib-DEBUG: io-channel-basic: ...from 5: 1745 bytes 965s # GLib-DEBUG: io-channel-basic: ...from 5: OK 965s # GLib-DEBUG: io-channel-basic: child writing 8+4594 bytes to 6 965s # GLib-DEBUG: io-channel-basic: ...from 5: IN 965s # GLib-DEBUG: io-channel-basic: ...from 5: 4594 bytes 965s # GLib-DEBUG: io-channel-basic: ...from 5: OK 966s # GLib-DEBUG: io-channel-basic: child writing 8+2264 bytes to 6 966s # GLib-DEBUG: io-channel-basic: ...from 5: IN 966s # GLib-DEBUG: io-channel-basic: ...from 5: 2264 bytes 966s # GLib-DEBUG: io-channel-basic: ...from 5: OK 966s # GLib-DEBUG: io-channel-basic: child writing 8+3672 bytes to 6 966s # GLib-DEBUG: io-channel-basic: ...from 5: IN 966s # GLib-DEBUG: io-channel-basic: ...from 5: 3672 bytes 966s # GLib-DEBUG: io-channel-basic: ...from 5: OK 966s # GLib-DEBUG: io-channel-basic: child writing 8+5 bytes to 6 966s # GLib-DEBUG: io-channel-basic: ...from 5: IN 966s # GLib-DEBUG: io-channel-basic: ...from 5: 5 bytes 966s # GLib-DEBUG: io-channel-basic: ...from 5: OK 966s # GLib-DEBUG: io-channel-basic: child writing 8+2402 bytes to 6 966s # GLib-DEBUG: io-channel-basic: ...from 5: IN 966s # GLib-DEBUG: io-channel-basic: ...from 5: 2402 bytes 966s # GLib-DEBUG: io-channel-basic: ...from 5: OK 967s # GLib-DEBUG: io-channel-basic: child writing 8+428 bytes to 6 967s # GLib-DEBUG: io-channel-basic: ...from 5: IN 967s # GLib-DEBUG: io-channel-basic: ...from 5: 428 bytes 967s # GLib-DEBUG: io-channel-basic: ...from 5: OK 967s # GLib-DEBUG: io-channel-basic: child writing 8+3846 bytes to 6 967s # GLib-DEBUG: io-channel-basic: ...from 5: IN 967s # GLib-DEBUG: io-channel-basic: ...from 5: 3846 bytes 967s # GLib-DEBUG: io-channel-basic: ...from 5: OK 967s # GLib-DEBUG: io-channel-basic: child writing 8+4801 bytes to 6 967s # GLib-DEBUG: io-channel-basic: ...from 5: IN 967s # GLib-DEBUG: io-channel-basic: ...from 5: 4801 bytes 967s # GLib-DEBUG: io-channel-basic: ...from 5: OK 967s # GLib-DEBUG: io-channel-basic: child writing 8+3442 bytes to 6 967s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 967s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 967s # GLib-DEBUG: io-channel-basic: ...from 5: 3442 bytes 967s # GLib-DEBUG: io-channel-basic: ...from 5: OK 967s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 967s # random seed: R02S8f067bce0924db9f52b3a83ea6387432 967s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 967s # random seed: R02S1c508ef9e9d63a3e7e20fd5dc7b250ae 967s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 967s # random seed: R02S5debc340f7e46fb39f44fa70e82c30a6 967s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 967s # random seed: R02Se8e7d7df93940aa721a306eac7bee067 967s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 967s # random seed: R02S7bdee1e51cdff976cc79848979b5d4bc 968s # GLib-DEBUG: io-channel-basic: child writing 8+3413 bytes to 9 968s # GLib-DEBUG: io-channel-basic: ...from 8: IN 968s # GLib-DEBUG: io-channel-basic: ...from 8: 3413 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 8: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+879 bytes to 11 968s # GLib-DEBUG: io-channel-basic: ...from 10: IN 968s # GLib-DEBUG: io-channel-basic: ...from 10: 879 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 10: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+2973 bytes to 13 968s # GLib-DEBUG: io-channel-basic: ...from 12: IN 968s # GLib-DEBUG: io-channel-basic: ...from 12: 2973 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 12: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+452 bytes to 17 968s # GLib-DEBUG: io-channel-basic: ...from 16: IN 968s # GLib-DEBUG: io-channel-basic: ...from 16: 452 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 16: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+3704 bytes to 15 968s # GLib-DEBUG: io-channel-basic: ...from 14: IN 968s # GLib-DEBUG: io-channel-basic: ...from 14: 3704 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 14: OK 968s # Executing: glib/io-channel-basic.test 968s # GLib-DEBUG: io-channel-basic: child writing 8+2560 bytes to 11 968s # GLib-DEBUG: io-channel-basic: ...from 10: IN 968s # GLib-DEBUG: io-channel-basic: ...from 10: 2560 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 10: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+893 bytes to 9 968s # GLib-DEBUG: io-channel-basic: ...from 8: IN 968s # GLib-DEBUG: io-channel-basic: ...from 8: 893 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 8: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+4675 bytes to 13 968s # GLib-DEBUG: io-channel-basic: ...from 12: IN 968s # GLib-DEBUG: io-channel-basic: ...from 12: 4675 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 12: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+1101 bytes to 15 968s # GLib-DEBUG: io-channel-basic: ...from 14: IN 968s # GLib-DEBUG: io-channel-basic: ...from 14: 1101 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 14: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+1068 bytes to 17 968s # GLib-DEBUG: io-channel-basic: ...from 16: IN 968s # GLib-DEBUG: io-channel-basic: ...from 16: 1068 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 16: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+2008 bytes to 17 968s # GLib-DEBUG: io-channel-basic: ...from 16: IN 968s # GLib-DEBUG: io-channel-basic: ...from 16: 2008 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 16: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+2391 bytes to 15 968s # GLib-DEBUG: io-channel-basic: ...from 14: IN 968s # GLib-DEBUG: io-channel-basic: ...from 14: 2391 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 14: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+3894 bytes to 11 968s # GLib-DEBUG: io-channel-basic: ...from 10: IN 968s # GLib-DEBUG: io-channel-basic: ...from 10: 3894 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 10: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+4772 bytes to 9 968s # GLib-DEBUG: io-channel-basic: ...from 8: IN 968s # GLib-DEBUG: io-channel-basic: ...from 8: 4772 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 8: OK 968s # GLib-DEBUG: io-channel-basic: child writing 8+1977 bytes to 13 968s # GLib-DEBUG: io-channel-basic: ...from 12: IN 968s # GLib-DEBUG: io-channel-basic: ...from 12: 1977 bytes 968s # GLib-DEBUG: io-channel-basic: ...from 12: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+807 bytes to 15 969s # GLib-DEBUG: io-channel-basic: ...from 14: IN 969s # GLib-DEBUG: io-channel-basic: ...from 14: 807 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 14: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+4591 bytes to 17 969s # GLib-DEBUG: io-channel-basic: ...from 16: IN 969s # GLib-DEBUG: io-channel-basic: ...from 16: 4591 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 16: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+2312 bytes to 9 969s # GLib-DEBUG: io-channel-basic: ...from 8: IN 969s # GLib-DEBUG: io-channel-basic: ...from 8: 2312 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 8: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+145 bytes to 11 969s # GLib-DEBUG: io-channel-basic: ...from 10: IN 969s # GLib-DEBUG: io-channel-basic: ...from 10: 145 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 10: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+4925 bytes to 13 969s # GLib-DEBUG: io-channel-basic: ...from 12: IN 969s # GLib-DEBUG: io-channel-basic: ...from 12: 4925 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 12: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+3047 bytes to 15 969s # GLib-DEBUG: io-channel-basic: ...from 14: IN 969s # GLib-DEBUG: io-channel-basic: ...from 14: 3047 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 14: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+1596 bytes to 9 969s # GLib-DEBUG: io-channel-basic: ...from 8: IN 969s # GLib-DEBUG: io-channel-basic: ...from 8: 1596 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 8: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+376 bytes to 17 969s # GLib-DEBUG: io-channel-basic: ...from 16: IN 969s # GLib-DEBUG: io-channel-basic: ...from 16: 376 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 16: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+2311 bytes to 11 969s # GLib-DEBUG: io-channel-basic: ...from 10: IN 969s # GLib-DEBUG: io-channel-basic: ...from 10: 2311 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 10: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+4655 bytes to 13 969s # GLib-DEBUG: io-channel-basic: ...from 12: IN 969s # GLib-DEBUG: io-channel-basic: ...from 12: 4655 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 12: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+3421 bytes to 9 969s # GLib-DEBUG: io-channel-basic: ...from 8: IN 969s # GLib-DEBUG: io-channel-basic: ...from 8: 3421 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 8: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+322 bytes to 15 969s # GLib-DEBUG: io-channel-basic: ...from 14: IN 969s # GLib-DEBUG: io-channel-basic: ...from 14: 322 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 14: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+121 bytes to 17 969s # GLib-DEBUG: io-channel-basic: ...from 16: IN 969s # GLib-DEBUG: io-channel-basic: ...from 16: 121 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 16: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+2942 bytes to 11 969s # GLib-DEBUG: io-channel-basic: ...from 10: IN 969s # GLib-DEBUG: io-channel-basic: ...from 10: 2942 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 10: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+2525 bytes to 13 969s # GLib-DEBUG: io-channel-basic: ...from 12: IN 969s # GLib-DEBUG: io-channel-basic: ...from 12: 2525 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 12: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+2582 bytes to 15 969s # GLib-DEBUG: io-channel-basic: ...from 14: IN 969s # GLib-DEBUG: io-channel-basic: ...from 14: 2582 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 14: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+2219 bytes to 9 969s # GLib-DEBUG: io-channel-basic: ...from 8: IN 969s # GLib-DEBUG: io-channel-basic: ...from 8: 2219 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 8: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+4877 bytes to 17 969s # GLib-DEBUG: io-channel-basic: ...from 16: IN 969s # GLib-DEBUG: io-channel-basic: ...from 16: 4877 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 16: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+3086 bytes to 13 969s # GLib-DEBUG: io-channel-basic: ...from 12: IN 969s # GLib-DEBUG: io-channel-basic: ...from 12: 3086 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 12: OK 969s # GLib-DEBUG: io-channel-basic: child writing 8+1269 bytes to 11 969s # GLib-DEBUG: io-channel-basic: ...from 10: IN 969s # GLib-DEBUG: io-channel-basic: ...from 10: 1269 bytes 969s # GLib-DEBUG: io-channel-basic: ...from 10: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+3831 bytes to 9 970s # GLib-DEBUG: io-channel-basic: ...from 8: IN 970s # GLib-DEBUG: io-channel-basic: ...from 8: 3831 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 8: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+3354 bytes to 17 970s # GLib-DEBUG: io-channel-basic: ...from 16: IN 970s # GLib-DEBUG: io-channel-basic: ...from 16: 3354 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 16: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+2110 bytes to 15 970s # GLib-DEBUG: io-channel-basic: ...from 14: IN 970s # GLib-DEBUG: io-channel-basic: ...from 14: 2110 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 14: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+766 bytes to 13 970s # GLib-DEBUG: io-channel-basic: ...from 12: IN 970s # GLib-DEBUG: io-channel-basic: ...from 12: 766 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 12: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+1447 bytes to 11 970s # GLib-DEBUG: io-channel-basic: ...from 10: IN 970s # GLib-DEBUG: io-channel-basic: ...from 10: 1447 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 10: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+155 bytes to 9 970s # GLib-DEBUG: io-channel-basic: ...from 8: IN 970s # GLib-DEBUG: io-channel-basic: ...from 8: 155 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 8: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+4007 bytes to 13 970s # GLib-DEBUG: io-channel-basic: ...from 12: IN 970s # GLib-DEBUG: io-channel-basic: ...from 12: 4007 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 12: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+85 bytes to 15 970s # GLib-DEBUG: io-channel-basic: ...from 14: IN 970s # GLib-DEBUG: io-channel-basic: ...from 14: 85 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 14: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+4649 bytes to 17 970s # GLib-DEBUG: io-channel-basic: ...from 16: IN 970s # GLib-DEBUG: io-channel-basic: ...from 16: 4649 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 16: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+1135 bytes to 11 970s # GLib-DEBUG: io-channel-basic: ...from 10: IN 970s # GLib-DEBUG: io-channel-basic: ...from 10: 1135 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 10: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+4142 bytes to 9 970s # GLib-DEBUG: io-channel-basic: ...from 8: IN 970s # GLib-DEBUG: io-channel-basic: ...from 8: 4142 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 8: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+530 bytes to 13 970s # GLib-DEBUG: io-channel-basic: ...from 12: IN 970s # GLib-DEBUG: io-channel-basic: ...from 12: 530 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 12: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+2348 bytes to 17 970s # GLib-DEBUG: io-channel-basic: ...from 16: IN 970s # GLib-DEBUG: io-channel-basic: ...from 16: 2348 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 16: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+965 bytes to 15 970s # GLib-DEBUG: io-channel-basic: ...from 14: IN 970s # GLib-DEBUG: io-channel-basic: ...from 14: 965 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 14: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+1938 bytes to 11 970s # GLib-DEBUG: io-channel-basic: ...from 10: IN 970s # GLib-DEBUG: io-channel-basic: ...from 10: 1938 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 10: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+1503 bytes to 9 970s # GLib-DEBUG: io-channel-basic: ...from 8: IN 970s # GLib-DEBUG: io-channel-basic: ...from 8: 1503 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 8: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+4074 bytes to 13 970s # GLib-DEBUG: io-channel-basic: ...from 12: IN 970s # GLib-DEBUG: io-channel-basic: ...from 12: 4074 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 12: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+3477 bytes to 17 970s # GLib-DEBUG: io-channel-basic: ...from 16: IN 970s # GLib-DEBUG: io-channel-basic: ...from 16: 3477 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 16: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+435 bytes to 15 970s # GLib-DEBUG: io-channel-basic: ...from 14: IN 970s # GLib-DEBUG: io-channel-basic: ...from 14: 435 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 14: OK 970s # GLib-DEBUG: io-channel-basic: child writing 8+3625 bytes to 11 970s # GLib-DEBUG: io-channel-basic: ...from 10: IN 970s # GLib-DEBUG: io-channel-basic: ...from 10: 3625 bytes 970s # GLib-DEBUG: io-channel-basic: ...from 10: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+3331 bytes to 9 971s # GLib-DEBUG: io-channel-basic: ...from 8: IN 971s # GLib-DEBUG: io-channel-basic: ...from 8: 3331 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 8: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+1789 bytes to 17 971s # GLib-DEBUG: io-channel-basic: ...from 16: IN 971s # GLib-DEBUG: io-channel-basic: ...from 16: 1789 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 16: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+2939 bytes to 13 971s # GLib-DEBUG: io-channel-basic: ...from 12: IN 971s # GLib-DEBUG: io-channel-basic: ...from 12: 2939 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 12: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+16 bytes to 15 971s # GLib-DEBUG: io-channel-basic: ...from 14: IN 971s # GLib-DEBUG: io-channel-basic: ...from 14: 16 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 14: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+2285 bytes to 11 971s # GLib-DEBUG: io-channel-basic: ...from 10: IN 971s # GLib-DEBUG: io-channel-basic: ...from 10: 2285 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 10: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+1920 bytes to 9 971s # GLib-DEBUG: io-channel-basic: ...from 8: IN 971s # GLib-DEBUG: io-channel-basic: ...from 8: 1920 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 8: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+3710 bytes to 17 971s # GLib-DEBUG: io-channel-basic: ...from 16: IN 971s # GLib-DEBUG: io-channel-basic: ...from 16: 3710 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 16: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+2599 bytes to 15 971s # GLib-DEBUG: io-channel-basic: ...from 14: IN 971s # GLib-DEBUG: io-channel-basic: ...from 14: 2599 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 14: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+4448 bytes to 13 971s # GLib-DEBUG: io-channel-basic: ...from 12: IN 971s # GLib-DEBUG: io-channel-basic: ...from 12: 4448 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 12: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+3067 bytes to 11 971s # GLib-DEBUG: io-channel-basic: ...from 10: IN 971s # GLib-DEBUG: io-channel-basic: ...from 10: 3067 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 10: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+2956 bytes to 9 971s # GLib-DEBUG: io-channel-basic: ...from 8: IN 971s # GLib-DEBUG: io-channel-basic: ...from 8: 2956 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 8: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+766 bytes to 17 971s # GLib-DEBUG: io-channel-basic: ...from 16: IN 971s # GLib-DEBUG: io-channel-basic: ...from 16: 766 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 16: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+2309 bytes to 15 971s # GLib-DEBUG: io-channel-basic: ...from 14: IN 971s # GLib-DEBUG: io-channel-basic: ...from 14: 2309 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 14: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+4396 bytes to 13 971s # GLib-DEBUG: io-channel-basic: ...from 12: IN 971s # GLib-DEBUG: io-channel-basic: ...from 12: 4396 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 12: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+947 bytes to 11 971s # GLib-DEBUG: io-channel-basic: ...from 10: IN 971s # GLib-DEBUG: io-channel-basic: ...from 10: 947 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 10: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+2068 bytes to 9 971s # GLib-DEBUG: io-channel-basic: ...from 8: IN 971s # GLib-DEBUG: io-channel-basic: ...from 8: 2068 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 8: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+2462 bytes to 15 971s # GLib-DEBUG: io-channel-basic: ...from 14: IN 971s # GLib-DEBUG: io-channel-basic: ...from 14: 2462 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 14: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+1887 bytes to 17 971s # GLib-DEBUG: io-channel-basic: ...from 16: IN 971s # GLib-DEBUG: io-channel-basic: ...from 16: 1887 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 16: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+4317 bytes to 13 971s # GLib-DEBUG: io-channel-basic: ...from 12: IN 971s # GLib-DEBUG: io-channel-basic: ...from 12: 4317 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 12: OK 971s # GLib-DEBUG: io-channel-basic: child writing 8+285 bytes to 11 971s # GLib-DEBUG: io-channel-basic: ...from 10: IN 971s # GLib-DEBUG: io-channel-basic: ...from 10: 285 bytes 971s # GLib-DEBUG: io-channel-basic: ...from 10: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+4129 bytes to 9 972s # GLib-DEBUG: io-channel-basic: ...from 8: IN 972s # GLib-DEBUG: io-channel-basic: ...from 8: 4129 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 8: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+2523 bytes to 15 972s # GLib-DEBUG: io-channel-basic: ...from 14: IN 972s # GLib-DEBUG: io-channel-basic: ...from 14: 2523 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 14: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+2676 bytes to 13 972s # GLib-DEBUG: io-channel-basic: ...from 12: IN 972s # GLib-DEBUG: io-channel-basic: ...from 12: 2676 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 12: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+4291 bytes to 17 972s # GLib-DEBUG: io-channel-basic: ...from 16: IN 972s # GLib-DEBUG: io-channel-basic: ...from 16: 4291 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 16: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+3509 bytes to 11 972s # GLib-DEBUG: io-channel-basic: ...from 10: IN 972s # GLib-DEBUG: io-channel-basic: ...from 10: 3509 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 10: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+3980 bytes to 9 972s # GLib-DEBUG: io-channel-basic: ...from 8: IN 972s # GLib-DEBUG: io-channel-basic: ...from 8: 3980 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 8: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+399 bytes to 15 972s # GLib-DEBUG: io-channel-basic: ...from 14: IN 972s # GLib-DEBUG: io-channel-basic: ...from 14: 399 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 14: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+4607 bytes to 13 972s # GLib-DEBUG: io-channel-basic: ...from 12: IN 972s # GLib-DEBUG: io-channel-basic: ...from 12: 4607 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 12: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+3474 bytes to 17 972s # GLib-DEBUG: io-channel-basic: ...from 16: IN 972s # GLib-DEBUG: io-channel-basic: ...from 16: 3474 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 16: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+139 bytes to 11 972s # GLib-DEBUG: io-channel-basic: ...from 10: IN 972s # GLib-DEBUG: io-channel-basic: ...from 10: 139 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 10: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+529 bytes to 15 972s # GLib-DEBUG: io-channel-basic: ...from 14: IN 972s # GLib-DEBUG: io-channel-basic: ...from 14: 529 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 14: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+4542 bytes to 13 972s # GLib-DEBUG: io-channel-basic: ...from 12: IN 972s # GLib-DEBUG: io-channel-basic: ...from 12: 4542 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 12: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+3344 bytes to 9 972s # GLib-DEBUG: io-channel-basic: ...from 8: IN 972s # GLib-DEBUG: io-channel-basic: ...from 8: 3344 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 8: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+3693 bytes to 17 972s # GLib-DEBUG: io-channel-basic: ...from 16: IN 972s # GLib-DEBUG: io-channel-basic: ...from 16: 3693 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 16: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+1788 bytes to 11 972s # GLib-DEBUG: io-channel-basic: ...from 10: IN 972s # GLib-DEBUG: io-channel-basic: ...from 10: 1788 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 10: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+444 bytes to 13 972s # GLib-DEBUG: io-channel-basic: ...from 12: IN 972s # GLib-DEBUG: io-channel-basic: ...from 12: 444 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 12: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+1576 bytes to 15 972s # GLib-DEBUG: io-channel-basic: ...from 14: IN 972s # GLib-DEBUG: io-channel-basic: ...from 14: 1576 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 14: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+1654 bytes to 9 972s # GLib-DEBUG: io-channel-basic: ...from 8: IN 972s # GLib-DEBUG: io-channel-basic: ...from 8: 1654 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 8: OK 972s # GLib-DEBUG: io-channel-basic: child writing 8+4571 bytes to 17 972s # GLib-DEBUG: io-channel-basic: ...from 16: IN 972s # GLib-DEBUG: io-channel-basic: ...from 16: 4571 bytes 972s # GLib-DEBUG: io-channel-basic: ...from 16: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+877 bytes to 11 973s # GLib-DEBUG: io-channel-basic: ...from 10: IN 973s # GLib-DEBUG: io-channel-basic: ...from 10: 877 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 10: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+3720 bytes to 13 973s # GLib-DEBUG: io-channel-basic: ...from 12: IN 973s # GLib-DEBUG: io-channel-basic: ...from 12: 3720 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 12: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+515 bytes to 15 973s # GLib-DEBUG: io-channel-basic: ...from 14: IN 973s # GLib-DEBUG: io-channel-basic: ...from 14: 515 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 14: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+2099 bytes to 9 973s # GLib-DEBUG: io-channel-basic: ...from 8: IN 973s # GLib-DEBUG: io-channel-basic: ...from 8: 2099 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 8: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+1048 bytes to 17 973s # GLib-DEBUG: io-channel-basic: ...from 16: IN 973s # GLib-DEBUG: io-channel-basic: ...from 16: 1048 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 16: OK 973s # Executing: glib/io-channel-basic.test 973s # GLib-DEBUG: io-channel-basic: child writing 8+3976 bytes to 11 973s # GLib-DEBUG: io-channel-basic: ...from 10: IN 973s # GLib-DEBUG: io-channel-basic: ...from 10: 3976 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 10: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+1953 bytes to 13 973s # GLib-DEBUG: io-channel-basic: ...from 12: IN 973s # GLib-DEBUG: io-channel-basic: ...from 12: 1953 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 12: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+3612 bytes to 15 973s # GLib-DEBUG: io-channel-basic: ...from 14: IN 973s # GLib-DEBUG: io-channel-basic: ...from 14: 3612 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 14: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+4055 bytes to 9 973s # GLib-DEBUG: io-channel-basic: ...from 8: IN 973s # GLib-DEBUG: io-channel-basic: ...from 8: 4055 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 8: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+1402 bytes to 17 973s # GLib-DEBUG: io-channel-basic: ...from 16: IN 973s # GLib-DEBUG: io-channel-basic: ...from 16: 1402 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 16: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+1533 bytes to 11 973s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 973s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 973s # GLib-DEBUG: io-channel-basic: ...from 10: 1533 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 10: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+60 bytes to 13 973s # GLib-DEBUG: io-channel-basic: ...from 12: IN 973s # GLib-DEBUG: io-channel-basic: ...from 12: 60 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 12: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+2348 bytes to 15 973s # GLib-DEBUG: io-channel-basic: ...from 14: IN 973s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 973s # GLib-DEBUG: io-channel-basic: ...from 14: 2348 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 14: OK 973s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 973s # GLib-DEBUG: io-channel-basic: child writing 8+4701 bytes to 9 973s # GLib-DEBUG: io-channel-basic: ...from 8: IN 973s # GLib-DEBUG: io-channel-basic: ...from 8: 4701 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 8: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+2554 bytes to 17 973s # GLib-DEBUG: io-channel-basic: ...from 16: IN 973s # GLib-DEBUG: io-channel-basic: ...from 16: 2554 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 16: OK 973s # GLib-DEBUG: io-channel-basic: child writing 8+3709 bytes to 13 973s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 973s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 973s # GLib-DEBUG: io-channel-basic: ...from 12: 3709 bytes 973s # GLib-DEBUG: io-channel-basic: ...from 12: OK 974s # GLib-DEBUG: io-channel-basic: child writing 8+2922 bytes to 9 974s # GLib-DEBUG: io-channel-basic: ...from 8: IN 974s # GLib-DEBUG: io-channel-basic: ...from 8: 2922 bytes 974s # GLib-DEBUG: io-channel-basic: ...from 8: OK 974s # GLib-DEBUG: io-channel-basic: child writing 8+1042 bytes to 17 974s # GLib-DEBUG: io-channel-basic: ...from 16: IN 974s # GLib-DEBUG: io-channel-basic: ...from 16: 1042 bytes 974s # GLib-DEBUG: io-channel-basic: ...from 16: OK 974s # GLib-DEBUG: io-channel-basic: child writing 8+1529 bytes to 9 974s # GLib-DEBUG: io-channel-basic: ...from 8: IN 974s # GLib-DEBUG: io-channel-basic: ...from 8: 1529 bytes 974s # GLib-DEBUG: io-channel-basic: ...from 8: OK 974s # GLib-DEBUG: io-channel-basic: child writing 8+4013 bytes to 17 974s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 974s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 974s # GLib-DEBUG: io-channel-basic: ...from 16: 4013 bytes 974s # GLib-DEBUG: io-channel-basic: ...from 16: OK 974s # GLib-DEBUG: io-channel-basic: child writing 8+4766 bytes to 9 974s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 974s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 974s # GLib-DEBUG: io-channel-basic: ...from 8: 4766 bytes 974s # GLib-DEBUG: io-channel-basic: ...from 8: OK 974s ok 1 /gio/io-basics 974s # slow test /gio/io-basics executed in 12.33 secs 974s # End of gio tests 974s ok - glib/io-channel-basic.test 974s # Running test: glib/include.test 974s TAP version 14 974s # random seed: R02S991e2ca9e77f628d27ab7b22b0c5c016 974s 1..1 974s # Start of include tests 974s ok 1 /include/rwlock 974s # End of include tests 974s ok - glib/include.test 974s # Running test: glib/network-monitor-race.test 974s TAP version 14 974s # random seed: R02S3b96040ccb7363d73195d93fb68b2e03 974s 1..1 974s # Start of network-monitor tests 974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 976s ok - glib/network-monitor-race.test 976s ok 1 /network-monitor/create-in-thread 976s # slow test /network-monitor/create-in-thread executed in 2.21 secs 976s # End of network-monitor tests 976s # Running test: glib/unix-mounts.test 976s TAP version 14 976s # random seed: R02S640ced9a90f005689d026f277dacb604 976s 1..4 976s # Start of unix-mounts tests 976s ok 1 /unix-mounts/is-system-fs-type 976s ok 2 /unix-mounts/is-system-device-path 976s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 976s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 976s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 976s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 976s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 976s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 976s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 976s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 976s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 976s ok 3 /unix-mounts/get-mount-points 976s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 976s ok 4 /unix-mounts/get-mount-entries 976s # End of unix-mounts tests 976s ok - glib/unix-mounts.test 976s # Running test: glib/gdbus-proxy-well-known-name.test 976s TAP version 14 976s # random seed: R02S697934a78d9823251ae24090e322ec15 976s 1..1 976s # Start of gdbus tests 976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/home 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/cache 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/system-config2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/config 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/system-data2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/data 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/state 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_E3PD02/gdbus/proxy-well-known-name/.dirs/runtime 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 976s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 976s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 976s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 976s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 976s ok 1 /gdbus/proxy-well-known-name 976s # End of gdbus tests 976s TAP version 14 976s # random seed: R02S85f3c570e552ec360a58fbb413b6ae14 976s 1..1 976s # Start of converter tests 976s ok 1 /converter/bytes 976s # End of converter tests 976s ok - glib/gdbus-proxy-well-known-name.test 976s # Running test: glib/converter.test 976s ok - glib/converter.test 976s # Running test: glib/converter-stream.test 976s TAP version 14 976s # random seed: R02S97adf82778df3c867f048d0698bdc613 976s 1..17 976s # Start of converter tests 976s ok 1 /converter/basics 976s # End of converter tests 976s # Start of converter-input-stream tests 976s ok 2 /converter-input-stream/expander 976s ok 3 /converter-input-stream/compressor 976s # Start of truncation tests 977s ok 4 /converter-input-stream/truncation/zlib 977s ok 5 /converter-input-stream/truncation/gzip 977s ok 6 /converter-input-stream/truncation/raw 977s # End of truncation tests 977s # Start of charset tests 977s ok 7 /converter-input-stream/charset/utf8->latin1 977s ok 8 /converter-input-stream/charset/latin1->utf8 977s ok 9 /converter-input-stream/charset/fallbacks 977s # End of charset tests 977s # End of converter-input-stream tests 977s # Start of converter-output-stream tests 977s # Start of roundtrip tests 977s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 977s ok 10 /converter-output-stream/roundtrip/zlib-0 977s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 977s ok 11 /converter-output-stream/roundtrip/zlib-9 977s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 977s ok 12 /converter-output-stream/roundtrip/gzip-0 977s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 978s ok 13 /converter-output-stream/roundtrip/gzip-9 978s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 978s ok 14 /converter-output-stream/roundtrip/raw-0 978s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 978s # Executing: glib/converter-stream.test 978s ok 15 /converter-output-stream/roundtrip/raw-9 978s # End of roundtrip tests 978s # End of converter-output-stream tests 978s # Start of converter-stream tests 978s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 978s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x4c530b79ec0 and GSocketClientAsyncConnectData 0x4c530f652c0 978s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 978s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 978s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x4c530b83020 for GSocketClientAsyncConnectData 0x4c530f652c0 978s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 978s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 978s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 978s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 978s ok 16 /converter-stream/pollable 978s ok 17 /converter-stream/leftover 978s # End of converter-stream tests 978s ok - glib/converter-stream.test 978s # Running test: glib/slist.test 978s ok - glib/slist.test 978s TAP version 14 978s # random seed: R02Sfdd701731e16112c3a77236883e22ec4 978s 1..14 978s # Start of slist tests 978s ok 1 /slist/sort 978s ok 2 /slist/sort-with-data 978s ok 3 /slist/insert-sorted 978s ok 4 /slist/insert-sorted-with-data 978s ok 5 /slist/reverse 978s ok 6 /slist/nth 978s ok 7 /slist/remove 978s ok 8 /slist/remove-all 978s ok 9 /slist/insert 978s ok 10 /slist/position 978s ok 11 /slist/concat 978s ok 12 /slist/copy 978s # Start of sort tests 978s ok 13 /slist/sort/stable 978s # End of sort tests 978s # Start of copy tests 978s ok 14 /slist/copy/deep 978s # End of copy tests 978s # End of slist tests 978s # Running test: glib/portal-support-env-var.test 978s TAP version 14 978s # random seed: R02S58e9952350983775bfc517a25749b85d 978s ok - glib/portal-support-env-var.test 978s 1..1 978s # Start of portal-support tests 978s ok 1 /portal-support/env-var 978s # End of portal-support tests 978s # Running test: glib/spawn-path-search.test 978s TAP version 14 978s # random seed: R02S12973b51e7d63584f0538038b6c20836 978s 1..7 978s # Start of spawn tests 978s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 978s # 978s # this is spawn-test-helper from glib/tests 978s # 978s ok 1 /spawn/do-not-search 978s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 978s # 978s # this is spawn-test-helper from path-test-subdir 978s # 978s ok 2 /spawn/search-path 978s # /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. 978s # 978s # this is spawn-test-helper from path-test-subdir 978s # 978s ok 3 /spawn/search-path-from-envp 978s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 978s # 978s # this is spawn-test-helper from path-test-subdir 978s # 978s ok 4 /spawn/search-path-ambiguous 978s # 978s # this is spawn-test-helper from path-test-subdir 978s # 978s ok 5 /spawn/search-path-heap-allocation 978s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 978s # 978s # this is spawn-test-helper from glib/tests 978s # 978s ok 6 /spawn/search-path-fallback-in-environ 978s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 978s # 978s # this is spawn-test-helper from glib/tests 978s # 978s ok 7 /spawn/search-path-fallback-in-envp 978s # End of spawn tests 978s ok - glib/spawn-path-search.test 978s # Running test: glib/resources.test 978s TAP version 14 978s # random seed: R02S0bbb4ff1ab72404a1f580e3f5d89782c 978s 1..17 978s # Start of resource tests 978s ok 1 /resource/file 978s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 978s ok 2 /resource/file-path 978s ok 3 /resource/data 978s ok 4 /resource/data_unaligned 978s ok 5 /resource/data-corrupt 978s ok 6 /resource/data-empty 978s ok 7 /resource/registered 978s ok 8 /resource/manual 978s ok 9 /resource/manual2 978s ok 10 /resource/automatic 978s ok 11 /resource/module 978s ok 12 /resource/binary-linked 978s ok 13 /resource/64k 978s GLib-GIO-Message: 00:42:47.658: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 978s ok 14 /resource/overlay 978s ok 15 /resource/digits 978s # Start of uri tests 978s ok 16 /resource/uri/query-info 978s ok 17 /resource/uri/file 978s # End of uri tests 978s # End of resource tests 978s ok - glib/resources.test 978s # Running test: glib/error.test 978s TAP version 14 978s # random seed: R02S689aa2cdc5ccd19a933bf117c85049c4 978s 1..3 978s # Start of error tests 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_40E5Z2/error/from-errno/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_40E5Z2/error/from-errno/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_40E5Z2/error/from-errno/.dirs/system-config1:/tmp/test_error_40E5Z2/error/from-errno/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_40E5Z2/error/from-errno/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_40E5Z2/error/from-errno/.dirs/system-data1:/tmp/test_error_40E5Z2/error/from-errno/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_40E5Z2/error/from-errno/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_40E5Z2/error/from-errno/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_40E5Z2/error/from-errno/.dirs/runtime 978s ok 1 /error/from-errno 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_40E5Z2/error/from-file-error/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_40E5Z2/error/from-file-error/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_40E5Z2/error/from-file-error/.dirs/system-config1:/tmp/test_error_40E5Z2/error/from-file-error/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_40E5Z2/error/from-file-error/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_40E5Z2/error/from-file-error/.dirs/system-data1:/tmp/test_error_40E5Z2/error/from-file-error/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_40E5Z2/error/from-file-error/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_40E5Z2/error/from-file-error/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_40E5Z2/error/from-file-error/.dirs/runtime 978s ok 2 /error/from-file-error 978s ok - glib/error.test 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_40E5Z2/error/from-win32-error/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_40E5Z2/error/from-win32-error/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_40E5Z2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_40E5Z2/error/from-win32-error/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_40E5Z2/error/from-win32-error/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_40E5Z2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_40E5Z2/error/from-win32-error/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_40E5Z2/error/from-win32-error/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_40E5Z2/error/from-win32-error/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_40E5Z2/error/from-win32-error/.dirs/runtime 978s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 978s # End of error tests 978s # Running test: glib/power-profile-monitor.test 978s TAP version 14 978s # random seed: R02S70acd257cb161bc93025cfca25e74578 978s 1..1 978s # Start of power-profile-monitor tests 978s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 978s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 978s ok - glib/power-profile-monitor.test 978s # Running test: glib/cxx-17.test 978s ok 1 /power-profile-monitor/default 978s # End of power-profile-monitor tests 978s TAP version 14 978s # random seed: R02Sea70525013e09e4766e7eee35f1a3377 978s 1..2 978s # Start of gtask tests 978s # 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. 978s ok 1 /gtask/name 978s # Start of name tests 978s # 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. 978s ok 2 /gtask/name/macro-wrapper 978s # End of name tests 978s # End of gtask tests 978s ok - glib/cxx-17.test 978s # Running test: glib/unicode.test 978s TAP version 14 978s # random seed: R02Sfa29e06d4e781ec40e19a5fc37a39739 978s 1..39 978s # Start of unicode tests 978s ok 1 /unicode/alnum 978s ok 2 /unicode/alpha 978s ok 3 /unicode/break-type 978s ok 4 /unicode/canonical-decomposition 978s ok 5 /unicode/casefold 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s # Cannot set locale to lt_LT, skipping 978s ok 6 /unicode/casemap_and_casefold 978s ok 7 /unicode/cases 978s ok 8 /unicode/character-type 978s ok 9 /unicode/cntrl 978s ok 10 /unicode/combining-class 978s ok 11 /unicode/compose 978s ok 12 /unicode/decompose 978s ok 13 /unicode/decompose-tail 978s ok 14 /unicode/defined 978s ok 15 /unicode/digit 978s ok 16 /unicode/digit-value 978s ok 17 /unicode/fully-decompose-canonical 978s ok 18 /unicode/fully-decompose-len 978s ok 19 /unicode/normalization 978s ok 20 /unicode/graph 978s # Testing script Zyyy (code 1517910393) 978s # Testing script Zinh (code 1516858984) 978s # Testing script Zmth (code 1517122664) 978s # Testing script Arab (code 1098015074) 978s # Testing script Armn (code 1098018158) 978s # Testing script Beng (code 1113943655) 978s # Testing script Bopo (code 1114599535) 978s # Testing script Cher (code 1130915186) 978s # Testing script Copt (code 1131376756) 978s # Testing script Cyrl (code 1132032620) 978s # Testing script Dsrt (code 1148416628) 978s # Testing script Deva (code 1147500129) 978s # Testing script Ethi (code 1165256809) 978s # Testing script Geor (code 1197830002) 978s # Testing script Goth (code 1198486632) 978s # Testing script Grek (code 1198679403) 978s # Testing script Gujr (code 1198877298) 978s # Testing script Guru (code 1198879349) 978s # Testing script Hani (code 1214344809) 978s # Testing script Hang (code 1214344807) 978s # Testing script Hebr (code 1214603890) 978s # Testing script Hira (code 1214870113) 978s # Testing script Knda (code 1265525857) 978s # Testing script Kana (code 1264676449) 978s # Testing script Khmr (code 1265134962) 978s # Testing script Laoo (code 1281453935) 978s # Testing script Latn (code 1281455214) 978s # Testing script Mlym (code 1298954605) 978s # Testing script Mong (code 1299148391) 978s # Testing script Mymr (code 1299803506) 978s # Testing script Ogam (code 1332175213) 978s # Testing script Ital (code 1232363884) 978s # Testing script Orya (code 1332902241) 978s # Testing script Runr (code 1383427698) 978s # Testing script Sinh (code 1399418472) 978s # Testing script Syrc (code 1400468067) 978s # Testing script Taml (code 1415671148) 978s # Testing script Telu (code 1415933045) 978s # Testing script Thaa (code 1416126817) 978s # Testing script Thai (code 1416126825) 978s # Testing script Tibt (code 1416192628) 978s # Testing script Cans (code 1130458739) 978s # Testing script Yiii (code 1500080489) 978s # Testing script Tglg (code 1416064103) 978s # Testing script Hano (code 1214344815) 978s # Testing script Buhd (code 1114990692) 978s # Testing script Tagb (code 1415669602) 978s # Testing script Brai (code 1114792297) 978s # Testing script Cprt (code 1131442804) 978s # Testing script Limb (code 1281977698) 978s # Testing script Osma (code 1332964705) 978s # Testing script Shaw (code 1399349623) 978s # Testing script Linb (code 1281977954) 978s # Testing script Tale (code 1415670885) 978s # Testing script Ugar (code 1432838514) 978s # Testing script Talu (code 1415670901) 978s # Testing script Bugi (code 1114990441) 978s # Testing script Glag (code 1198285159) 978s # Testing script Tfng (code 1415999079) 978s # Testing script Sylo (code 1400466543) 978s # Testing script Xpeo (code 1483761007) 978s # Testing script Khar (code 1265131890) 978s # Testing script Zzzz (code 1517976186) 978s # Testing script Bali (code 1113681001) 978s # Testing script Xsux (code 1483961720) 978s # Testing script Phnx (code 1349021304) 978s # Testing script Phag (code 1349017959) 978s # Testing script Nkoo (code 1315663727) 978s # Testing script Kali (code 1264675945) 978s # Testing script Lepc (code 1281716323) 978s # Testing script Rjng (code 1382706791) 978s # Testing script Sund (code 1400204900) 978s # Testing script Saur (code 1398895986) 978s # Testing script Cham (code 1130914157) 978s # Testing script Olck (code 1332503403) 978s # Testing script Vaii (code 1449224553) 978s # Testing script Cari (code 1130459753) 978s # Testing script Lyci (code 1283023721) 978s # Testing script Lydi (code 1283023977) 978s # Testing script Avst (code 1098281844) 978s # Testing script Bamu (code 1113681269) 978s # Testing script Egyp (code 1164409200) 978s # Testing script Armi (code 1098018153) 978s # Testing script Phli (code 1349020777) 978s # Testing script Prti (code 1349678185) 978s # Testing script Java (code 1247901281) 978s # Testing script Kthi (code 1265920105) 978s # Testing script Lisu (code 1281979253) 978s # Testing script Mtei (code 1299473769) 978s # Testing script Sarb (code 1398895202) 978s # Testing script Orkh (code 1332898664) 978s # Testing script Samr (code 1398893938) 978s # Testing script Lana (code 1281453665) 978s # Testing script Tavt (code 1415673460) 978s # Testing script Batk (code 1113683051) 978s # Testing script Brah (code 1114792296) 978s # Testing script Mand (code 1298230884) 978s # Testing script Cakm (code 1130457965) 978s # Testing script Merc (code 1298494051) 978s # Testing script Mero (code 1298494063) 978s # Testing script Plrd (code 1349284452) 978s # Testing script Shrd (code 1399353956) 978s # Testing script Sora (code 1399812705) 978s # Testing script Takr (code 1415670642) 978s # Testing script Bass (code 1113682803) 978s # Testing script Aghb (code 1097295970) 978s # Testing script Dupl (code 1148547180) 978s # Testing script Elba (code 1164730977) 978s # Testing script Gran (code 1198678382) 978s # Testing script Khoj (code 1265135466) 978s # Testing script Sind (code 1399418468) 978s # Testing script Lina (code 1281977953) 978s # Testing script Mahj (code 1298229354) 978s # Testing script Mani (code 1298230889) 978s # Testing script Mend (code 1298493028) 978s # Testing script Modi (code 1299145833) 978s # Testing script Mroo (code 1299345263) 978s # Testing script Nbat (code 1315070324) 978s # Testing script Narb (code 1315009122) 978s # Testing script Perm (code 1348825709) 978s # Testing script Hmng (code 1215131239) 978s # Testing script Palm (code 1348562029) 978s # Testing script Pauc (code 1348564323) 978s # Testing script Phlp (code 1349020784) 978s # Testing script Sidd (code 1399415908) 978s # Testing script Tirh (code 1416196712) 978s # Testing script Wara (code 1466004065) 978s # Testing script Ahom (code 1097363309) 978s # Testing script Hluw (code 1215067511) 978s # Testing script Hatr (code 1214346354) 978s # Testing script Mult (code 1299541108) 978s # Testing script Hung (code 1215655527) 978s # Testing script Sgnw (code 1399287415) 978s # Testing script Adlm (code 1097100397) 978s # Testing script Bhks (code 1114139507) 978s # Testing script Marc (code 1298231907) 978s # Testing script Newa (code 1315272545) 978s # Testing script Osge (code 1332963173) 978s # Testing script Tang (code 1415671399) 978s # Testing script Gonm (code 1198485101) 978s # Testing script Nshu (code 1316186229) 978s # Testing script Soyo (code 1399814511) 978s # Testing script Zanb (code 1516334690) 978s # Testing script Dogr (code 1148151666) 978s # Testing script Gong (code 1198485095) 978s # Testing script Rohg (code 1383032935) 978s # Testing script Maka (code 1298230113) 978s # Testing script Medf (code 1298490470) 978s # Testing script Sogo (code 1399809903) 978s # Testing script Sogd (code 1399809892) 978s # Testing script Elym (code 1164736877) 978s # Testing script Nand (code 1315008100) 978s # Testing script Hmnp (code 1215131248) 978s # Testing script Wcho (code 1466132591) 978s # Testing script Chrs (code 1130918515) 978s # Testing script Diak (code 1147756907) 978s # Testing script Kits (code 1265202291) 978s # Testing script Yezi (code 1499822697) 978s # Testing script Cpmn (code 1131441518) 978s # Testing script Ougr (code 1333094258) 978s # Testing script Tnsa (code 1416524641) 978s # Testing script Toto (code 1416590447) 978s # Testing script Vith (code 1449751656) 978s # Testing script Kawi (code 1264678761) 978s # Testing script Nagm (code 1315006317) 978s ok 21 /unicode/iso15924 978s ok 22 /unicode/lower 978s ok 23 /unicode/mark 978s ok 24 /unicode/mirror 978s ok 25 /unicode/print 978s ok 26 /unicode/punctuation 978s ok 27 /unicode/script 978s ok 28 /unicode/space 978s ok 29 /unicode/strdown 978s ok 30 /unicode/strup 978s ok - glib/unicode.test 978s ok 31 /unicode/turkish-strupdown 978s ok 32 /unicode/title 978s ok 33 /unicode/upper 978s ok 34 /unicode/validate 978s ok 35 /unicode/wide 978s ok 36 /unicode/xdigit 978s ok 37 /unicode/xdigit-value 978s ok 38 /unicode/zero-width 978s ok 39 /unicode/normalize 978s # End of unicode tests 978s # Running test: glib/vfs.test 978s TAP version 14 978s # random seed: R02S8f630d96d32c667ca873bfeecae9575c 978s 1..3 978s # Start of gvfs tests 978s ok 1 /gvfs/local 978s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 978s ok 2 /gvfs/register-scheme 978s # Start of resource tests 978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 978s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 978s ok 3 /gvfs/resource/malformed-escaping 978s # End of resource tests 978s # End of gvfs tests 978s ok - glib/vfs.test 978s # Running test: glib/refstring.test 978s TAP version 14 978s # random seed: R02S3a8def05c04d0492866b5438d384953a 978s 1..6 978s # Start of refstring tests 978s # s = 'hello, world' (0x7b0201883b0) 978s ok 1 /refstring/base 978s ok 2 /refstring/length 978s ok 3 /refstring/length-auto 978s ok 4 /refstring/length-nuls 978s # s = 'hello, world' (0x7b020188300) 978s # p = s = 'hello, world' (0x7b020188300) 978s # releasing p[0x7b020188300] ('hello, world') 978s # p = 'goodbye, world' (0x7b0201883b0) 978s # releasing p[0x7b0201883b0] ('goodbye, world') 978s # releasing s[0x7b020188300] ('hello, world') 978s ok 5 /refstring/intern 980s ok 6 /refstring/intern-thread-safety 980s # slow test /refstring/intern-thread-safety executed in 1.87 secs 980s # End of refstring tests 980s ok - glib/refstring.test 980s # Running test: glib/gdbus-error.test 980s TAP version 14 980s # random seed: R02Sa1f34c2569ea03038de3af67b2bf0e94 980s 1..4 980s # Start of gdbus tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_RCF9Z2/gdbus/registered-errors/.dirs/runtime 980s ok 1 /gdbus/registered-errors 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_RCF9Z2/gdbus/unregistered-errors/.dirs/runtime 980s ok 2 /gdbus/unregistered-errors 980s ok - glib/gdbus-error.test 980s # Running test: glib/win32-appinfo.test 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_RCF9Z2/gdbus/transparent-gerror/.dirs/runtime 980s ok 3 /gdbus/transparent-gerror 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_RCF9Z2/gdbus/register-error/.dirs/runtime 980s ok 4 /gdbus/register-error 980s # End of gdbus tests 980s TAP version 14 980s # random seed: R02S1a2fa86eaa95b45fd90445b7a307d717 980s 1..5 980s # Start of appinfo tests 980s ok 1 /appinfo/utf16-strfuncs 980s ok 2 /appinfo/win32-extract-executable 980s ok 3 /appinfo/win32-rundll32-fixup 980s ok 4 /appinfo/win32-parse-filename 980s ok 5 /appinfo/win32-utf16-conversion-fail 980s # Start of subprocess tests 980s # End of subprocess tests 980s # End of appinfo tests 980s TAP version 14 980s # random seed: R02S9e249a12ef1e0c00846662b6fa369679 980s 1..1 980s # Start of function-info tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_V608Z2/function-info/invoker/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_V608Z2/function-info/invoker/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_V608Z2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_V608Z2/function-info/invoker/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_V608Z2/function-info/invoker/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_V608Z2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_V608Z2/function-info/invoker/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_V608Z2/function-info/invoker/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_V608Z2/function-info/invoker/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_V608Z2/function-info/invoker/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /function-info/invoker summary: Test preparing a function invoker 980s ok 1 /function-info/invoker 980s # End of function-info tests 980s TAP version 14 980s # random seed: R02S41f934b3d12a9e45929bbde03068c555 980s 1..1 980s # Start of gobject tests 980s # Start of refcount tests 980s # init 0x1cf0f001e740 980s # 980s # init 0x1cf0f001e8d0 980s # 980s ok - glib/win32-appinfo.test 980s # Running test: glib/function-info.test 980s ok - glib/function-info.test 980s # Running test: glib/objects-refcount1.test 983s # Executing: glib/objects-refcount1.test 985s ok - glib/objects-refcount1.test 985s # dispose 0x1cf0f001e740! 985s # 985s # dispose 0x1cf0f001e8d0! 985s # 985s ok 1 /gobject/refcount/object-basics 985s # slow test /gobject/refcount/object-basics executed in 5.00 secs 985s # End of refcount tests 985s # End of gobject tests 985s # Running test: glib/socket-address.test 985s TAP version 14 985s # random seed: R02Sda1a04267a9a025c6dbba0f5862fc1a5 985s 1..2 985s # Start of socket tests 985s # Start of address tests 985s # Start of unix tests 985s ok 1 /socket/address/unix/construct 985s ok 2 /socket/address/unix/to-string 985s # End of unix tests 985s # End of address tests 985s # End of socket tests 985s ok - glib/socket-address.test 985s # Running test: glib/gdbus-threading.test 985s ok - glib/gdbus-threading.test 985s # Running test: glib/macros.test 985s ok - glib/macros.test 985s # Running test: glib/mutex.test 985s TAP version 14 985s # random seed: R02Sa8adfae1c19899afcff862cbd30d3eb7 985s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 985s TAP version 14 985s # random seed: R02S7374b951897031a1fb80b667b4598572 985s 1..3 985s # Start of alignof tests 985s ok 1 /alignof/fallback 985s # End of alignof tests 985s # Start of assert tests 985s ok 2 /assert/static 985s # End of assert tests 985s # Start of struct tests 985s ok 3 /struct/sizeof_member 985s # End of struct tests 985s TAP version 14 985s # random seed: R02S8c5d3994f9d14cfdbf1e2a5b15c3249d 985s 1..17 985s # Start of thread tests 985s ok 1 /thread/mutex1 985s ok 2 /thread/mutex2 985s ok 3 /thread/mutex3 985s ok 4 /thread/mutex4 988s # Executing: glib/mutex.test 991s ok 5 /thread/mutex5 991s # slow test /thread/mutex5 executed in 5.50 secs 991s # Start of mutex tests 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s # /thread/mutex/errno summary: Validates that errno is not touched upon return 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 991s ok 6 /thread/mutex/errno 991s # Start of perf tests 991s # max perf: inf mips 991s ok 7 /thread/mutex/perf/uncontended 991s # Start of contended tests 991s # max perf: inf mips 991s ok 8 /thread/mutex/perf/contended/1 991s # max perf: 3.000000 mips 991s ok 9 /thread/mutex/perf/contended/2 991s # max perf: 4.000000 mips 991s ok 10 /thread/mutex/perf/contended/3 991s # max perf: 2.500000 mips 991s ok 11 /thread/mutex/perf/contended/4 991s # max perf: 1.500000 mips 991s ok - glib/mutex.test 991s # Running test: glib/test-printf.test 991s ok 12 /thread/mutex/perf/contended/5 991s # max perf: 2.333333 mips 991s ok 13 /thread/mutex/perf/contended/6 991s # max perf: 2.666667 mips 991s ok 14 /thread/mutex/perf/contended/7 991s # max perf: 9.000000 mips 991s ok 15 /thread/mutex/perf/contended/8 991s # max perf: 2.500000 mips 991s ok 16 /thread/mutex/perf/contended/9 991s # max perf: 11.000000 mips 991s ok 17 /thread/mutex/perf/contended/10 991s # End of contended tests 991s # End of perf tests 991s # End of mutex tests 991s # End of thread tests 991s TAP version 14 991s # random seed: R02Sd02c7e582ad7d86cf6457d4a1d5e8572 991s 1..22 991s # Start of snprintf tests 991s ok 1 /snprintf/retval-and-trunc 991s ok 2 /snprintf/%d 991s ok 3 /snprintf/%d-invalid 991s ok 4 /snprintf/%o 991s ok 5 /snprintf/%u 991s ok 6 /snprintf/%x 991s ok 7 /snprintf/%X 991s ok 8 /snprintf/%f 991s ok 9 /snprintf/%e 991s ok 10 /snprintf/%c 991s ok 11 /snprintf/%s 991s ok 12 /snprintf/%n 991s ok 13 /snprintf/test-percent 991s ok 14 /snprintf/test-positional-params 991s ok 15 /snprintf/test-64bit 991s # End of snprintf tests 991s # Start of printf tests 991s ok 16 /printf/test-percent 991s ok 17 /printf/test-positional-params 991s ok - glib/test-printf.test 991s # Running test: glib/async-splice-output-stream.test 991s ok 18 /printf/test-64bit 991s # Start of test-64bit tests 991s # Start of subprocess tests 991s # End of subprocess tests 991s # End of test-64bit tests 991s # End of printf tests 991s # Start of sprintf tests 991s ok 19 /sprintf/test-positional-params 991s ok 20 /sprintf/upper-bound 991s # End of sprintf tests 991s # Start of vasprintf tests 991s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 991s ok 21 /vasprintf/invalid-format-placeholder 991s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 991s ok 22 /vasprintf/invalid-wide-string 991s # End of vasprintf tests 991s TAP version 14 991s # random seed: R02Sbfb36d8d1db93112ac0682d88e392586 991s 1..5 991s # Start of async-splice tests 991s ok 1 /async-splice/copy-chunks 991s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 991s ok 2 /async-splice/copy-chunks-threaded-input 991s ok 3 /async-splice/copy-chunks-threaded-output 991s ok 4 /async-splice/copy-chunks-threaded 991s ok 5 /async-splice/cancelled 991s # End of async-splice tests 991s ok - glib/async-splice-output-stream.test 991s # Running test: glib/gdbus-connection-flush.test 991s TAP version 14 991s # random seed: R02S7fa1a858ff643e3e72357a2d90783689 991s 1..2 991s # Start of gdbus tests 991s # Start of connection tests 991s # Start of flush tests 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/busy/.dirs/runtime 991s ok 1 /gdbus/connection/flush/busy 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_MDR7Z2/gdbus/connection/flush/idle/.dirs/runtime 991s ok 2 /gdbus/connection/flush/idle 991s # End of flush tests 991s # End of connection tests 991s ok - glib/gdbus-connection-flush.test 991s # Running test: glib/socket-service.test 991s # End of gdbus tests 991s TAP version 14 991s # random seed: R02S9ba93fecff7e56a19a05bd24ee07eb86 991s 1..4 991s # Start of socket-service tests 991s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 991s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x45be4c3c370 and GSocketClientAsyncConnectData 0x45be4c34620 991s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 991s ok 1 /socket-service/start-stop 991s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x45be4c3ded0 and GSocketClientAsyncConnectData 0x45be4c3dc70 991s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 991s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 991s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x45be4c3e3e0 for GSocketClientAsyncConnectData 0x45be4c34620 991s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 991s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 991s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 991s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 991s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 991s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x45be4c3f260 for GSocketClientAsyncConnectData 0x45be4c3dc70 991s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 991s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 991s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 991s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 991s ok 2 /socket-service/read_write_async 991s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x45be4c41fb0 and GSocketClientAsyncConnectData 0x45be4c3f9d0 991s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 991s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 991s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x45be4c40190 for GSocketClientAsyncConnectData 0x45be4c3f9d0 991s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 991s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 991s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 991s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 991s ok 3 /socket-service/read_writev_async 991s # Start of threaded tests 991s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 991s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x45be4c43710 and GSocketClientAsyncConnectData 0x45be4c3fd50 991s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 991s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 991s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x45be4c43940 for GSocketClientAsyncConnectData 0x45be4c3fd50 991s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 991s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 991s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 991s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 991s ok 4 /socket-service/threaded/712570 991s # End of threaded tests 991s # End of socket-service tests 991s ok - glib/socket-service.test 991s # Running test: glib/socket-listener.test 991s TAP version 14 991s # random seed: R02S1cf63a69dafda4055d16fbe8fbe3060f 991s 1..1 991s # Start of socket-listener tests 991s ok 1 /socket-listener/event-signal 991s # End of socket-listener tests 991s ok - glib/socket-listener.test 991s # Running test: glib/contenttype.test 991s TAP version 14 991s # random seed: R02S03eec2d9e34de6d9e0652fef29a7cccc 991s 1..13 991s # Start of contenttype tests 991s ok 1 /contenttype/guess 991s ok 2 /contenttype/guess_svg_from_data 991s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 991s ok 4 /contenttype/unknown 991s ok 5 /contenttype/subtype 991s ok 6 /contenttype/list 991s ok 7 /contenttype/executable 991s ok 8 /contenttype/description 991s ok - glib/contenttype.test 991s # Running test: glib/sequence.test 991s ok 9 /contenttype/icon 991s ok 10 /contenttype/symbolic-icon 991s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 991s ok 11 /contenttype/tree 991s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 991s ok 12 /contenttype/tree_invalid_encoding 991s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 991s ok 13 /contenttype/test_type_is_a_special_case 991s # End of contenttype tests 991s TAP version 14 991s # random seed: R02S43695983b0118c010d77df6735866e36 991s 1..16 991s # Start of sequence tests 991s ok 1 /sequence/out-of-range-jump 991s ok 2 /sequence/iter-move 991s ok 3 /sequence/insert-sorted-non-pointer 991s ok 4 /sequence/stable-sort 991s ok 5 /sequence/is_empty 991s # Start of random tests 992s ok 6 /sequence/random/seed:825541564 992s # slow test /sequence/random/seed:825541564 executed in 0.80 secs 993s # Executing: glib/sequence.test 993s ok 7 /sequence/random/seed:801678400 993s # slow test /sequence/random/seed:801678400 executed in 0.76 secs 994s ok 8 /sequence/random/seed:1477639090 994s # slow test /sequence/random/seed:1477639090 executed in 0.80 secs 994s ok 9 /sequence/random/seed:3369132895 994s # slow test /sequence/random/seed:3369132895 executed in 0.73 secs 995s ok 10 /sequence/random/seed:1192944867 995s # slow test /sequence/random/seed:1192944867 executed in 0.77 secs 996s ok 11 /sequence/random/seed:770458294 996s # slow test /sequence/random/seed:770458294 executed in 0.86 secs 997s ok 12 /sequence/random/seed:1099575817 997s # slow test /sequence/random/seed:1099575817 executed in 0.78 secs 998s ok 13 /sequence/random/seed:590523467 998s # slow test /sequence/random/seed:590523467 executed in 0.79 secs 998s # Executing: glib/sequence.test 998s ok 14 /sequence/random/seed:3583571454 998s # slow test /sequence/random/seed:3583571454 executed in 0.80 secs 999s ok 15 /sequence/random/seed:579241222 999s # slow test /sequence/random/seed:579241222 executed in 0.80 secs 1000s ok 16 /sequence/random/seed:1866636075 1000s # slow test /sequence/random/seed:1866636075 executed in 0.83 secs 1000s # End of random tests 1000s # End of sequence tests 1000s ok - glib/sequence.test 1000s # Running test: glib/references.test 1000s TAP version 14 1000s # random seed: R02S4f585b745be9390e2b959bb6aaf2582b 1000s 1..1 1000s # Start of gobject tests 1000s ok 1 /gobject/references 1000s # End of gobject tests 1000s ok - glib/references.test 1000s # Running test: glib/filter-streams.test 1000s TAP version 14 1000s # random seed: R02Sab083373ea861e9a0c822b9a82a450a8 1000s 1..4 1000s # Start of filter-stream tests 1000s ok - glib/filter-streams.test 1000s # Running test: glib/throws.test 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1000s ok 1 /filter-stream/input 1000s ok 2 /filter-stream/output 1000s ok 3 /filter-stream/async-input 1000s ok 4 /filter-stream/async-output 1000s # End of filter-stream tests 1000s TAP version 14 1000s # random seed: R02S3dcc9c63e0092f8f4c16570b607b2e10 1000s 1..3 1000s # Start of throws tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_TH46Z2/throws/invoke-gerror/.dirs/runtime 1000s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1000s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1000s ok 1 /throws/invoke-gerror 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_TH46Z2/throws/vfunc-can-throw-gerror/.dirs/runtime 1000s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1000s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1000s ok 2 /throws/vfunc-can-throw-gerror 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_TH46Z2/throws/callback-can-throw-gerror/.dirs/runtime 1000s ok - glib/throws.test 1000s # Running test: glib/gdbus-addresses.test 1000s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1000s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1000s ok 3 /throws/callback-can-throw-gerror 1000s # End of throws tests 1000s TAP version 14 1000s # random seed: R02S3ebebcabe292b87ddaa56724cf6f5675 1000s 1..9 1000s # Start of gdbus tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/empty-address/.dirs/runtime 1000s ok 1 /gdbus/empty-address 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/home 1000s ok - glib/gdbus-addresses.test 1000s # Running test: glib/bitlock.test 1000s ok - glib/bitlock.test 1000s # Running test: glib/tls-database.test 1000s ok - glib/tls-database.test 1000s # Running test: glib/async-close-output-stream.test 1000s ok - glib/async-close-output-stream.test 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unsupported-address/.dirs/runtime 1000s ok 2 /gdbus/unsupported-address 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/address-parsing/.dirs/runtime 1000s ok 3 /gdbus/address-parsing 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/unix-address/.dirs/runtime 1000s ok 4 /gdbus/unix-address 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/nonce-tcp-address/.dirs/runtime 1000s ok 5 /gdbus/nonce-tcp-address 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/tcp-address/.dirs/runtime 1000s ok 6 /gdbus/tcp-address 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/autolaunch-address/.dirs/runtime 1000s ok 7 /gdbus/autolaunch-address 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/mixed-address/.dirs/runtime 1000s ok 8 /gdbus/mixed-address 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VRS9Z2/gdbus/escape-address/.dirs/runtime 1000s ok 9 /gdbus/escape-address 1000s # End of gdbus tests 1000s TAP version 14 1000s # random seed: R02S806f7c94c072a6be93c5bf8928767184 1000s 1..1 1000s # Start of bitlock tests 1000s # Start of performance tests 1000s # max perf: iterations per second 1000s ok 1 /bitlock/performance/uncontended 1000s # End of performance tests 1000s # End of bitlock tests 1000s TAP version 14 1000s # random seed: R02S6693aac1e229a40542d9c5c8c21b4002 1000s 1..1 1000s # Start of tls-backend tests 1000s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1000s ok 1 /tls-backend/set-default-database 1000s # End of tls-backend tests 1000s TAP version 14 1000s # random seed: R02S0570ce640bacbbb993ff9adafdbecd3b 1000s 1..3 1000s # Start of close-async tests 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1000s ok 1 /close-async/without-flush 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1000s ok 2 /close-async/with-flush 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1000s ok 3 /close-async/with-async-flush 1000s # End of close-async tests 1000s # Running test: glib/node.test 1000s ok - glib/node.test 1000s # Running test: glib/types.test 1000s ok - glib/types.test 1000s # Running test: glib/atomic.test 1000s TAP version 14 1000s # random seed: R02S15aa01a1aded226974cd9e16ef000dd2 1000s 1..6 1000s # Start of node tests 1000s ok 1 /node/allocation 1000s ok 2 /node/construction 1000s ok 3 /node/traversal 1000s ok 4 /node/misc 1000s ok 5 /node/unlink 1000s ok 6 /node/copy 1000s # End of node tests 1000s TAP version 14 1000s # random seed: R02S8c9a093fad9bb1d2812a54fda5e4df7b 1000s 1..1 1000s # Start of types tests 1000s ok 1 /types/basic_types 1000s # End of types tests 1000s TAP version 14 1000s # random seed: R02Sf19cbee22f0b709dd84802d237297ff8 1000s 1..2 1000s # Start of atomic tests 1000s ok 1 /atomic/types 1000s ok 2 /atomic/threaded 1000s ok - glib/atomic.test 1000s # Running test: glib/refcount-macro.test 1000s # End of atomic tests 1000s ok - glib/refcount-macro.test 1000s # Running test: glib/file-thumbnail.test 1000s TAP version 14 1000s # random seed: R02S20bd810e193309050eb8b1a7312578cf 1000s 1..4 1000s # Start of refcount tests 1000s ok 1 /refcount/grefcount 1000s ok 2 /refcount/gatomicrefcount 1000s # Start of grefcount tests 1000s ok 3 /refcount/grefcount/saturation 1000s # End of grefcount tests 1000s # Start of gatomicrefcount tests 1000s ok 4 /refcount/gatomicrefcount/saturation 1000s # End of gatomicrefcount tests 1000s # End of refcount tests 1000s TAP version 14 1000s # random seed: R02S19215197b5a90c39981e15a808476d2b 1000s 1..7 1000s # Start of file-thumbnail tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/runtime 1000s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 1 /file-thumbnail/fail 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 2 /file-thumbnail/size-priority 1000s # Start of valid tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 3 /file-thumbnail/valid/normal 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 4 /file-thumbnail/valid/large 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 5 /file-thumbnail/valid/x-large 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/system-config2 1000s ok - glib/file-thumbnail.test 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 6 /file-thumbnail/valid/xx-large 1000s # End of valid tests 1000s # Start of unknown tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/runtime 1000s # Created test thumbnail at /tmp/test_file-thumbnail_5T15Z2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1000s ok 7 /file-thumbnail/unknown/super-large 1000s # End of unknown tests 1000s # End of file-thumbnail tests 1000s # Running test: glib/once.test 1000s TAP version 14 1000s # random seed: R02Sa9fabb7698dd0cd08a7441ca3fd86db4 1000s 1..5 1000s # Start of once tests 1000s # /once/single-threaded summary: Test g_once() usage from a single thread 1000s ok 1 /once/single-threaded 1000s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1000s ok 2 /once/multi-threaded 1000s # End of once tests 1000s # Start of once-init tests 1000s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1000s ok 3 /once-init/single-threaded 1000s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1000s ok 4 /once-init/multi-threaded 1000s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1000s ok - glib/once.test 1000s # Running test: glib/utils-c-17.test 1000s ok 5 /once-init/string 1000s # End of once-init tests 1000s TAP version 14 1000s # random seed: R02Sb50ff51988b4301f80993f617c850b64 1000s 1..40 1000s # Start of utils tests 1000s ok 1 /utils/language-names 1000s ok 2 /utils/locale-variants 1000s ok 3 /utils/version 1000s ok 4 /utils/appname 1000s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1000s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1000s ok 5 /utils/prgname-thread-safety 1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1000s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1000s ok 6 /utils/tmpdir 1000s ok 7 /utils/basic_bits 1000s ok 8 /utils/bits 1000s ok 9 /utils/swap 1000s ok 10 /utils/find-program 1000s ok 11 /utils/find-program-for-path 1000s ok 12 /utils/debug 1000s ok 13 /utils/codeset 1000s ok 14 /utils/codeset2 1000s ok 15 /utils/console-charset 1000s ok 16 /utils/gettext 1000s ok 17 /utils/username 1000s ok 18 /utils/realname 1000s ok 19 /utils/hostname 1000s ok 20 /utils/xdgdirs 1000s ok 21 /utils/specialdir 1000s # NAME: Ubuntu 1000s ok 22 /utils/os-info 1000s ok 23 /utils/clear-pointer 1000s ok 24 /utils/clear-pointer-cast 1000s ok 25 /utils/take-pointer 1000s ok 26 /utils/clear-source 1000s ok 27 /utils/misc-mem 1000s # /utils/aligned-mem summary: Aligned memory allocator 1000s # Alignment must not be zero 1000s # Alignment must be a power of two 1000s # Alignment must be a multiple of sizeof(void*) 1000s ok 28 /utils/aligned-mem 1000s # /utils/free-sized summary: Check that g_free_sized() works 1000s ok 29 /utils/free-sized 1000s ok 30 /utils/nullify 1000s ok - glib/utils-c-17.test 1000s ok 31 /utils/atexit 1000s ok 32 /utils/check-setuid 1000s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1000s ok 33 /utils/int-limits 1000s ok 34 /utils/clear-list 1000s ok 35 /utils/clear-slist 1000s # Start of specialdir tests 1000s ok 36 /utils/specialdir/desktop 1000s # End of specialdir tests 1000s # Start of clear-pointer tests 1000s ok 37 /utils/clear-pointer/side-effects 1000s # End of clear-pointer tests 1000s # Start of aligned-mem tests 1000s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1000s ok 38 /utils/aligned-mem/alignment 1000s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1000s ok 39 /utils/aligned-mem/zeroed 1000s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1000s ok 40 /utils/aligned-mem/free-sized 1000s # Start of subprocess tests 1000s # End of subprocess tests 1000s # End of aligned-mem tests 1000s # End of utils tests 1000s # Running test: glib/bytes.test 1000s ok - glib/bytes.test 1000s # Running test: glib/gdbus-connection-slow.test 1000s TAP version 14 1000s # random seed: R02Sb531335db12904fb82742f7473b9782c 1000s 1..21 1000s # Start of bytes tests 1000s ok 1 /bytes/new 1000s ok 2 /bytes/new-take 1000s ok 3 /bytes/new-static 1000s ok 4 /bytes/new-with-free-func 1000s ok 5 /bytes/new-from-bytes 1000s ok 6 /bytes/new-from-bytes-slice 1000s ok 7 /bytes/new-from-bytes-shared-ref 1000s ok 8 /bytes/hash 1000s ok 9 /bytes/equal 1000s ok 10 /bytes/compare 1000s ok 11 /bytes/null 1000s ok 12 /bytes/get-region 1000s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1000s ok 13 /bytes/unref-null 1000s # Start of to-data tests 1000s ok 14 /bytes/to-data/transferred 1000s ok 15 /bytes/to-data/two-refs 1000s ok 16 /bytes/to-data/non-malloc 1000s ok 17 /bytes/to-data/different-free-func 1000s # End of to-data tests 1000s # Start of to-array tests 1000s ok 18 /bytes/to-array/transferred 1000s ok 19 /bytes/to-array/two-refs 1000s ok 20 /bytes/to-array/non-malloc 1000s # Start of transferred tests 1000s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1000s ok 21 /bytes/to-array/transferred/oversize 1000s # End of transferred tests 1000s # End of to-array tests 1000s # End of bytes tests 1000s TAP version 14 1000s # random seed: R02S8923dd7fd45f0a8c0c716ca0ab963de2 1000s 1..2 1000s # Start of gdbus tests 1000s # Start of connection tests 1000s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/home 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/cache 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/system-config2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/config 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/system-data2 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/data 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/state 1000s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/flush/.dirs/runtime 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s ok 1 /gdbus/connection/flush 1001s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/home 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/cache 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/system-config2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/config 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/system-data2 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/data 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/state 1001s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_5G1E02/gdbus/connection/large_message/.dirs/runtime 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1001s ok 2 /gdbus/connection/large_message 1001s # End of connection tests 1001s # End of gdbus tests 1001s ok - glib/gdbus-connection-slow.test 1001s # Running test: glib/cond.test 1001s TAP version 14 1001s # random seed: R02Sda8350154c5d01984afb79ae1078e6c8 1001s 1..4 1001s # Start of thread tests 1001s ok 1 /thread/cond1 1001s ok 2 /thread/cond2 1001s # Start of cond tests 1002s ok 3 /thread/cond/wait-until 1002s # slow test /thread/cond/wait-until executed in 1.02 secs 1002s # Start of wait-until tests 1002s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1003s # Executing: glib/cond.test 1003s ok 4 /thread/cond/wait-until/contended-and-interrupted 1003s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1003s # End of wait-until tests 1003s # End of cond tests 1003s # End of thread tests 1003s ok - glib/cond.test 1003s # Running test: glib/simple-proxy.test 1003s TAP version 14 1003s # random seed: R02S4f94523b73c7b481908ddb6882979a25 1003s 1..3 1003s # Start of static-proxy tests 1003s ok 1 /static-proxy/uri 1003s ok 2 /static-proxy/socks 1003s ok 3 /static-proxy/ignore 1003s # End of static-proxy tests 1003s ok - glib/simple-proxy.test 1003s # Running test: glib/credentials.test 1003s ok - glib/credentials.test 1003s # Running test: glib/spawn-multithreaded.test 1003s TAP version 14 1003s # random seed: R02S74c7df5d22e09b2db262cd75c1d99c98 1003s 1..1 1003s # Start of credentials tests 1003s # GCredentials:linux-ucred:pid=12276,uid=1000,gid=1000 1003s # GCredentials:linux-ucred:pid=12276,uid=0,gid=1000 1003s ok 1 /credentials/basic 1003s # End of credentials tests 1003s TAP version 14 1003s # random seed: R02S37707c8fd61f9f4b0d12723ba4abd0c6 1003s 1..4 1003s # Start of gthread tests 1004s # Child 12280 (ttl 1) exited, status 0 1005s # Child 12281 (ttl 2) exited, status 0 1005s ok 1 /gthread/spawn-childs 1005s # slow test /gthread/spawn-childs executed in 2.00 secs 1005s # Created pid: 12285 (ttl 2) 1005s # Created pid: 12286 (ttl 1) 1006s # Child 12286 (ttl 1) exited, status 0 1007s # Child 12285 (ttl 2) exited, status 0 1007s ok 2 /gthread/spawn-childs-threads 1007s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1007s ok 3 /gthread/spawn-sync 1007s ok 4 /gthread/spawn-async 1007s # End of gthread tests 1007s ok - glib/spawn-multithreaded.test 1007s # Running test: glib/basics-gobject.test 1007s TAP version 14 1007s # random seed: R02S295c53a2933a09a2869110a4ae993dc5 1007s ok - glib/basics-gobject.test 1007s 1..1 1007s # Start of gobject tests 1007s # private data during initialization: 54321 == 54321 1007s # MAIN: emit test-signal: 1007s # ::test_signal default_handler called 1007s # ::test_signal default_handler called 1007s # ::test_signal default_handler called 1007s # signal return: "" 1007s # MAIN: call iface print-string on test and derived object: 1007s # Iface-FOO: "iface-string-from-test-type" from 0x19c065c1f7a0 1007s # Iface-BAR: "iface-string-from-derived-type" from 0x19c065c1f6c0 1007s # chaining: 1007s # Iface-FOO: "iface-string-from-derived-type" from 0x19c065c1f6c0 1007s # private data after initialization: 54321 == 54321 1007s ok 1 /gobject/basics 1007s # End of gobject tests 1007s # Running test: glib/unix-fd.test 1007s ok - glib/unix-fd.test 1007s # Running test: glib/tls-bindings.test 1007s ok - glib/tls-bindings.test 1007s # Running test: glib/gthash.test 1007s ok - glib/gthash.test 1007s # Running test: glib/hostutils.test 1007s ok - glib/hostutils.test 1007s # Running test: glib/markup-collect.test 1007s ok - glib/markup-collect.test 1007s # Running test: glib/memory-settings-backend.test 1007s ok - glib/memory-settings-backend.test 1007s # Running test: glib/timer.test 1007s ok - glib/timer.test 1007s # Running test: glib/buffered-output-stream.test 1007s ok - glib/buffered-output-stream.test 1007s # Running test: glib/markup.test 1007s ok - glib/markup.test 1007s # Running test: glib/repository-search-paths.test 1007s TAP version 14 1007s # random seed: R02S8a3afa194d50e6813aab075510e92564 1007s 1..2 1007s # Start of unix-fd tests 1007s ok 1 /unix-fd/fd-list 1007s ok 2 /unix-fd/scm 1007s # End of unix-fd tests 1007s TAP version 14 1007s # random seed: R02S48954292ffe53b8b0bd7677eb911fadb 1007s 1..2 1007s # Start of tls-connection tests 1007s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1007s ok 1 /tls-connection/get-tls-channel-binding 1007s ok 2 /tls-connection/get-dtls-channel-binding 1007s # End of tls-connection tests 1007s TAP version 14 1007s # random seed: R02S17a6affe9f47e0506367ef937e2febe5 1007s 1..1 1007s # Start of gthash tests 1007s ok 1 /gthash/build-retrieve 1007s # End of gthash tests 1007s TAP version 14 1007s # random seed: R02Sdacc655c6c1ff05ab659a756a6bba479 1007s 1..3 1007s # Start of hostutils tests 1007s ok 1 /hostutils/to_ascii 1007s ok 2 /hostutils/to_unicode 1007s ok 3 /hostutils/is_ip_addr 1007s # End of hostutils tests 1007s TAP version 14 1007s # random seed: R02S2809c4ca378c4af1a98c0c5d5cb11f1f 1007s 1..21 1007s # Start of markup tests 1007s # Start of collect tests 1007s ok 1 /markup/collect/0 1007s ok 2 /markup/collect/1 1007s ok 3 /markup/collect/2 1007s ok 4 /markup/collect/3 1007s ok 5 /markup/collect/4 1007s ok 6 /markup/collect/5 1007s ok 7 /markup/collect/6 1007s ok 8 /markup/collect/7 1007s ok 9 /markup/collect/8 1007s ok 10 /markup/collect/9 1007s ok 11 /markup/collect/10 1007s ok 12 /markup/collect/11 1007s ok 13 /markup/collect/12 1007s ok 14 /markup/collect/13 1007s ok 15 /markup/collect/14 1007s ok 16 /markup/collect/15 1007s ok 17 /markup/collect/16 1007s ok 18 /markup/collect/17 1007s ok 19 /markup/collect/18 1007s ok 20 /markup/collect/19 1007s ok 21 /markup/collect/cleanup 1007s # End of collect tests 1007s # End of markup tests 1007s TAP version 14 1007s # random seed: R02S19c09ec8fc716e254615073731140b84 1007s 1..1 1007s # Start of memory-settings-backend tests 1007s ok 1 /memory-settings-backend/extension-point-registered 1007s # End of memory-settings-backend tests 1007s TAP version 14 1007s # random seed: R02S49daffa02048da4eefda7b4c0c30fce2 1007s 1..10 1007s # Start of timer tests 1007s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1007s ok 2 /timer/stop 1007s ok 3 /timer/continue 1007s ok 4 /timer/reset 1007s ok 5 /timer/is_active 1007s # End of timer tests 1007s # Start of timeval tests 1007s ok 6 /timeval/add 1007s ok 7 /timeval/from-iso8601 1007s ok 8 /timeval/to-iso8601 1007s # Start of to-iso8601 tests 1007s ok 9 /timeval/to-iso8601/overflow 1007s # End of to-iso8601 tests 1007s # End of timeval tests 1007s # Start of usleep tests 1007s ok 10 /usleep/with-zero-wait 1007s # End of usleep tests 1007s TAP version 14 1007s # random seed: R02S1243d176022cbfc20fef7a3185bb963a 1007s 1..5 1007s # Start of buffered-output-stream tests 1007s ok 1 /buffered-output-stream/write 1007s ok 2 /buffered-output-stream/grow 1007s ok 3 /buffered-output-stream/seek 1007s ok 4 /buffered-output-stream/truncate 1007s # End of buffered-output-stream tests 1007s # Start of filter-output-stream tests 1007s ok 5 /filter-output-stream/close 1007s # End of filter-output-stream tests 1007s TAP version 14 1007s # random seed: R02S73a0cc133681c49bab5f3066f57c383a 1007s 1..1 1007s # Start of markup tests 1007s ok 1 /markup/stack 1007s # End of markup tests 1007s ok - glib/repository-search-paths.test 1007s # Running test: glib/gdbus-proxy.test 1007s TAP version 14 1007s # random seed: R02S9c3ed28c49cabd73feed61a29ca35d2a 1007s 1..4 1007s # Start of repository tests 1007s # Start of search-paths tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/default/.dirs/runtime 1007s ok 1 /repository/search-paths/default 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_L2AJ02/repository/search-paths/prepend/.dirs/runtime 1007s ok 2 /repository/search-paths/prepend 1007s # End of search-paths tests 1007s # Start of library-paths tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/default/.dirs/runtime 1007s ok 3 /repository/library-paths/default 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_L2AJ02/repository/library-paths/prepend/.dirs/runtime 1007s ok 4 /repository/library-paths/prepend 1007s # End of library-paths tests 1007s # End of repository tests 1007s TAP version 14 1007s # random seed: R02Sa580f98c94fb696b7be78323fdecdefd 1007s 1..5 1007s # Start of gdbus tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/.dirs/runtime 1007s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1008s # Executing: glib/gdbus-proxy.test 1009s ok 1 /gdbus/proxy 1009s # slow test /gdbus/proxy executed in 1.75 secs 1009s # Start of proxy tests 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-properties/.dirs/runtime 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s ok 2 /gdbus/proxy/no-properties 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/wellknown-noauto/.dirs/runtime 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1009s ok 3 /gdbus/proxy/wellknown-noauto 1009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/home 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/cache 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/system-config2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/config 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/system-data2 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/data 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/state 1009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/async/.dirs/runtime 1009s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1011s ok 4 /gdbus/proxy/async 1011s # slow test /gdbus/proxy/async executed in 1.74 secs 1011s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/home 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/cache 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/system-config2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/config 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/system-data2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/data 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/state 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_475I02/gdbus/proxy/no-match-rule/.dirs/runtime 1011s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1013s ok 5 /gdbus/proxy/no-match-rule 1013s # slow test /gdbus/proxy/no-match-rule executed in 1.74 secs 1013s # End of proxy tests 1013s # End of gdbus tests 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok - glib/gdbus-proxy.test 1013s # Running test: glib/contexts.test 1013s TAP version 14 1013s # random seed: R02S5bf8ccc33776dbe217822d9c5c385efc 1013s 1..5 1013s # Start of gio tests 1013s # Start of contexts tests 1013s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1013s ok 1 /gio/contexts/thread-independence 1013s ok 2 /gio/contexts/context-independence 1013s # Start of context-specific tests 1013s ok 3 /gio/contexts/context-specific/identity 1013s # Executing: glib/contexts.test 1013s ok 4 /gio/contexts/context-specific/emit 1013s ok 5 /gio/contexts/context-specific/emit-and-unref 1013s # End of context-specific tests 1013s # End of contexts tests 1013s # End of gio tests 1013s ok - glib/contexts.test 1013s # Running test: glib/mount-operation.test 1013s TAP version 14 1013s # random seed: R02S8487fe8d1394ae3ba806fb1a18cbe2e4 1013s 1..2 1013s # Start of mount-operation tests 1013s ok 1 /mount-operation/construction 1013s ok 2 /mount-operation/properties 1013s # End of mount-operation tests 1013s ok - glib/mount-operation.test 1013s # Running test: glib/accumulator.test 1013s TAP version 14 1013s # random seed: R02Se3356e7eff8cc4b773a33097646c2f53 1013s 1..1 1013s # Start of gobject tests 1013s ok 1 /gobject/accumulator 1013s # End of gobject tests 1013s ok - glib/accumulator.test 1013s # Running test: glib/buffered-input-stream.test 1013s TAP version 14 1013s # random seed: R02S485b56a25f7d5dc0a3cd15bd8fbc5982 1013s 1..10 1013s # Start of buffered-input-stream tests 1013s ok 1 /buffered-input-stream/peek 1013s ok 2 /buffered-input-stream/peek-buffer 1013s ok 3 /buffered-input-stream/set-buffer-size 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1013s ok 4 /buffered-input-stream/read-byte 1013s ok 5 /buffered-input-stream/read 1013s ok 6 /buffered-input-stream/read-async 1013s ok 7 /buffered-input-stream/skip 1013s ok 8 /buffered-input-stream/skip-async 1013s ok 9 /buffered-input-stream/seek 1013s # End of buffered-input-stream tests 1013s # Start of filter-input-stream tests 1013s ok - glib/buffered-input-stream.test 1013s # Running test: glib/permission.test 1013s ok - glib/permission.test 1013s # Running test: glib/hash.test 1013s ok - glib/hash.test 1013s ok 10 /filter-input-stream/close 1013s # End of filter-input-stream tests 1013s TAP version 14 1013s # random seed: R02S3505eba822f341bd40b0d32c51dfc3d9 1013s 1..1 1013s # Start of permission tests 1013s ok 1 /permission/simple 1013s # End of permission tests 1013s TAP version 14 1013s # random seed: R02Sfc600e08865dc5ab2386400cbaf9e847 1013s 1..34 1013s # Start of hash tests 1013s ok 1 /hash/misc 1013s ok 2 /hash/one 1013s ok 3 /hash/honeyman 1013s ok 4 /hash/direct 1013s ok 5 /hash/direct2 1013s ok 6 /hash/int 1013s ok 7 /hash/int64 1013s ok 8 /hash/double 1013s ok 9 /hash/string 1013s ok 10 /hash/set 1013s ok 11 /hash/set-ref 1013s ok 12 /hash/ref 1013s ok 13 /hash/remove-all 1013s ok 14 /hash/recursive-remove-all 1013s ok 15 /hash/find 1013s ok 16 /hash/foreach 1013s ok 17 /hash/foreach-steal 1013s ok 18 /hash/steal-extended 1013s ok 19 /hash/steal-all-keys 1013s ok 20 /hash/steal-all-values 1013s ok 21 /hash/lookup-extended 1013s ok 22 /hash/new-similar 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1013s ok 23 /hash/lookup-null-key 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1013s ok 24 /hash/destroy-modify 1013s ok 25 /hash/consistency 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1013s ok 26 /hash/iter-replace 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1013s ok 27 /hash/set-insert-corruption 1013s ok 28 /hash/set-to-strv 1013s ok 29 /hash/get-keys-as-ptr-array 1013s ok 30 /hash/get-values-as-ptr-array 1013s ok 31 /hash/primes 1013s # Start of int64 tests 1013s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1013s ok 32 /hash/int64/collisions 1013s # End of int64 tests 1013s # Start of double tests 1013s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1013s ok 33 /hash/double/collisions 1013s # End of double tests 1013s # Start of recursive-remove-all tests 1013s # End of recursive-remove-all tests 1013s # Start of steal-extended tests 1013s ok 34 /hash/steal-extended/optional 1013s # End of steal-extended tests 1013s # End of hash tests 1013s # Running test: glib/object.test 1013s ok - glib/object.test 1013s # Running test: glib/atomic-c-11.test 1013s TAP version 14 1013s # random seed: R02Sb36005a3b918d34e707fe2a767842eb0 1013s 1..2 1013s # Start of object tests 1013s # Start of constructor tests 1013s ok 1 /object/constructor/singleton 1013s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1013s # End of constructor tests 1013s # End of object tests 1013s TAP version 14 1013s # random seed: R02S427c1f27864c491fdb75e44252378c6e 1013s 1..2 1013s # Start of atomic tests 1013s ok 1 /atomic/types 1013s ok - glib/atomic-c-11.test 1013s ok 2 /atomic/threaded 1013s # End of atomic tests 1013s # Running test: glib/binding.test 1013s TAP version 14 1013s # random seed: R02S199415c0b1f85c90bdd8914fe25dba6e 1013s 1..19 1013s # Start of binding tests 1013s ok 1 /binding/default 1013s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1013s ok 2 /binding/canonicalisation 1013s ok 3 /binding/bidirectional 1013s ok 4 /binding/transform 1013s ok 5 /binding/transform-default 1013s ok 6 /binding/transform-closure 1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1013s ok 7 /binding/chain 1013s ok 8 /binding/sync-create 1013s ok 9 /binding/invert-boolean 1013s ok 10 /binding/same-object 1013s ok 11 /binding/unbind 1013s ok 12 /binding/unbind-weak 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1013s ok 13 /binding/unbind-multiple 1013s ok 14 /binding/fail 1013s ok 15 /binding/interface 1013s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1013s ok 16 /binding/concurrent-unbind 1013s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1013s ok 17 /binding/concurrent-finalizing 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1013s ok 18 /binding/dispose-source 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1013s ok - glib/binding.test 1013s # Running test: glib/volumemonitor.test 1013s ok 19 /binding/dispose-target 1013s # End of binding tests 1013s TAP version 14 1013s # random seed: R02S251be5dd97087b1f7e28c3c68b86b7a1 1013s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1013s ok - glib/volumemonitor.test 1013s 1..3 1013s # Start of volumemonitor tests 1013s ok 1 /volumemonitor/connected_drives 1013s ok 2 /volumemonitor/volumes 1013s ok 3 /volumemonitor/mounts 1013s # End of volumemonitor tests 1013s # Running test: glib/fileutils.test 1013s TAP version 14 1013s # random seed: R02Sd56ad6845bdced74396149c5b327954c 1013s 1..27 1013s # Start of fileutils tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/paths/.dirs/runtime 1013s ok 1 /fileutils/paths 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/build-path/.dirs/runtime 1013s ok 2 /fileutils/build-path 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/build-pathv/.dirs/runtime 1013s ok 3 /fileutils/build-pathv 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/build-filename/.dirs/runtime 1013s ok 4 /fileutils/build-filename 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/build-filenamev/.dirs/runtime 1013s ok 5 /fileutils/build-filenamev 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents/.dirs/runtime 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s ok 6 /fileutils/mkdir-with-parents 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s ok 7 /fileutils/mkdir-with-parents-permission 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/format-size-for-display/.dirs/runtime 1013s ok 8 /fileutils/format-size-for-display 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/errors/.dirs/runtime 1013s ok 9 /fileutils/errors 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/basename/.dirs/runtime 1013s ok 10 /fileutils/basename 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/get-basename/.dirs/runtime 1013s ok 11 /fileutils/get-basename 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/dirname/.dirs/runtime 1013s ok 12 /fileutils/dirname 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/dir-make-tmp/.dirs/runtime 1013s ok 13 /fileutils/dir-make-tmp 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/file-open-tmp/.dirs/runtime 1013s ok 14 /fileutils/file-open-tmp 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/file-test/.dirs/runtime 1013s ok 15 /fileutils/file-test 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/mkstemp/.dirs/runtime 1013s ok 16 /fileutils/mkstemp 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/mkdtemp/.dirs/runtime 1013s ok 17 /fileutils/mkdtemp 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents/.dirs/runtime 1013s ok 18 /fileutils/get-contents 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/get-contents-large-file/.dirs/runtime 1013s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents/.dirs/runtime 1013s ok 20 /fileutils/set-contents 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/.dirs/runtime 1013s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1013s # Flags 0 and test 0 1013s # Flags 0 and test 1 1013s # Flags 0 and test 2 1013s # Flags 0 and test 3 1013s # Flags 0 and test 4 1013s # Flags 0 and test 5 1013s # Flags 1 and test 0 1013s # Flags 1 and test 1 1013s # Flags 1 and test 2 1013s # Flags 1 and test 3 1013s # Flags 1 and test 4 1013s # Flags 1 and test 5 1013s # Flags 2 and test 0 1013s # Flags 2 and test 1 1013s # Flags 2 and test 2 1013s # Flags 2 and test 3 1013s # Flags 2 and test 4 1013s # Flags 2 and test 5 1013s # Flags 3 and test 0 1013s # Flags 3 and test 1 1013s # Flags 3 and test 2 1013s # Flags 3 and test 3 1013s # Flags 3 and test 4 1013s # Flags 3 and test 5 1013s # Flags 4 and test 0 1013s # Flags 4 and test 1 1013s # Flags 4 and test 2 1013s # Flags 4 and test 3 1013s # Flags 4 and test 4 1013s # Flags 4 and test 5 1013s # Flags 5 and test 0 1013s # Flags 5 and test 1 1013s # Flags 5 and test 2 1013s # Flags 5 and test 3 1013s # Flags 5 and test 4 1013s # Flags 5 and test 5 1013s # Flags 6 and test 0 1013s # Flags 6 and test 1 1013s # Flags 6 and test 2 1013s # Flags 6 and test 3 1013s # Flags 6 and test 4 1013s # Flags 6 and test 5 1013s ok 21 /fileutils/set-contents-full 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/read-link/.dirs/runtime 1013s ok 22 /fileutils/read-link 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/stdio-wrappers/.dirs/runtime 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s ok 23 /fileutils/stdio-wrappers 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/fopen-modes/.dirs/runtime 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1013s # Testing fopen() mode 'w' 1013s # Testing fopen() mode 'r' 1013s # Testing fopen() mode 'a' 1013s # Testing fopen() mode 'w+' 1013s # Testing fopen() mode 'r+' 1013s # Testing fopen() mode 'a+' 1013s # Testing fopen() mode 'wb' 1013s # Testing fopen() mode 'rb' 1013s # Testing fopen() mode 'ab' 1013s # Testing fopen() mode 'w+b' 1013s # Testing fopen() mode 'r+b' 1013s # Testing fopen() mode 'a+b' 1013s # Testing fopen() mode 'wb+' 1013s # Testing fopen() mode 'rb+' 1013s # Testing fopen() mode 'ab+' 1013s ok 24 /fileutils/fopen-modes 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/clear-fd/.dirs/runtime 1013s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1013s # Will be closed by autocleanup: 3, -42 1013s # Testing error handling 1013s ok 25 /fileutils/clear-fd 1013s # Start of set-contents-full tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1013s ok 26 /fileutils/set-contents-full/read-only-file 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_84Z4Z2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1013s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1013s # Flags 0 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s # Flags 1 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s # Flags 2 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s # Flags 3 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s # Flags 4 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s # Flags 5 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s # Flags 6 1013s # We do not have CAP_DAC_OVERRIDE or equivalent 1013s ok 27 /fileutils/set-contents-full/read-only-directory 1013s # End of set-contents-full tests 1013s # Start of clear-fd tests 1013s # Start of subprocess tests 1013s # End of subprocess tests 1013s # End of clear-fd tests 1013s # End of fileutils tests 1013s Unable to clean up temporary directory /tmp/test_fileutils_84Z4Z2/glib-file-set-contents-full-rodir-RASE02: Directory not empty 1013s Unable to clean up temporary directory /tmp/test_fileutils_84Z4Z2/glib-file-set-contents-full-rodir-HYUE02: Directory not empty 1013s Unable to clean up temporary directory /tmp/test_fileutils_84Z4Z2/glib-file-set-contents-full-rodir-IB0E02: Directory not empty 1013s Unable to clean up temporary directory /tmp/test_fileutils_84Z4Z2/glib-file-set-contents-full-rodir-GRSE02: Directory not empty 1013s Unable to clean up temporary directory /tmp/test_fileutils_84Z4Z2/glib-file-set-contents-full-rodir-ODRE02: Directory not empty 1013s Unable to clean up temporary directory /tmp/test_fileutils_84Z4Z2/glib-file-set-contents-full-rodir-8JWE02: Directory not empty 1013s Unable to clean up temporary directory /tmp/test_fileutils_84Z4Z2/glib-file-set-contents-full-rodir-P2PE02: Directory not empty 1013s Unable to clean up temporary directory /tmp/test_fileutils_84Z4Z2: Directory not empty 1013s ok - glib/fileutils.test 1013s # Running test: glib/struct-info.test 1013s TAP version 14 1013s # random seed: R02Sa68f4bee1e4c6586585e93b4e524d290 1013s 1..4 1013s # Start of struct-info tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_9ZJE02/struct-info/field-iterators/.dirs/runtime 1013s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1013s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1013s ok 1 /struct-info/field-iterators 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_9ZJE02/struct-info/sizeof-gvalue/.dirs/runtime 1013s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1013s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1013s ok 2 /struct-info/sizeof-gvalue 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_9ZJE02/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1013s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1013s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1013s ok 3 /struct-info/is-pointer-for-struct-method-arg 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_9ZJE02/struct-info/boxed/.dirs/runtime 1013s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1013s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1013s ok 4 /struct-info/boxed 1013s # End of struct-info tests 1013s ok - glib/struct-info.test 1013s # Running test: glib/portal-support-snap-classic.test 1013s TAP version 14 1013s # random seed: R02S30b8ec4fe8a801713bb2cc4477368481 1013s 1..3 1013s # Start of portal-support tests 1013s # Start of snap-classic tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl/.dirs/runtime 1013s ok - glib/portal-support-snap-classic.test 1013s # Running test: glib/task.test 1013s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/no-snapctl: No such file or directory 1013s ok 1 /portal-support/snap-classic/no-snapctl 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/runtime 1013s # Created snap.yaml in /tmp/test_portal-support-snap-classic_97BE02/meta/snap.yaml 1013s # Created snapctl in /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none/.dirs/runtime/snapctl 1013s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/none: No such file or directory 1013s ok 2 /portal-support/snap-classic/none 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/runtime 1013s # Created snap.yaml in /tmp/test_portal-support-snap-classic_97BE02/meta/snap.yaml 1013s # Created snapctl in /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all/.dirs/runtime/snapctl 1013s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_97BE02/portal-support/snap-classic/all: No such file or directory 1013s ok 3 /portal-support/snap-classic/all 1013s # End of snap-classic tests 1013s # End of portal-support tests 1013s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_97BE02: No such file or directory 1013s TAP version 14 1013s # random seed: R02Sed2313efae2523ea12317d85ebb206f9 1013s 1..36 1013s # Start of gtask tests 1013s ok 1 /gtask/basic 1013s ok 2 /gtask/error 1013s ok 3 /gtask/error-literal 1013s ok 4 /gtask/error-literal-from-variable 1013s ok 5 /gtask/return-from-same-iteration 1013s ok 6 /gtask/return-from-toplevel 1013s ok 7 /gtask/return-from-anon-thread 1013s ok 8 /gtask/return-from-wrong-thread 1013s ok 9 /gtask/no-callback 1013s ok 10 /gtask/report-error 1013s ok 11 /gtask/priority 1013s ok 12 /gtask/name 1013s ok 13 /gtask/static-name 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1014s ok 14 /gtask/asynchronous-cancellation 1014s ok 15 /gtask/check-cancellable 1014s ok 16 /gtask/return-if-cancelled 1014s ok 17 /gtask/run-in-thread 1014s ok 18 /gtask/run-in-thread-sync 1014s ok 19 /gtask/run-in-thread-priority 1014s ok 20 /gtask/run-in-thread-nested 1014s ok 21 /gtask/run-in-thread-overflow 1014s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 1014s # GLib-GIO-DEBUG: GTask 0x1bd6e6d2a70 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1014s # GLib-GIO-DEBUG: GTask 0x1bd6e6d2d30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1014s ok 22 /gtask/return-on-cancel 1014s # GLib-GIO-DEBUG: GTask 0x1bd6e741e00 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1014s # GLib-GIO-DEBUG: GTask 0x1bd6e6d3030 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1014s ok 23 /gtask/return-on-cancel-sync 1014s ok 24 /gtask/return-on-cancel-atomic 1014s ok 25 /gtask/return-pointer 1014s ok 26 /gtask/return-value 1014s ok 27 /gtask/return-prefixed-error 1014s ok 28 /gtask/object-keepalive 1014s ok 29 /gtask/legacy-error 1014s ok 30 /gtask/finalize-without-return 1014s # Start of name tests 1014s ok 31 /gtask/name/macro-wrapper 1014s # End of name tests 1014s # Start of return tests 1014s ok 32 /gtask/return/error-first 1014s ok 33 /gtask/return/value-first 1014s # Start of in-idle tests 1014s ok 34 /gtask/return/in-idle/error-first 1014s ok 35 /gtask/return/in-idle/value-first 1014s # End of in-idle tests 1014s # End of return tests 1014s # Start of attach-source tests 1014s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1014s ok 36 /gtask/attach-source/set-name 1014s # End of attach-source tests 1014s # End of gtask tests 1014s ok - glib/task.test 1014s # Running test: glib/utf8-performance.test 1014s TAP version 14 1014s # random seed: R02Se6986df903282d8dcd1f7b31d38c2a30 1014s 1..36 1014s # Start of utf8 tests 1014s # Start of perf tests 1014s # Start of get_char tests 1014s # max perf: 43.0 MB/s 1014s ok 1 /utf8/perf/get_char/ascii 1014s # max perf: 67.0 MB/s 1014s ok 2 /utf8/perf/get_char/latin1 1014s # max perf: 160.0 MB/s 1014s ok 3 /utf8/perf/get_char/cyrillic 1014s # max perf: 156.0 MB/s 1014s ok 4 /utf8/perf/get_char/han 1014s # End of get_char tests 1014s # Start of get_char-backwards tests 1014s # max perf: inf MB/s 1014s ok 5 /utf8/perf/get_char-backwards/ascii 1014s # max perf: 67.0 MB/s 1014s ok 6 /utf8/perf/get_char-backwards/latin1 1014s # max perf: 160.0 MB/s 1014s ok 7 /utf8/perf/get_char-backwards/cyrillic 1014s # max perf: 156.0 MB/s 1014s ok 8 /utf8/perf/get_char-backwards/han 1014s # End of get_char-backwards tests 1014s # Start of get_char_validated tests 1014s # max perf: 43.0 MB/s 1014s ok 9 /utf8/perf/get_char_validated/ascii 1014s # max perf: 67.0 MB/s 1014s ok 10 /utf8/perf/get_char_validated/latin1 1014s # max perf: 160.0 MB/s 1014s ok 11 /utf8/perf/get_char_validated/cyrillic 1014s # max perf: inf MB/s 1014s ok 12 /utf8/perf/get_char_validated/han 1014s # End of get_char_validated tests 1014s # Start of utf8_to_ucs4 tests 1014s # max perf: 43.0 MB/s 1014s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1014s # max perf: 33.5 MB/s 1014s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1014s # max perf: 26.7 MB/s 1014s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1014s # max perf: 156.0 MB/s 1014s ok 16 /utf8/perf/utf8_to_ucs4/han 1014s # End of utf8_to_ucs4 tests 1014s # Start of utf8_to_ucs4-sized tests 1014s # max perf: inf MB/s 1014s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1014s # max perf: 67.0 MB/s 1014s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1014s # max perf: 80.0 MB/s 1014s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1014s # max perf: inf MB/s 1014s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1014s # End of utf8_to_ucs4-sized tests 1014s # Start of utf8_to_ucs4_fast tests 1014s # max perf: inf MB/s 1014s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1014s # max perf: inf MB/s 1014s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1014s # max perf: 160.0 MB/s 1014s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1014s # max perf: inf MB/s 1014s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1014s # End of utf8_to_ucs4_fast tests 1014s # Start of utf8_to_ucs4_fast-sized tests 1014s # max perf: 43.0 MB/s 1014s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1014s # max perf: inf MB/s 1014s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1014s # max perf: 160.0 MB/s 1014s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1014s # max perf: 156.0 MB/s 1014s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1014s # End of utf8_to_ucs4_fast-sized tests 1014s # Start of utf8_validate tests 1014s # max perf: inf MB/s 1014s ok 29 /utf8/perf/utf8_validate/ascii 1014s # max perf: inf MB/s 1014s ok 30 /utf8/perf/utf8_validate/latin1 1014s # max perf: inf MB/s 1014s ok 31 /utf8/perf/utf8_validate/cyrillic 1014s # max perf: inf MB/s 1014s ok 32 /utf8/perf/utf8_validate/han 1014s # End of utf8_validate tests 1014s # Start of utf8_validate-sized tests 1014s # max perf: inf MB/s 1014s ok 33 /utf8/perf/utf8_validate-sized/ascii 1014s # max perf: inf MB/s 1014s ok 34 /utf8/perf/utf8_validate-sized/latin1 1014s # max perf: inf MB/s 1014s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1014s # max perf: inf MB/s 1014s ok 36 /utf8/perf/utf8_validate-sized/han 1014s # End of utf8_validate-sized tests 1014s # End of perf tests 1014s # End of utf8 tests 1014s ok - glib/utf8-performance.test 1014s # Running test: glib/gsubprocess.test 1014s TAP version 14 1014s # random seed: R02S96427165170700eeeb7a2db412ac8cda 1014s 1..83 1014s # Start of gsubprocess tests 1014s ok 1 /gsubprocess/noop 1014s ok 2 /gsubprocess/noop-all-to-null 1014s ok 3 /gsubprocess/noop-no-wait 1014s ok 4 /gsubprocess/noop-stdin-inherit 1014s ok 5 /gsubprocess/search-path 1014s ok 6 /gsubprocess/search-path-from-envp 1018s # Executing: glib/gsubprocess.test 1018s ok 7 /gsubprocess/signal 1018s # slow test /gsubprocess/signal executed in 3.40 secs 1018s ok 8 /gsubprocess/exit1 1018s ok 9 /gsubprocess/echo1 1018s ok 10 /gsubprocess/echo-merged 1018s ok 11 /gsubprocess/cat-utf8 1019s ok 12 /gsubprocess/cat-eof 1019s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1022s ok 13 /gsubprocess/multi1 1022s # slow test /gsubprocess/multi1 executed in 3.01 secs 1022s ok 14 /gsubprocess/communicate 1023s # Executing: glib/gsubprocess.test 1025s ok 15 /gsubprocess/terminate 1025s # slow test /gsubprocess/terminate executed in 2.97 secs 1025s ok 16 /gsubprocess/env 1025s ok 17 /gsubprocess/cwd 1025s ok 18 /gsubprocess/launcher-close 1025s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1025s ok 19 /gsubprocess/stdout-file 1025s ok 20 /gsubprocess/stdout-fd 1025s ok 21 /gsubprocess/child-setup 1025s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1025s ok 22 /gsubprocess/launcher-environment 1025s # Start of exit1 tests 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1025s ok 23 /gsubprocess/exit1/cancel 1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1025s ok 24 /gsubprocess/exit1/cancel_in_cb 1025s # End of exit1 tests 1025s # Start of communicate tests 1025s ok 25 /gsubprocess/communicate/cancelled 1025s ok 26 /gsubprocess/communicate/async 1025s ok 27 /gsubprocess/communicate/utf8 1025s # hello world 1025s ok 28 /gsubprocess/communicate/no-pipes 1025s ok 29 /gsubprocess/communicate/separate-stderr 1025s ok 30 /gsubprocess/communicate/stdout-only 1025s # hello world 1025s ok 31 /gsubprocess/communicate/stderr-only 1025s ok 32 /gsubprocess/communicate/stdout-silence 1025s ok 33 /gsubprocess/communicate/nothing 1025s # Start of async tests 1025s ok 34 /gsubprocess/communicate/async/cancelled 1025s # hello world 1025s ok 35 /gsubprocess/communicate/async/no-pipes 1025s ok 36 /gsubprocess/communicate/async/separate-stderr 1025s ok 37 /gsubprocess/communicate/async/stdout-only 1025s # hello world 1025s ok 38 /gsubprocess/communicate/async/stderr-only 1025s ok 39 /gsubprocess/communicate/async/stdout-silence 1025s # Start of cancelled tests 1025s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1025s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1025s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1025s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1025s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1025s # End of cancelled tests 1025s # End of async tests 1025s # Start of utf8 tests 1025s ok 45 /gsubprocess/communicate/utf8/cancelled 1025s ok 46 /gsubprocess/communicate/utf8/async 1025s # hello world 1025s ok 47 /gsubprocess/communicate/utf8/no-pipes 1025s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1025s ok 49 /gsubprocess/communicate/utf8/stdout-only 1025s # hello world 1025s ok 50 /gsubprocess/communicate/utf8/stderr-only 1025s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1025s ok 52 /gsubprocess/communicate/utf8/invalid 1025s # Start of async tests 1025s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1025s # hello world 1025s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1025s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1025s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1025s # hello world 1025s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1025s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1025s ok 59 /gsubprocess/communicate/utf8/async/invalid 1025s # Start of cancelled tests 1025s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1025s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1025s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1025s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1025s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1025s # End of cancelled tests 1025s # End of async tests 1025s # Start of cancelled tests 1025s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1025s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1025s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1025s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1025s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1025s # End of cancelled tests 1025s # End of utf8 tests 1025s # Start of cancelled tests 1025s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1025s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1025s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1025s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1025s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1025s # End of cancelled tests 1025s # End of communicate tests 1025s # Start of env tests 1025s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1025s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1025s ok 75 /gsubprocess/env/inherit 1025s # End of env tests 1025s # Start of pass-fd tests 1025s ok 76 /gsubprocess/pass-fd/basic 1025s ok 77 /gsubprocess/pass-fd/empty-child-setup 1025s ok 78 /gsubprocess/pass-fd/inherit-fds 1025s # End of pass-fd tests 1025s # Start of fd-conflation tests 1025s ok 79 /gsubprocess/fd-conflation/basic 1025s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1025s ok 81 /gsubprocess/fd-conflation/inherit-fds 1025s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1025s # End of fd-conflation tests 1025s # Start of exit-status tests 1025s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1025s ok 83 /gsubprocess/exit-status/trapped 1025s # End of exit-status tests 1025s # End of gsubprocess tests 1025s ok - glib/gsubprocess.test 1025s # Running test: glib/performance.test 1025s Running test simple-construction 1028s # Executing: glib/performance.test 1033s # Executing: glib/performance.test 1034s simple-construction: Millions of constructed objects per second: 4.251 1034s Running test simple-construction1 1037s simple-construction1: Millions of constructed objects per second: 53.786 1037s Running test complex-construction 1038s # Executing: glib/performance.test 1041s complex-construction: Millions of constructed objects per second: 2.396 1041s Running test complex-construction1 1043s # Executing: glib/performance.test 1046s complex-construction1: Millions of constructed objects per second: 3.245 1046s Running test complex-construction2 1048s # Executing: glib/performance.test 1052s complex-construction2: Millions of constructed objects per second: 3.505 1052s Running test finalization 1053s # Executing: glib/performance.test 1053s finalization: Millions of finalized objects per second: 0.784 1053s Running test type-check 1053s type-check: Million type checks per second: inf 1053s Running test emit-unhandled 1054s emit-unhandled: Emissions per second: 1102389 1054s Running test emit-unhandled-empty 1055s emit-unhandled-empty: Emissions per second: 10094721 1055s Running test emit-unhandled-generic 1056s emit-unhandled-generic: Emissions per second: 1319760 1056s Running test emit-unhandled-generic-empty 1058s emit-unhandled-generic-empty: Emissions per second: 10057732 1058s Running test emit-unhandled-args 1058s # Executing: glib/performance.test 1059s emit-unhandled-args: Emissions per second: 1022597 1059s Running test emit-handled 1060s emit-handled: Emissions per second: 825732 1060s Running test emit-handled-empty 1061s emit-handled-empty: Emissions per second: 847045 1061s Running test emit-handled-generic 1062s emit-handled-generic: Emissions per second: 806221 1062s Running test emit-handled-generic-empty 1063s # Executing: glib/performance.test 1063s emit-handled-generic-empty: Emissions per second: 1288404 1063s Running test emit-handled-args 1064s emit-handled-args: Emissions per second: 758069 1064s Running test notify-unhandled 1065s notify-unhandled: Notify (unhandled) per second: 10786127 1065s Running test notify-by-pspec-unhandled 1066s notify-by-pspec-unhandled: Notify (unhandled) per second: 41927654 1066s Running test notify-handled 1068s notify-handled: Notify per second: 460712 1068s Running test notify-by-pspec-handled 1068s # Executing: glib/performance.test 1069s notify-by-pspec-handled: Notify per second: 488163 1069s Running test property-set 1070s property-set: Property set per second: 5412818 1070s Running test property-get 1071s property-get: Property get per second: 4829308 1071s Running test refcount 1072s refcount: Million refs+unref per second: 6.12 1072s Running test refcount-1 1073s # Executing: glib/performance.test 1074s refcount-1: Million refs+unref per second: 13.77 1074s Running test refcount-toggle 1075s refcount-toggle: Million refs+unref per second: 8.42 1075s TAP version 14 1075s # random seed: R02Seca0b357c0721a1700ff8638ee158f0b 1075s ok - glib/performance.test 1075s # Running test: glib/atomic-c-89.test 1075s 1..2 1075s # Start of atomic tests 1075s ok 1 /atomic/types 1075s ok - glib/atomic-c-89.test 1075s ok 2 /atomic/threaded 1075s # End of atomic tests 1075s # Running test: glib/trash.test 1075s TAP version 14 1075s # random seed: R02S3f0980cbedd1b7e9ce777743f950645d 1075s 1..3 1075s # Start of trash tests 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1075s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1075s # File: /tmp/test-trash61I7Z2 (parent st_dev: 64769) 1075s # Home: /home/ubuntu (st_dev: 64769) 1075s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1075s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1075s ok 3 /trash/long-filename 1075s # End of trash tests 1075s ok - glib/trash.test 1075s # Running test: glib/sort.test 1075s TAP version 14 1075s # random seed: R02S87aa77dffeb878579aeee339433bd6e8 1075s 1..5 1075s # Start of sort tests 1075s ok 1 /sort/basic 1075s ok 2 /sort/zero-elements 1075s ok 3 /sort/stable 1075s ok 4 /sort/big 1075s ok 5 /sort/deprecated 1075s # End of sort tests 1075s TAP version 14 1075s # random seed: R02S0417896a445a811588f7c649456b50e6 1075s 1..50 1075s # Start of strfuncs tests 1075s ok 1 /strfuncs/ascii-strcasecmp 1075s ok 2 /strfuncs/ascii_strdown 1075s ok 3 /strfuncs/ascii_strdup 1075s ok 4 /strfuncs/ascii_strtod 1075s ok 5 /strfuncs/bounds-check 1075s ok 6 /strfuncs/has-prefix 1075s ok 7 /strfuncs/has-prefix-macro 1075s ok 8 /strfuncs/has-suffix 1075s ok 9 /strfuncs/has-suffix-macro 1075s ok 10 /strfuncs/memdup 1075s ok 11 /strfuncs/memdup2 1075s ok 12 /strfuncs/set_str 1075s ok 13 /strfuncs/stpcpy 1075s ok 14 /strfuncs/str_match_string 1075s ok 15 /strfuncs/str_tokenize_and_fold 1075s ok 16 /strfuncs/strcanon 1075s ok 17 /strfuncs/strchomp 1075s ok 18 /strfuncs/strchug 1075s ok 19 /strfuncs/strcompress-strescape 1075s ok 20 /strfuncs/strconcat 1075s ok 21 /strfuncs/strdelimit 1075s ok 22 /strfuncs/strdup 1075s ok 23 /strfuncs/strdup-printf 1075s ok 24 /strfuncs/strdupv 1075s ok 25 /strfuncs/strerror 1075s ok 26 /strfuncs/strip-context 1075s ok 27 /strfuncs/strjoin 1075s ok 28 /strfuncs/strjoinv 1075s ok 29 /strfuncs/strlcat 1075s ok 30 /strfuncs/strlcpy 1075s ok 31 /strfuncs/strncasecmp 1075s ok 32 /strfuncs/strndup 1075s ok 33 /strfuncs/strnfill 1075s ok 34 /strfuncs/strreverse 1075s ok 35 /strfuncs/strsignal 1075s ok 36 /strfuncs/strsplit 1075s ok 37 /strfuncs/strsplit-set 1075s ok 38 /strfuncs/strstr 1075s ok 39 /strfuncs/strtod 1075s ok 40 /strfuncs/strtoull-strtoll 1075s ok 41 /strfuncs/strup 1075s ok 42 /strfuncs/strv-contains 1075s ok 43 /strfuncs/strv-equal 1075s ok 44 /strfuncs/strv-length 1075s ok 45 /strfuncs/test-is-to-digit 1075s ok 46 /strfuncs/transliteration 1075s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1075s ok 47 /strfuncs/str-equal 1075s # Start of ascii-string-to-num tests 1075s ok 48 /strfuncs/ascii-string-to-num/pathological 1075s ok 49 /strfuncs/ascii-string-to-num/usual 1075s # End of ascii-string-to-num tests 1075s # Start of strdup tests 1075s ok 50 /strfuncs/strdup/inline 1075s # End of strdup tests 1075s # End of strfuncs tests 1075s TAP version 14 1075s # random seed: R02Sac16065a0061a4a8325e8d41e406391b 1075s 1..90 1075s # Start of pattern tests 1075s # Start of compile tests 1075s ok 1 /pattern/compile/0 1075s ok 2 /pattern/compile/1 1075s ok 3 /pattern/compile/2 1075s ok 4 /pattern/compile/3 1075s ok 5 /pattern/compile/4 1075s ok 6 /pattern/compile/5 1075s ok 7 /pattern/compile/6 1075s ok 8 /pattern/compile/7 1075s ok 9 /pattern/compile/8 1075s ok 10 /pattern/compile/9 1075s ok 11 /pattern/compile/10 1075s ok 12 /pattern/compile/11 1075s ok 13 /pattern/compile/12 1075s ok 14 /pattern/compile/13 1075s # End of compile tests 1075s # Start of copy tests 1075s ok 15 /pattern/copy/0 1075s ok 16 /pattern/copy/1 1075s ok 17 /pattern/copy/2 1075s ok 18 /pattern/copy/3 1075s ok 19 /pattern/copy/4 1075s ok 20 /pattern/copy/5 1075s ok 21 /pattern/copy/6 1075s ok 22 /pattern/copy/7 1075s ok 23 /pattern/copy/8 1075s ok 24 /pattern/copy/9 1075s ok 25 /pattern/copy/10 1075s ok 26 /pattern/copy/11 1075s ok 27 /pattern/copy/12 1075s ok 28 /pattern/copy/13 1075s # End of copy tests 1075s # Start of match tests 1075s ok 29 /pattern/match/0 1075s ok 30 /pattern/match/1 1075s ok 31 /pattern/match/2 1075s ok 32 /pattern/match/3 1075s ok 33 /pattern/match/4 1075s ok 34 /pattern/match/5 1075s ok 35 /pattern/match/6 1075s ok 36 /pattern/match/7 1075s ok 37 /pattern/match/8 1075s ok 38 /pattern/match/9 1075s ok 39 /pattern/match/10 1075s ok 40 /pattern/match/11 1075s ok 41 /pattern/match/12 1075s ok 42 /pattern/match/13 1075s ok 43 /pattern/match/14 1075s ok 44 /pattern/match/15 1075s ok 45 /pattern/match/16 1075s ok 46 /pattern/match/17 1075s ok 47 /pattern/match/18 1075s ok 48 /pattern/match/19 1075s ok 49 /pattern/match/20 1075s ok 50 /pattern/match/21 1075s ok 51 /pattern/match/22 1075s ok 52 /pattern/match/23 1075s ok 53 /pattern/match/24 1075s ok 54 /pattern/match/25 1075s ok 55 /pattern/match/26 1075s ok 56 /pattern/match/27 1075s ok 57 /pattern/match/28 1075s ok 58 /pattern/match/29 1075s ok 59 /pattern/match/30 1075s ok 60 /pattern/match/31 1075s ok 61 /pattern/match/32 1075s ok 62 /pattern/match/33 1075s ok 63 /pattern/match/34 1075s ok 64 /pattern/match/35 1075s ok 65 /pattern/match/36 1075s ok 66 /pattern/match/37 1075s ok 67 /pattern/match/38 1075s ok 68 /pattern/match/39 1075s ok 69 /pattern/match/40 1075s ok 70 /pattern/match/41 1075s ok 71 /pattern/match/42 1075s ok 72 /pattern/match/43 1075s ok 73 /pattern/match/44 1075s ok 74 /pattern/match/45 1075s ok 75 /pattern/match/46 1075s ok 76 /pattern/match/47 1075s ok 77 /pattern/match/48 1075s ok 78 /pattern/match/49 1075s ok 79 /pattern/match/50 1075s # End of match tests 1075s # Start of equal tests 1075s ok 80 /pattern/equal/0 1075s ok 81 /pattern/equal/1 1075s ok 82 /pattern/equal/2 1075s ok 83 /pattern/equal/3 1075s ok 84 /pattern/equal/4 1075s ok 85 /pattern/equal/5 1075s ok 86 /pattern/equal/6 1075s ok 87 /pattern/equal/7 1075s ok 88 /pattern/equal/8 1075s ok 89 /pattern/equal/9 1075s ok 90 /pattern/equal/10 1075s # End of equal tests 1075s # End of pattern tests 1075s TAP version 14 1075s # random seed: R02S79894416cfcc97932d30be92ecc2551b 1075s ok - glib/sort.test 1075s # Running test: glib/strfuncs.test 1075s ok - glib/strfuncs.test 1075s # Running test: glib/pattern.test 1075s ok - glib/pattern.test 1075s # Running test: glib/param.test 1075s 1..32 1075s # Start of param tests 1075s ok 1 /param/value 1075s ok 2 /param/strings 1075s ok 3 /param/qdata 1075s ok 4 /param/validate 1075s ok 5 /param/convert 1075s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1075s ok 7 /param/default 1075s ok 8 /param/is-valid-name 1075s # Start of invalid-name tests 1075s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1075s ok 9 /param/invalid-name/colon 1075s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1075s ok 10 /param/invalid-name/first-char 1075s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1075s ok 11 /param/invalid-name/empty 1075s # End of invalid-name tests 1075s # Start of implement tests 1075s # Start of subprocess tests 1075s # End of subprocess tests 1075s # End of implement tests 1075s # End of param tests 1075s # Start of value tests 1075s ok 12 /value/transform 1075s # End of value tests 1075s # Start of paramspec tests 1075s ok 13 /paramspec/char 1075s ok 14 /paramspec/uchar 1075s ok 15 /paramspec/int 1075s ok 16 /paramspec/uint 1075s ok 17 /paramspec/long 1075s ok 18 /paramspec/ulong 1075s ok 19 /paramspec/int64 1075s ok 20 /paramspec/uint64 1075s ok 21 /paramspec/float 1075s ok 22 /paramspec/double 1075s ok 23 /paramspec/unichar 1075s ok - glib/param.test 1075s ok 24 /paramspec/param 1075s ok 25 /paramspec/null-param 1075s ok 26 /paramspec/string 1075s ok 27 /paramspec/override 1075s ok 28 /paramspec/gtype 1075s ok 29 /paramspec/variant 1075s ok 30 /paramspec/custom 1075s ok 31 /paramspec/pool 1075s # Start of variant tests 1075s ok 32 /paramspec/variant/cmp 1075s # End of variant tests 1075s # End of paramspec tests 1075s # Running test: glib/scannerapi.test 1075s ok - glib/scannerapi.test 1075s TAP version 14 1075s # random seed: R02S0eeff4acf1d19b0bc578391e8d7243cf 1075s 1..4 1075s # Start of scanner tests 1075s ok 1 /scanner/warn 1075s ok 2 /scanner/error 1075s ok 3 /scanner/symbols 1075s ok 4 /scanner/tokens 1075s # End of scanner tests 1075s # Running test: glib/enums.test 1075s ok - glib/enums.test 1075s # Running test: glib/utf8-pointer.test 1075s TAP version 14 1075s # random seed: R02Scfe435d7fd215643c33477cf9ce86d5c 1075s 1..4 1075s # Start of enum tests 1075s ok 1 /enum/basic 1075s ok 2 /enum/define-type 1075s # End of enum tests 1075s # Start of flags tests 1075s ok 3 /flags/basic 1075s ok 4 /flags/define-type 1075s # End of flags tests 1075s TAP version 14 1075s # random seed: R02S23b9254583c4e22dd2fe940cfa276f5e 1075s 1..3 1075s # Start of utf8 tests 1076s ok 1 /utf8/offsets 1076s # slow test /utf8/offsets executed in 0.85 secs 1076s ok 2 /utf8/lengths 1076s ok 3 /utf8/find 1076s # End of utf8 tests 1076s ok - glib/utf8-pointer.test 1076s # Running test: glib/actions.test 1076s TAP version 14 1076s # random seed: R02S6bff9d6a8ba820b0e0d2433ec9fa9fcf 1076s 1..13 1076s # Start of actions tests 1076s ok 1 /actions/basic 1076s ok 2 /actions/name 1076s ok 3 /actions/simplegroup 1076s ok 4 /actions/stateful 1076s ok 5 /actions/default-activate 1076s ok 6 /actions/entries 1076s ok 7 /actions/parse-detailed 1076s ok 8 /actions/property 1076s ok 9 /actions/no-properties 1076s # Start of dbus tests 1076s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s ok 10 /actions/dbus/export 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1076s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1078s # Executing: glib/actions.test 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s ok 11 /actions/dbus/threaded 1079s # slow test /actions/dbus/threaded executed in 2.58 secs 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s ok 12 /actions/dbus/bug679509 1079s # Start of export tests 1079s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s ok - glib/actions.test 1079s # Running test: glib/markup-escape.test 1079s ok - glib/markup-escape.test 1079s # Running test: glib/gvariant.test 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1079s ok 13 /actions/dbus/export/error-handling 1079s # End of export tests 1079s # End of dbus tests 1079s # End of actions tests 1079s TAP version 14 1079s # random seed: R02S1fbc79fab3e11ec750cc218113a8920d 1079s 1..41 1079s # Start of markup tests 1079s ok 1 /markup/format 1079s # Start of escape-text tests 1079s ok 2 /markup/escape-text/0 1079s ok 3 /markup/escape-text/1 1079s ok 4 /markup/escape-text/2 1079s ok 5 /markup/escape-text/3 1079s ok 6 /markup/escape-text/4 1079s ok 7 /markup/escape-text/5 1079s ok 8 /markup/escape-text/6 1079s ok 9 /markup/escape-text/7 1079s ok 10 /markup/escape-text/8 1079s ok 11 /markup/escape-text/9 1079s ok 12 /markup/escape-text/10 1079s ok 13 /markup/escape-text/11 1079s ok 14 /markup/escape-text/12 1079s ok 15 /markup/escape-text/13 1079s ok 16 /markup/escape-text/14 1079s ok 17 /markup/escape-text/15 1079s ok 18 /markup/escape-text/16 1079s ok 19 /markup/escape-text/17 1079s ok 20 /markup/escape-text/18 1079s ok 21 /markup/escape-text/19 1079s ok 22 /markup/escape-text/20 1079s ok 23 /markup/escape-text/21 1079s ok 24 /markup/escape-text/22 1079s # End of escape-text tests 1079s # Start of escape-unichar tests 1079s ok 25 /markup/escape-unichar/0 1079s ok 26 /markup/escape-unichar/1 1079s ok 27 /markup/escape-unichar/2 1079s ok 28 /markup/escape-unichar/3 1079s ok 29 /markup/escape-unichar/4 1079s ok 30 /markup/escape-unichar/5 1079s ok 31 /markup/escape-unichar/6 1079s ok 32 /markup/escape-unichar/7 1079s ok 33 /markup/escape-unichar/8 1079s ok 34 /markup/escape-unichar/9 1079s ok 35 /markup/escape-unichar/10 1079s ok 36 /markup/escape-unichar/11 1079s ok 37 /markup/escape-unichar/12 1079s ok 38 /markup/escape-unichar/13 1079s ok 39 /markup/escape-unichar/14 1079s ok 40 /markup/escape-unichar/15 1079s ok 41 /markup/escape-unichar/16 1079s # End of escape-unichar tests 1079s # End of markup tests 1079s TAP version 14 1079s # random seed: R02S50cbd5fd7be59bfbc6332725c802f3a3 1079s 1..64 1079s # Start of gvariant tests 1079s ok 1 /gvariant/type 1079s ok 2 /gvariant/typeinfo 1079s ok 3 /gvariant/string 1079s ok 4 /gvariant/utf8 1080s ok 5 /gvariant/containers 1080s ok 6 /gvariant/format-strings 1080s ok 7 /gvariant/invalid-varargs 1080s ok 8 /gvariant/varargs 1080s ok 9 /gvariant/valist 1080s ok 10 /gvariant/builder-memory 1080s ok 11 /gvariant/hashing 1080s ok 12 /gvariant/byteswap 1080s ok 13 /gvariant/parser 1080s ok 14 /gvariant/parse-failures 1080s ok 15 /gvariant/parse-positional 1080s ok 16 /gvariant/floating 1080s ok 17 /gvariant/bytestring 1080s ok 18 /gvariant/lookup-value 1080s ok 19 /gvariant/lookup 1080s ok 20 /gvariant/compare 1080s ok 21 /gvariant/equal 1080s ok 22 /gvariant/fixed-array 1080s ok 23 /gvariant/check-format-string 1080s ok 24 /gvariant/checksum-basic 1080s ok 25 /gvariant/checksum-nested 1080s ok 26 /gvariant/gbytes 1080s ok 27 /gvariant/print-context 1080s ok 28 /gvariant/error-quark 1080s ok 29 /gvariant/stack-builder-init 1080s ok 30 /gvariant/stack-dict-init 1080s ok 31 /gvariant/unaligned-construction 1080s # Start of type tests 1080s # Start of string-scan tests 1080s # Start of recursion tests 1080s ok 32 /gvariant/type/string-scan/recursion/tuple 1080s ok 33 /gvariant/type/string-scan/recursion/array 1080s # End of recursion tests 1080s # End of string-scan tests 1080s # End of type tests 1080s # Start of serialiser tests 1080s ok 34 /gvariant/serialiser/maybe 1081s ok 35 /gvariant/serialiser/array 1081s ok 36 /gvariant/serialiser/tuple 1081s ok 37 /gvariant/serialiser/variant 1081s ok 38 /gvariant/serialiser/strings 1081s ok 39 /gvariant/serialiser/byteswap 1081s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1081s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1081s ok 40 /gvariant/serialiser/children 1081s # Start of fuzz tests 1082s ok 41 /gvariant/serialiser/fuzz/1% 1083s # Executing: glib/gvariant.test 1084s ok 42 /gvariant/serialiser/fuzz/5% 1084s # slow test /gvariant/serialiser/fuzz/5% executed in 2.12 secs 1085s ok 43 /gvariant/serialiser/fuzz/9% 1085s # slow test /gvariant/serialiser/fuzz/9% executed in 1.04 secs 1085s ok 44 /gvariant/serialiser/fuzz/13% 1085s # slow test /gvariant/serialiser/fuzz/13% executed in 0.73 secs 1086s ok 45 /gvariant/serialiser/fuzz/17% 1086s # slow test /gvariant/serialiser/fuzz/17% executed in 0.97 secs 1086s # End of fuzz tests 1086s # End of serialiser tests 1086s # Start of varargs tests 1086s # Start of subprocess tests 1086s # End of subprocess tests 1086s # End of varargs tests 1086s # Start of byteswap tests 1086s # /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. 1086s ok 46 /gvariant/byteswap/non-normal-non-aligned 1086s # End of byteswap tests 1086s # Start of parser tests 1086s ok 47 /gvariant/parser/integer-bounds 1086s ok - glib/gvariant.test 1086s # Running test: glib/gdbus-peer-object-manager.test 1086s ok 48 /gvariant/parser/recursion 1086s # Start of recursion tests 1086s ok 49 /gvariant/parser/recursion/typedecls 1086s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1086s # Text form 0: @mmmu 5 1086s # Text form 1: @mmmas ['hello'] 1086s # Text form 2: @mmmu just just nothing 1086s # Text form 3: @mmmas just just nothing 1086s # Text form 4: @mmmu just nothing 1086s # Text form 5: @mmmas just nothing 1086s # Text form 6: @mmmu nothing 1086s # Text form 7: @mmmas nothing 1086s ok 50 /gvariant/parser/recursion/maybes 1086s # End of recursion tests 1086s # End of parser tests 1086s # Start of parse tests 1086s # Start of subprocess tests 1086s # End of subprocess tests 1086s # End of parse tests 1086s # Start of normal-checking tests 1086s ok 51 /gvariant/normal-checking/tuples 1086s ok 52 /gvariant/normal-checking/array-offsets 1086s ok 53 /gvariant/normal-checking/array-offsets2 1086s ok 54 /gvariant/normal-checking/tuple-offsets 1086s ok 55 /gvariant/normal-checking/tuple-offsets2 1086s ok 56 /gvariant/normal-checking/tuple-offsets3 1086s ok 57 /gvariant/normal-checking/tuple-offsets4 1086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1086s ok 58 /gvariant/normal-checking/tuple-offsets5 1086s ok 59 /gvariant/normal-checking/empty-object-path 1086s # Start of array-offsets tests 1086s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1086s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1086s # End of array-offsets tests 1086s # Start of tuple-offsets tests 1086s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1086s # End of tuple-offsets tests 1086s # End of normal-checking tests 1086s # Start of recursion-limits tests 1086s ok 63 /gvariant/recursion-limits/variant-in-variant 1086s ok 64 /gvariant/recursion-limits/array-in-variant 1086s # End of recursion-limits tests 1086s # End of gvariant tests 1086s TAP version 14 1086s # random seed: R02Sce1b6442ba471e83c809beabe554699c 1086s 1..2 1086s # Start of gdbus tests 1086s # Start of peer-object-manager tests 1086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/home 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/cache 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/system-config2 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/config 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/system-data2 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/data 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/state 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/normal/.dirs/runtime 1086s ok 1 /gdbus/peer-object-manager/normal 1086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/home 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/cache 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/system-config2 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/config 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/system-data2 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/data 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/state 1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_8L4E02/gdbus/peer-object-manager/root/.dirs/runtime 1086s ok 2 /gdbus/peer-object-manager/root 1086s # End of peer-object-manager tests 1086s # End of gdbus tests 1086s TAP version 14 1086s # random seed: R02Sd9af5ef23eca64519dc4bb20b6bc2af7 1086s 1..1 1086s # Start of properties tests 1086s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1086s ok 1 /properties/notify-in-init2 1086s # End of properties tests 1086s TAP version 14 1086s # random seed: R02Sef7449e431b2a48f0fafd000c68f3521 1086s 1..4 1086s # Start of type tests 1086s # Start of flags tests 1086s ok 1 /type/flags/interface 1086s ok 2 /type/flags/final 1086s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1086s ok 3 /type/flags/deprecated 1086s # Start of final tests 1086s ok 4 /type/flags/final/instance-check 1086s # End of final tests 1086s # End of flags tests 1086s # End of type tests 1086s TAP version 14 1086s # random seed: R02Sc897dd0bcd3dc2d4ecbe1ed95660b543 1086s 1..11 1086s # Start of proxy tests 1086s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1086s ok - glib/gdbus-peer-object-manager.test 1086s # Running test: glib/notify-init2.test 1086s ok - glib/notify-init2.test 1086s # Running test: glib/type-flags.test 1086s ok - glib/type-flags.test 1086s # Running test: glib/proxy-test.test 1086s ok 1 /proxy/direct_sync 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef6409c0 and GSocketClientAsyncConnectData 0x1931ef636260 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 0x1931ef6413d0 for GSocketClientAsyncConnectData 0x1931ef636260 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1086s ok 2 /proxy/direct_async 1086s ok 3 /proxy/single_sync 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef642cd0 and GSocketClientAsyncConnectData 0x1931ef641e20 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 0x1931ef643830 for GSocketClientAsyncConnectData 0x1931ef641e20 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1086s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1086s ok 4 /proxy/single_async 1086s ok 5 /proxy/multiple_sync 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef643560 and GSocketClientAsyncConnectData 0x1931ef643330 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 0x1931ef643eb0 for GSocketClientAsyncConnectData 0x1931ef643330 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 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 0x1931ef6438c0 for GSocketClientAsyncConnectData 0x1931ef643330 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1086s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1086s ok 6 /proxy/multiple_async 1086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1086s ok 7 /proxy/invalid-uris-sync 1086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef643c40 and GSocketClientAsyncConnectData 0x1931ef643140 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1086s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef642cd0 and GSocketClientAsyncConnectData 0x1931ef643140 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1086s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef642cd0 and GSocketClientAsyncConnectData 0x1931ef643140 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 0x1931ef641930 for GSocketClientAsyncConnectData 0x1931ef643140 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef643560 and GSocketClientAsyncConnectData 0x1931ef643620 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 0x1931ef641be0 for GSocketClientAsyncConnectData 0x1931ef643620 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1086s ok 8 /proxy/invalid-uris-async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef642cd0 and GSocketClientAsyncConnectData 0x1931ef6432b0 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1086s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1086s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef6432b0 and GSocketClientAsyncConnectData 0x1931ef643620 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 0x1931ef6445e0 for GSocketClientAsyncConnectData 0x1931ef643620 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1086s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef642cd0 and GSocketClientAsyncConnectData 0x1931ef643140 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 0x1931ef643310 for GSocketClientAsyncConnectData 0x1931ef643140 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1086s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1086s ok 9 /proxy/dns 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef641810 and GSocketClientAsyncConnectData 0x1931ef643900 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 0x1931ef6445e0 for GSocketClientAsyncConnectData 0x1931ef643900 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1086s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef6429e0 and GSocketClientAsyncConnectData 0x1931ef642c10 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 0x1931ef641be0 for GSocketClientAsyncConnectData 0x1931ef642c10 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1086s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1086s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1931ef6432b0 and GSocketClientAsyncConnectData 0x1931ef643900 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 0x1931ef644600 for GSocketClientAsyncConnectData 0x1931ef643900 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1086s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1086s ok 10 /proxy/override 1086s ok 11 /proxy/enumerator-ports 1086s # End of proxy tests 1086s TAP version 14 1086s # random seed: R02Se2e93e6424dcf7fcc06490b431b9b511 1086s 1..2 1086s # Start of qdata tests 1086s ok - glib/proxy-test.test 1086s # Running test: glib/qdata.test 1087s ok 1 /qdata/threaded 1087s ok 2 /qdata/dup 1087s # End of qdata tests 1087s ok - glib/qdata.test 1087s # Running test: glib/macros-c-11.test 1087s ok - glib/macros-c-11.test 1087s # Running test: glib/object-info.test 1087s TAP version 14 1087s # random seed: R02S72184e3cce792dd31387148825948a68 1087s 1..4 1087s # Start of C tests 1087s ok 1 /C/standard-11 1087s # End of C tests 1087s # Start of alignof tests 1087s ok 2 /alignof/fallback 1087s # End of alignof tests 1087s # Start of assert tests 1087s ok 3 /assert/static 1087s # End of assert tests 1087s # Start of struct tests 1087s ok 4 /struct/sizeof_member 1087s # End of struct tests 1087s TAP version 14 1087s # random seed: R02Sb906f9adcf3c09bce19e9e37eae24784 1087s 1..2 1087s # Start of object-info tests 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_WZEG02/object-info/find-method-using-interfaces/.dirs/runtime 1087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1087s ok 1 /object-info/find-method-using-interfaces 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_WZEG02/object-info/find-vfunc-using-interfaces/.dirs/runtime 1087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1087s ok 2 /object-info/find-vfunc-using-interfaces 1087s # End of object-info tests 1087s ok - glib/object-info.test 1087s # Running test: glib/checksum.test 1087s TAP version 14 1087s # random seed: R02Sd7b3c1f7f063ed864338efbee5eafe36 1087s 1..1851 1087s # Start of checksum tests 1087s ok 1 /checksum/unsupported 1087s # Start of MD5 tests 1087s ok 2 /checksum/MD5/0 1087s ok 3 /checksum/MD5/1 1087s ok 4 /checksum/MD5/2 1087s ok 5 /checksum/MD5/3 1087s ok 6 /checksum/MD5/4 1087s ok 7 /checksum/MD5/5 1087s ok 8 /checksum/MD5/6 1087s ok 9 /checksum/MD5/7 1087s ok 10 /checksum/MD5/8 1087s ok 11 /checksum/MD5/9 1087s ok 12 /checksum/MD5/10 1087s ok 13 /checksum/MD5/11 1087s ok 14 /checksum/MD5/12 1087s ok 15 /checksum/MD5/13 1087s ok 16 /checksum/MD5/14 1087s ok 17 /checksum/MD5/15 1087s ok 18 /checksum/MD5/16 1087s ok 19 /checksum/MD5/17 1087s ok 20 /checksum/MD5/18 1087s ok 21 /checksum/MD5/19 1087s ok 22 /checksum/MD5/20 1087s ok 23 /checksum/MD5/21 1087s ok 24 /checksum/MD5/22 1087s ok 25 /checksum/MD5/23 1087s ok 26 /checksum/MD5/24 1087s ok 27 /checksum/MD5/25 1087s ok 28 /checksum/MD5/26 1087s ok 29 /checksum/MD5/27 1087s ok 30 /checksum/MD5/28 1087s ok 31 /checksum/MD5/29 1087s ok 32 /checksum/MD5/30 1087s ok 33 /checksum/MD5/31 1087s ok 34 /checksum/MD5/32 1087s ok 35 /checksum/MD5/33 1087s ok 36 /checksum/MD5/34 1087s ok 37 /checksum/MD5/35 1087s ok 38 /checksum/MD5/36 1087s ok 39 /checksum/MD5/37 1087s ok 40 /checksum/MD5/38 1087s ok 41 /checksum/MD5/39 1087s ok 42 /checksum/MD5/40 1087s ok 43 /checksum/MD5/41 1087s ok 44 /checksum/MD5/42 1087s ok 45 /checksum/MD5/43 1087s ok 46 /checksum/MD5/44 1087s ok 47 /checksum/MD5/45 1087s ok 48 /checksum/MD5/46 1087s ok 49 /checksum/MD5/47 1087s ok 50 /checksum/MD5/48 1087s ok 51 /checksum/MD5/49 1087s ok 52 /checksum/MD5/50 1087s ok 53 /checksum/MD5/51 1087s ok 54 /checksum/MD5/52 1087s ok 55 /checksum/MD5/53 1087s ok 56 /checksum/MD5/54 1087s ok 57 /checksum/MD5/55 1087s ok 58 /checksum/MD5/56 1087s ok 59 /checksum/MD5/57 1087s ok 60 /checksum/MD5/58 1087s ok 61 /checksum/MD5/59 1087s ok 62 /checksum/MD5/60 1087s ok 63 /checksum/MD5/61 1087s ok 64 /checksum/MD5/62 1087s ok 65 /checksum/MD5/63 1087s ok 66 /checksum/MD5/64 1087s ok 67 /checksum/MD5/65 1087s ok 68 /checksum/MD5/66 1087s ok 69 /checksum/MD5/67 1087s ok 70 /checksum/MD5/68 1087s ok 71 /checksum/MD5/69 1087s ok 72 /checksum/MD5/70 1087s ok 73 /checksum/MD5/71 1087s ok 74 /checksum/MD5/72 1087s ok 75 /checksum/MD5/73 1087s ok 76 /checksum/MD5/74 1087s ok 77 /checksum/MD5/75 1087s ok 78 /checksum/MD5/76 1087s ok 79 /checksum/MD5/77 1087s ok 80 /checksum/MD5/78 1087s ok 81 /checksum/MD5/79 1087s ok 82 /checksum/MD5/80 1087s ok 83 /checksum/MD5/81 1087s ok 84 /checksum/MD5/82 1087s ok 85 /checksum/MD5/83 1087s ok 86 /checksum/MD5/84 1087s ok 87 /checksum/MD5/85 1087s ok 88 /checksum/MD5/86 1087s ok 89 /checksum/MD5/87 1087s ok 90 /checksum/MD5/88 1087s ok 91 /checksum/MD5/89 1087s ok 92 /checksum/MD5/90 1087s ok 93 /checksum/MD5/91 1087s ok 94 /checksum/MD5/92 1087s ok 95 /checksum/MD5/93 1087s ok 96 /checksum/MD5/94 1087s ok 97 /checksum/MD5/95 1087s ok 98 /checksum/MD5/96 1087s ok 99 /checksum/MD5/97 1087s ok 100 /checksum/MD5/98 1087s ok 101 /checksum/MD5/99 1087s ok 102 /checksum/MD5/100 1087s ok 103 /checksum/MD5/101 1087s ok 104 /checksum/MD5/102 1087s ok 105 /checksum/MD5/103 1087s ok 106 /checksum/MD5/104 1087s ok 107 /checksum/MD5/105 1087s ok 108 /checksum/MD5/106 1087s ok 109 /checksum/MD5/107 1087s ok 110 /checksum/MD5/108 1087s ok 111 /checksum/MD5/109 1087s ok 112 /checksum/MD5/110 1087s ok 113 /checksum/MD5/111 1087s ok 114 /checksum/MD5/112 1087s ok 115 /checksum/MD5/113 1087s ok 116 /checksum/MD5/114 1087s ok 117 /checksum/MD5/115 1087s ok 118 /checksum/MD5/116 1087s ok 119 /checksum/MD5/117 1087s ok 120 /checksum/MD5/118 1087s ok 121 /checksum/MD5/119 1087s ok 122 /checksum/MD5/120 1087s ok 123 /checksum/MD5/121 1087s ok 124 /checksum/MD5/122 1087s ok 125 /checksum/MD5/123 1087s ok 126 /checksum/MD5/124 1087s ok 127 /checksum/MD5/125 1087s ok 128 /checksum/MD5/126 1087s ok 129 /checksum/MD5/127 1087s ok 130 /checksum/MD5/128 1087s ok 131 /checksum/MD5/129 1087s ok 132 /checksum/MD5/130 1087s ok 133 /checksum/MD5/131 1087s ok 134 /checksum/MD5/132 1087s ok 135 /checksum/MD5/133 1087s ok 136 /checksum/MD5/134 1087s ok 137 /checksum/MD5/135 1087s ok 138 /checksum/MD5/136 1087s ok 139 /checksum/MD5/137 1087s ok 140 /checksum/MD5/138 1087s ok 141 /checksum/MD5/139 1087s ok 142 /checksum/MD5/140 1087s ok 143 /checksum/MD5/141 1087s ok 144 /checksum/MD5/142 1087s ok 145 /checksum/MD5/143 1087s ok 146 /checksum/MD5/144 1087s ok 147 /checksum/MD5/145 1087s ok 148 /checksum/MD5/146 1087s ok 149 /checksum/MD5/147 1087s ok 150 /checksum/MD5/148 1087s ok 151 /checksum/MD5/149 1087s ok 152 /checksum/MD5/150 1087s ok 153 /checksum/MD5/151 1087s ok 154 /checksum/MD5/152 1087s ok 155 /checksum/MD5/153 1087s ok 156 /checksum/MD5/154 1087s ok 157 /checksum/MD5/155 1087s ok 158 /checksum/MD5/156 1087s ok 159 /checksum/MD5/157 1087s ok 160 /checksum/MD5/158 1087s ok 161 /checksum/MD5/159 1087s ok 162 /checksum/MD5/160 1087s ok 163 /checksum/MD5/161 1087s ok 164 /checksum/MD5/162 1087s ok 165 /checksum/MD5/163 1087s ok 166 /checksum/MD5/164 1087s ok 167 /checksum/MD5/165 1087s ok 168 /checksum/MD5/166 1087s ok 169 /checksum/MD5/167 1087s ok 170 /checksum/MD5/168 1087s ok 171 /checksum/MD5/169 1087s ok 172 /checksum/MD5/170 1087s ok 173 /checksum/MD5/171 1087s ok 174 /checksum/MD5/172 1087s ok 175 /checksum/MD5/173 1087s ok 176 /checksum/MD5/174 1087s ok 177 /checksum/MD5/175 1087s ok 178 /checksum/MD5/176 1087s ok 179 /checksum/MD5/177 1087s ok 180 /checksum/MD5/178 1087s ok 181 /checksum/MD5/179 1087s ok 182 /checksum/MD5/180 1087s ok 183 /checksum/MD5/181 1087s ok 184 /checksum/MD5/182 1087s ok 185 /checksum/MD5/183 1087s ok 186 /checksum/MD5/string 1087s ok 187 /checksum/MD5/bytes 1087s # Start of reset tests 1087s ok 188 /checksum/MD5/reset/0 1087s ok 189 /checksum/MD5/reset/1 1087s ok 190 /checksum/MD5/reset/2 1087s ok 191 /checksum/MD5/reset/3 1087s ok 192 /checksum/MD5/reset/4 1087s ok 193 /checksum/MD5/reset/5 1087s ok 194 /checksum/MD5/reset/6 1087s ok 195 /checksum/MD5/reset/7 1087s ok 196 /checksum/MD5/reset/8 1087s ok 197 /checksum/MD5/reset/9 1087s ok 198 /checksum/MD5/reset/10 1087s ok 199 /checksum/MD5/reset/11 1087s ok 200 /checksum/MD5/reset/12 1087s ok 201 /checksum/MD5/reset/13 1087s ok 202 /checksum/MD5/reset/14 1087s ok 203 /checksum/MD5/reset/15 1087s ok 204 /checksum/MD5/reset/16 1087s ok 205 /checksum/MD5/reset/17 1087s ok 206 /checksum/MD5/reset/18 1087s ok 207 /checksum/MD5/reset/19 1087s ok 208 /checksum/MD5/reset/20 1087s ok 209 /checksum/MD5/reset/21 1087s ok 210 /checksum/MD5/reset/22 1087s ok 211 /checksum/MD5/reset/23 1087s ok 212 /checksum/MD5/reset/24 1087s ok 213 /checksum/MD5/reset/25 1087s ok 214 /checksum/MD5/reset/26 1087s ok 215 /checksum/MD5/reset/27 1087s ok 216 /checksum/MD5/reset/28 1087s ok 217 /checksum/MD5/reset/29 1087s ok 218 /checksum/MD5/reset/30 1087s ok 219 /checksum/MD5/reset/31 1087s ok 220 /checksum/MD5/reset/32 1087s ok 221 /checksum/MD5/reset/33 1087s ok 222 /checksum/MD5/reset/34 1087s ok 223 /checksum/MD5/reset/35 1087s ok 224 /checksum/MD5/reset/36 1087s ok 225 /checksum/MD5/reset/37 1087s ok 226 /checksum/MD5/reset/38 1087s ok 227 /checksum/MD5/reset/39 1087s ok 228 /checksum/MD5/reset/40 1087s ok 229 /checksum/MD5/reset/41 1087s ok 230 /checksum/MD5/reset/42 1087s ok 231 /checksum/MD5/reset/43 1087s ok 232 /checksum/MD5/reset/44 1087s ok 233 /checksum/MD5/reset/45 1087s ok 234 /checksum/MD5/reset/46 1087s ok 235 /checksum/MD5/reset/47 1087s ok 236 /checksum/MD5/reset/48 1087s ok 237 /checksum/MD5/reset/49 1087s ok 238 /checksum/MD5/reset/50 1087s ok 239 /checksum/MD5/reset/51 1087s ok 240 /checksum/MD5/reset/52 1087s ok 241 /checksum/MD5/reset/53 1087s ok 242 /checksum/MD5/reset/54 1087s ok 243 /checksum/MD5/reset/55 1087s ok 244 /checksum/MD5/reset/56 1087s ok 245 /checksum/MD5/reset/57 1087s ok 246 /checksum/MD5/reset/58 1087s ok 247 /checksum/MD5/reset/59 1087s ok 248 /checksum/MD5/reset/60 1087s ok 249 /checksum/MD5/reset/61 1087s ok 250 /checksum/MD5/reset/62 1087s ok 251 /checksum/MD5/reset/63 1087s ok 252 /checksum/MD5/reset/64 1087s ok 253 /checksum/MD5/reset/65 1087s ok 254 /checksum/MD5/reset/66 1087s ok 255 /checksum/MD5/reset/67 1087s ok 256 /checksum/MD5/reset/68 1087s ok 257 /checksum/MD5/reset/69 1087s ok 258 /checksum/MD5/reset/70 1087s ok 259 /checksum/MD5/reset/71 1087s ok 260 /checksum/MD5/reset/72 1087s ok 261 /checksum/MD5/reset/73 1087s ok 262 /checksum/MD5/reset/74 1087s ok 263 /checksum/MD5/reset/75 1087s ok 264 /checksum/MD5/reset/76 1087s ok 265 /checksum/MD5/reset/77 1087s ok 266 /checksum/MD5/reset/78 1087s ok 267 /checksum/MD5/reset/79 1087s ok 268 /checksum/MD5/reset/80 1087s ok 269 /checksum/MD5/reset/81 1087s ok 270 /checksum/MD5/reset/82 1087s ok 271 /checksum/MD5/reset/83 1087s ok 272 /checksum/MD5/reset/84 1087s ok 273 /checksum/MD5/reset/85 1087s ok 274 /checksum/MD5/reset/86 1087s ok 275 /checksum/MD5/reset/87 1087s ok 276 /checksum/MD5/reset/88 1087s ok 277 /checksum/MD5/reset/89 1087s ok 278 /checksum/MD5/reset/90 1087s ok 279 /checksum/MD5/reset/91 1087s ok 280 /checksum/MD5/reset/92 1087s ok 281 /checksum/MD5/reset/93 1087s ok 282 /checksum/MD5/reset/94 1087s ok 283 /checksum/MD5/reset/95 1087s ok 284 /checksum/MD5/reset/96 1087s ok 285 /checksum/MD5/reset/97 1087s ok 286 /checksum/MD5/reset/98 1087s ok 287 /checksum/MD5/reset/99 1087s ok 288 /checksum/MD5/reset/100 1087s ok 289 /checksum/MD5/reset/101 1087s ok 290 /checksum/MD5/reset/102 1087s ok 291 /checksum/MD5/reset/103 1087s ok 292 /checksum/MD5/reset/104 1087s ok 293 /checksum/MD5/reset/105 1087s ok 294 /checksum/MD5/reset/106 1087s ok 295 /checksum/MD5/reset/107 1087s ok 296 /checksum/MD5/reset/108 1087s ok 297 /checksum/MD5/reset/109 1087s ok 298 /checksum/MD5/reset/110 1087s ok 299 /checksum/MD5/reset/111 1087s ok 300 /checksum/MD5/reset/112 1087s ok 301 /checksum/MD5/reset/113 1087s ok 302 /checksum/MD5/reset/114 1087s ok 303 /checksum/MD5/reset/115 1087s ok 304 /checksum/MD5/reset/116 1087s ok 305 /checksum/MD5/reset/117 1087s ok 306 /checksum/MD5/reset/118 1087s ok 307 /checksum/MD5/reset/119 1087s ok 308 /checksum/MD5/reset/120 1087s ok 309 /checksum/MD5/reset/121 1087s ok 310 /checksum/MD5/reset/122 1087s ok 311 /checksum/MD5/reset/123 1087s ok 312 /checksum/MD5/reset/124 1087s ok 313 /checksum/MD5/reset/125 1087s ok 314 /checksum/MD5/reset/126 1087s ok 315 /checksum/MD5/reset/127 1087s ok 316 /checksum/MD5/reset/128 1087s ok 317 /checksum/MD5/reset/129 1087s ok 318 /checksum/MD5/reset/130 1087s ok 319 /checksum/MD5/reset/131 1087s ok 320 /checksum/MD5/reset/132 1087s ok 321 /checksum/MD5/reset/133 1087s ok 322 /checksum/MD5/reset/134 1087s ok 323 /checksum/MD5/reset/135 1087s ok 324 /checksum/MD5/reset/136 1087s ok 325 /checksum/MD5/reset/137 1087s ok 326 /checksum/MD5/reset/138 1087s ok 327 /checksum/MD5/reset/139 1087s ok 328 /checksum/MD5/reset/140 1087s ok 329 /checksum/MD5/reset/141 1087s ok 330 /checksum/MD5/reset/142 1087s ok 331 /checksum/MD5/reset/143 1087s ok 332 /checksum/MD5/reset/144 1087s ok 333 /checksum/MD5/reset/145 1087s ok 334 /checksum/MD5/reset/146 1087s ok 335 /checksum/MD5/reset/147 1087s ok 336 /checksum/MD5/reset/148 1087s ok 337 /checksum/MD5/reset/149 1087s ok 338 /checksum/MD5/reset/150 1087s ok 339 /checksum/MD5/reset/151 1087s ok 340 /checksum/MD5/reset/152 1087s ok 341 /checksum/MD5/reset/153 1087s ok 342 /checksum/MD5/reset/154 1087s ok 343 /checksum/MD5/reset/155 1087s ok 344 /checksum/MD5/reset/156 1087s ok 345 /checksum/MD5/reset/157 1087s ok 346 /checksum/MD5/reset/158 1087s ok 347 /checksum/MD5/reset/159 1087s ok 348 /checksum/MD5/reset/160 1087s ok 349 /checksum/MD5/reset/161 1087s ok 350 /checksum/MD5/reset/162 1087s ok 351 /checksum/MD5/reset/163 1087s ok 352 /checksum/MD5/reset/164 1087s ok 353 /checksum/MD5/reset/165 1087s ok 354 /checksum/MD5/reset/166 1087s ok 355 /checksum/MD5/reset/167 1087s ok 356 /checksum/MD5/reset/168 1087s ok 357 /checksum/MD5/reset/169 1087s ok 358 /checksum/MD5/reset/170 1087s ok 359 /checksum/MD5/reset/171 1087s ok 360 /checksum/MD5/reset/172 1087s ok 361 /checksum/MD5/reset/173 1087s ok 362 /checksum/MD5/reset/174 1087s ok 363 /checksum/MD5/reset/175 1087s ok 364 /checksum/MD5/reset/176 1087s ok 365 /checksum/MD5/reset/177 1087s ok 366 /checksum/MD5/reset/178 1087s ok 367 /checksum/MD5/reset/179 1087s ok 368 /checksum/MD5/reset/180 1087s ok 369 /checksum/MD5/reset/181 1087s ok 370 /checksum/MD5/reset/182 1087s ok 371 /checksum/MD5/reset/183 1087s # End of reset tests 1087s # End of MD5 tests 1087s # Start of SHA1 tests 1087s ok 372 /checksum/SHA1/0 1087s ok 373 /checksum/SHA1/1 1087s ok 374 /checksum/SHA1/2 1087s ok 375 /checksum/SHA1/3 1087s ok 376 /checksum/SHA1/4 1087s ok 377 /checksum/SHA1/5 1087s ok 378 /checksum/SHA1/6 1087s ok 379 /checksum/SHA1/7 1087s ok 380 /checksum/SHA1/8 1087s ok 381 /checksum/SHA1/9 1087s ok 382 /checksum/SHA1/10 1087s ok 383 /checksum/SHA1/11 1087s ok 384 /checksum/SHA1/12 1087s ok 385 /checksum/SHA1/13 1087s ok 386 /checksum/SHA1/14 1087s ok 387 /checksum/SHA1/15 1087s ok 388 /checksum/SHA1/16 1087s ok 389 /checksum/SHA1/17 1087s ok 390 /checksum/SHA1/18 1087s ok 391 /checksum/SHA1/19 1087s ok 392 /checksum/SHA1/20 1087s ok 393 /checksum/SHA1/21 1087s ok 394 /checksum/SHA1/22 1087s ok 395 /checksum/SHA1/23 1087s ok 396 /checksum/SHA1/24 1087s ok 397 /checksum/SHA1/25 1087s ok 398 /checksum/SHA1/26 1087s ok 399 /checksum/SHA1/27 1087s ok 400 /checksum/SHA1/28 1087s ok 401 /checksum/SHA1/29 1087s ok 402 /checksum/SHA1/30 1087s ok 403 /checksum/SHA1/31 1087s ok 404 /checksum/SHA1/32 1087s ok 405 /checksum/SHA1/33 1087s ok 406 /checksum/SHA1/34 1087s ok 407 /checksum/SHA1/35 1087s ok 408 /checksum/SHA1/36 1087s ok 409 /checksum/SHA1/37 1087s ok 410 /checksum/SHA1/38 1087s ok 411 /checksum/SHA1/39 1087s ok 412 /checksum/SHA1/40 1087s ok 413 /checksum/SHA1/41 1087s ok 414 /checksum/SHA1/42 1087s ok 415 /checksum/SHA1/43 1087s ok 416 /checksum/SHA1/44 1087s ok 417 /checksum/SHA1/45 1087s ok 418 /checksum/SHA1/46 1087s ok 419 /checksum/SHA1/47 1087s ok 420 /checksum/SHA1/48 1087s ok 421 /checksum/SHA1/49 1087s ok 422 /checksum/SHA1/50 1087s ok 423 /checksum/SHA1/51 1087s ok 424 /checksum/SHA1/52 1087s ok 425 /checksum/SHA1/53 1087s ok 426 /checksum/SHA1/54 1087s ok 427 /checksum/SHA1/55 1087s ok 428 /checksum/SHA1/56 1087s ok 429 /checksum/SHA1/57 1087s ok 430 /checksum/SHA1/58 1087s ok 431 /checksum/SHA1/59 1087s ok 432 /checksum/SHA1/60 1087s ok 433 /checksum/SHA1/61 1087s ok 434 /checksum/SHA1/62 1087s ok 435 /checksum/SHA1/63 1087s ok 436 /checksum/SHA1/64 1087s ok 437 /checksum/SHA1/65 1087s ok 438 /checksum/SHA1/66 1087s ok 439 /checksum/SHA1/67 1087s ok 440 /checksum/SHA1/68 1087s ok 441 /checksum/SHA1/69 1087s ok 442 /checksum/SHA1/70 1087s ok 443 /checksum/SHA1/71 1087s ok 444 /checksum/SHA1/72 1087s ok 445 /checksum/SHA1/73 1087s ok 446 /checksum/SHA1/74 1087s ok 447 /checksum/SHA1/75 1087s ok 448 /checksum/SHA1/76 1087s ok 449 /checksum/SHA1/77 1087s ok 450 /checksum/SHA1/78 1087s ok 451 /checksum/SHA1/79 1087s ok 452 /checksum/SHA1/80 1087s ok 453 /checksum/SHA1/81 1087s ok 454 /checksum/SHA1/82 1087s ok 455 /checksum/SHA1/83 1087s ok 456 /checksum/SHA1/84 1087s ok 457 /checksum/SHA1/85 1087s ok 458 /checksum/SHA1/86 1087s ok 459 /checksum/SHA1/87 1087s ok 460 /checksum/SHA1/88 1087s ok 461 /checksum/SHA1/89 1087s ok 462 /checksum/SHA1/90 1087s ok 463 /checksum/SHA1/91 1087s ok 464 /checksum/SHA1/92 1087s ok 465 /checksum/SHA1/93 1087s ok 466 /checksum/SHA1/94 1087s ok 467 /checksum/SHA1/95 1087s ok 468 /checksum/SHA1/96 1087s ok 469 /checksum/SHA1/97 1087s ok 470 /checksum/SHA1/98 1087s ok 471 /checksum/SHA1/99 1087s ok 472 /checksum/SHA1/100 1087s ok 473 /checksum/SHA1/101 1087s ok 474 /checksum/SHA1/102 1087s ok 475 /checksum/SHA1/103 1087s ok 476 /checksum/SHA1/104 1087s ok 477 /checksum/SHA1/105 1087s ok 478 /checksum/SHA1/106 1087s ok 479 /checksum/SHA1/107 1087s ok 480 /checksum/SHA1/108 1087s ok 481 /checksum/SHA1/109 1087s ok 482 /checksum/SHA1/110 1087s ok 483 /checksum/SHA1/111 1087s ok 484 /checksum/SHA1/112 1087s ok 485 /checksum/SHA1/113 1087s ok 486 /checksum/SHA1/114 1087s ok 487 /checksum/SHA1/115 1087s ok 488 /checksum/SHA1/116 1087s ok 489 /checksum/SHA1/117 1087s ok 490 /checksum/SHA1/118 1087s ok 491 /checksum/SHA1/119 1087s ok 492 /checksum/SHA1/120 1087s ok 493 /checksum/SHA1/121 1087s ok 494 /checksum/SHA1/122 1087s ok 495 /checksum/SHA1/123 1087s ok 496 /checksum/SHA1/124 1087s ok 497 /checksum/SHA1/125 1087s ok 498 /checksum/SHA1/126 1087s ok 499 /checksum/SHA1/127 1087s ok 500 /checksum/SHA1/128 1087s ok 501 /checksum/SHA1/129 1087s ok 502 /checksum/SHA1/130 1087s ok 503 /checksum/SHA1/131 1087s ok 504 /checksum/SHA1/132 1087s ok 505 /checksum/SHA1/133 1087s ok 506 /checksum/SHA1/134 1087s ok 507 /checksum/SHA1/135 1087s ok 508 /checksum/SHA1/136 1087s ok 509 /checksum/SHA1/137 1087s ok 510 /checksum/SHA1/138 1087s ok 511 /checksum/SHA1/139 1087s ok 512 /checksum/SHA1/140 1087s ok 513 /checksum/SHA1/141 1087s ok 514 /checksum/SHA1/142 1087s ok 515 /checksum/SHA1/143 1087s ok 516 /checksum/SHA1/144 1087s ok 517 /checksum/SHA1/145 1087s ok 518 /checksum/SHA1/146 1087s ok 519 /checksum/SHA1/147 1087s ok 520 /checksum/SHA1/148 1087s ok 521 /checksum/SHA1/149 1087s ok 522 /checksum/SHA1/150 1087s ok 523 /checksum/SHA1/151 1087s ok 524 /checksum/SHA1/152 1087s ok 525 /checksum/SHA1/153 1087s ok 526 /checksum/SHA1/154 1087s ok 527 /checksum/SHA1/155 1087s ok 528 /checksum/SHA1/156 1087s ok 529 /checksum/SHA1/157 1087s ok 530 /checksum/SHA1/158 1087s ok 531 /checksum/SHA1/159 1087s ok 532 /checksum/SHA1/160 1087s ok 533 /checksum/SHA1/161 1087s ok 534 /checksum/SHA1/162 1087s ok 535 /checksum/SHA1/163 1087s ok 536 /checksum/SHA1/164 1087s ok 537 /checksum/SHA1/165 1087s ok 538 /checksum/SHA1/166 1087s ok 539 /checksum/SHA1/167 1087s ok 540 /checksum/SHA1/168 1087s ok 541 /checksum/SHA1/169 1087s ok 542 /checksum/SHA1/170 1087s ok 543 /checksum/SHA1/171 1087s ok 544 /checksum/SHA1/172 1087s ok 545 /checksum/SHA1/173 1087s ok 546 /checksum/SHA1/174 1087s ok 547 /checksum/SHA1/175 1087s ok 548 /checksum/SHA1/176 1087s ok 549 /checksum/SHA1/177 1087s ok 550 /checksum/SHA1/178 1087s ok 551 /checksum/SHA1/179 1087s ok 552 /checksum/SHA1/180 1087s ok 553 /checksum/SHA1/181 1087s ok 554 /checksum/SHA1/182 1087s ok 555 /checksum/SHA1/183 1087s ok 556 /checksum/SHA1/string 1087s ok 557 /checksum/SHA1/bytes 1087s # Start of reset tests 1087s ok 558 /checksum/SHA1/reset/0 1087s ok 559 /checksum/SHA1/reset/1 1087s ok 560 /checksum/SHA1/reset/2 1087s ok 561 /checksum/SHA1/reset/3 1087s ok 562 /checksum/SHA1/reset/4 1087s ok 563 /checksum/SHA1/reset/5 1087s ok 564 /checksum/SHA1/reset/6 1087s ok 565 /checksum/SHA1/reset/7 1087s ok 566 /checksum/SHA1/reset/8 1087s ok 567 /checksum/SHA1/reset/9 1087s ok 568 /checksum/SHA1/reset/10 1087s ok 569 /checksum/SHA1/reset/11 1087s ok 570 /checksum/SHA1/reset/12 1087s ok 571 /checksum/SHA1/reset/13 1087s ok 572 /checksum/SHA1/reset/14 1087s ok 573 /checksum/SHA1/reset/15 1087s ok 574 /checksum/SHA1/reset/16 1087s ok 575 /checksum/SHA1/reset/17 1087s ok 576 /checksum/SHA1/reset/18 1087s ok 577 /checksum/SHA1/reset/19 1087s ok 578 /checksum/SHA1/reset/20 1087s ok 579 /checksum/SHA1/reset/21 1087s ok 580 /checksum/SHA1/reset/22 1087s ok 581 /checksum/SHA1/reset/23 1087s ok 582 /checksum/SHA1/reset/24 1087s ok 583 /checksum/SHA1/reset/25 1087s ok 584 /checksum/SHA1/reset/26 1087s ok 585 /checksum/SHA1/reset/27 1087s ok 586 /checksum/SHA1/reset/28 1087s ok 587 /checksum/SHA1/reset/29 1087s ok 588 /checksum/SHA1/reset/30 1087s ok 589 /checksum/SHA1/reset/31 1087s ok 590 /checksum/SHA1/reset/32 1087s ok 591 /checksum/SHA1/reset/33 1087s ok 592 /checksum/SHA1/reset/34 1087s ok 593 /checksum/SHA1/reset/35 1087s ok 594 /checksum/SHA1/reset/36 1087s ok 595 /checksum/SHA1/reset/37 1087s ok 596 /checksum/SHA1/reset/38 1087s ok 597 /checksum/SHA1/reset/39 1087s ok 598 /checksum/SHA1/reset/40 1087s ok 599 /checksum/SHA1/reset/41 1087s ok 600 /checksum/SHA1/reset/42 1087s ok 601 /checksum/SHA1/reset/43 1087s ok 602 /checksum/SHA1/reset/44 1087s ok 603 /checksum/SHA1/reset/45 1087s ok 604 /checksum/SHA1/reset/46 1087s ok 605 /checksum/SHA1/reset/47 1087s ok 606 /checksum/SHA1/reset/48 1087s ok 607 /checksum/SHA1/reset/49 1087s ok 608 /checksum/SHA1/reset/50 1087s ok 609 /checksum/SHA1/reset/51 1087s ok 610 /checksum/SHA1/reset/52 1087s ok 611 /checksum/SHA1/reset/53 1087s ok 612 /checksum/SHA1/reset/54 1087s ok 613 /checksum/SHA1/reset/55 1087s ok 614 /checksum/SHA1/reset/56 1087s ok 615 /checksum/SHA1/reset/57 1087s ok 616 /checksum/SHA1/reset/58 1087s ok 617 /checksum/SHA1/reset/59 1087s ok 618 /checksum/SHA1/reset/60 1087s ok 619 /checksum/SHA1/reset/61 1087s ok 620 /checksum/SHA1/reset/62 1087s ok 621 /checksum/SHA1/reset/63 1087s ok 622 /checksum/SHA1/reset/64 1087s ok 623 /checksum/SHA1/reset/65 1087s ok 624 /checksum/SHA1/reset/66 1087s ok 625 /checksum/SHA1/reset/67 1087s ok 626 /checksum/SHA1/reset/68 1087s ok 627 /checksum/SHA1/reset/69 1087s ok 628 /checksum/SHA1/reset/70 1087s ok 629 /checksum/SHA1/reset/71 1087s ok 630 /checksum/SHA1/reset/72 1087s ok 631 /checksum/SHA1/reset/73 1087s ok 632 /checksum/SHA1/reset/74 1087s ok 633 /checksum/SHA1/reset/75 1087s ok 634 /checksum/SHA1/reset/76 1087s ok 635 /checksum/SHA1/reset/77 1087s ok 636 /checksum/SHA1/reset/78 1087s ok 637 /checksum/SHA1/reset/79 1087s ok 638 /checksum/SHA1/reset/80 1087s ok 639 /checksum/SHA1/reset/81 1087s ok 640 /checksum/SHA1/reset/82 1087s ok 641 /checksum/SHA1/reset/83 1087s ok 642 /checksum/SHA1/reset/84 1087s ok 643 /checksum/SHA1/reset/85 1087s ok 644 /checksum/SHA1/reset/86 1087s ok 645 /checksum/SHA1/reset/87 1087s ok 646 /checksum/SHA1/reset/88 1087s ok 647 /checksum/SHA1/reset/89 1087s ok 648 /checksum/SHA1/reset/90 1087s ok 649 /checksum/SHA1/reset/91 1087s ok 650 /checksum/SHA1/reset/92 1087s ok 651 /checksum/SHA1/reset/93 1087s ok 652 /checksum/SHA1/reset/94 1087s ok 653 /checksum/SHA1/reset/95 1087s ok 654 /checksum/SHA1/reset/96 1087s ok 655 /checksum/SHA1/reset/97 1087s ok 656 /checksum/SHA1/reset/98 1087s ok 657 /checksum/SHA1/reset/99 1087s ok 658 /checksum/SHA1/reset/100 1087s ok 659 /checksum/SHA1/reset/101 1087s ok 660 /checksum/SHA1/reset/102 1087s ok 661 /checksum/SHA1/reset/103 1087s ok 662 /checksum/SHA1/reset/104 1087s ok 663 /checksum/SHA1/reset/105 1087s ok 664 /checksum/SHA1/reset/106 1087s ok 665 /checksum/SHA1/reset/107 1087s ok 666 /checksum/SHA1/reset/108 1087s ok 667 /checksum/SHA1/reset/109 1087s ok 668 /checksum/SHA1/reset/110 1087s ok 669 /checksum/SHA1/reset/111 1087s ok 670 /checksum/SHA1/reset/112 1087s ok 671 /checksum/SHA1/reset/113 1087s ok 672 /checksum/SHA1/reset/114 1087s ok 673 /checksum/SHA1/reset/115 1087s ok 674 /checksum/SHA1/reset/116 1087s ok 675 /checksum/SHA1/reset/117 1087s ok 676 /checksum/SHA1/reset/118 1087s ok 677 /checksum/SHA1/reset/119 1087s ok 678 /checksum/SHA1/reset/120 1087s ok 679 /checksum/SHA1/reset/121 1087s ok 680 /checksum/SHA1/reset/122 1087s ok 681 /checksum/SHA1/reset/123 1087s ok 682 /checksum/SHA1/reset/124 1087s ok 683 /checksum/SHA1/reset/125 1087s ok 684 /checksum/SHA1/reset/126 1087s ok 685 /checksum/SHA1/reset/127 1087s ok 686 /checksum/SHA1/reset/128 1087s ok 687 /checksum/SHA1/reset/129 1087s ok 688 /checksum/SHA1/reset/130 1087s ok 689 /checksum/SHA1/reset/131 1087s ok 690 /checksum/SHA1/reset/132 1087s ok 691 /checksum/SHA1/reset/133 1087s ok 692 /checksum/SHA1/reset/134 1087s ok 693 /checksum/SHA1/reset/135 1087s ok 694 /checksum/SHA1/reset/136 1087s ok 695 /checksum/SHA1/reset/137 1087s ok 696 /checksum/SHA1/reset/138 1087s ok 697 /checksum/SHA1/reset/139 1087s ok 698 /checksum/SHA1/reset/140 1087s ok 699 /checksum/SHA1/reset/141 1087s ok 700 /checksum/SHA1/reset/142 1087s ok 701 /checksum/SHA1/reset/143 1087s ok 702 /checksum/SHA1/reset/144 1087s ok 703 /checksum/SHA1/reset/145 1087s ok 704 /checksum/SHA1/reset/146 1087s ok 705 /checksum/SHA1/reset/147 1087s ok 706 /checksum/SHA1/reset/148 1087s ok 707 /checksum/SHA1/reset/149 1087s ok 708 /checksum/SHA1/reset/150 1087s ok 709 /checksum/SHA1/reset/151 1087s ok 710 /checksum/SHA1/reset/152 1087s ok 711 /checksum/SHA1/reset/153 1087s ok 712 /checksum/SHA1/reset/154 1087s ok 713 /checksum/SHA1/reset/155 1087s ok 714 /checksum/SHA1/reset/156 1087s ok 715 /checksum/SHA1/reset/157 1087s ok 716 /checksum/SHA1/reset/158 1087s ok 717 /checksum/SHA1/reset/159 1087s ok 718 /checksum/SHA1/reset/160 1087s ok 719 /checksum/SHA1/reset/161 1087s ok 720 /checksum/SHA1/reset/162 1087s ok 721 /checksum/SHA1/reset/163 1087s ok 722 /checksum/SHA1/reset/164 1087s ok 723 /checksum/SHA1/reset/165 1087s ok 724 /checksum/SHA1/reset/166 1087s ok 725 /checksum/SHA1/reset/167 1087s ok 726 /checksum/SHA1/reset/168 1087s ok 727 /checksum/SHA1/reset/169 1087s ok 728 /checksum/SHA1/reset/170 1087s ok 729 /checksum/SHA1/reset/171 1087s ok 730 /checksum/SHA1/reset/172 1087s ok 731 /checksum/SHA1/reset/173 1087s ok 732 /checksum/SHA1/reset/174 1087s ok 733 /checksum/SHA1/reset/175 1087s ok 734 /checksum/SHA1/reset/176 1087s ok 735 /checksum/SHA1/reset/177 1087s ok 736 /checksum/SHA1/reset/178 1087s ok 737 /checksum/SHA1/reset/179 1087s ok 738 /checksum/SHA1/reset/180 1087s ok 739 /checksum/SHA1/reset/181 1087s ok 740 /checksum/SHA1/reset/182 1087s ok 741 /checksum/SHA1/reset/183 1087s # End of reset tests 1087s # End of SHA1 tests 1087s # Start of SHA256 tests 1087s ok 742 /checksum/SHA256/0 1087s ok 743 /checksum/SHA256/1 1087s ok 744 /checksum/SHA256/2 1087s ok 745 /checksum/SHA256/3 1087s ok 746 /checksum/SHA256/4 1087s ok 747 /checksum/SHA256/5 1087s ok 748 /checksum/SHA256/6 1087s ok 749 /checksum/SHA256/7 1087s ok 750 /checksum/SHA256/8 1087s ok 751 /checksum/SHA256/9 1087s ok 752 /checksum/SHA256/10 1087s ok 753 /checksum/SHA256/11 1087s ok 754 /checksum/SHA256/12 1087s ok 755 /checksum/SHA256/13 1087s ok 756 /checksum/SHA256/14 1087s ok 757 /checksum/SHA256/15 1087s ok 758 /checksum/SHA256/16 1087s ok 759 /checksum/SHA256/17 1087s ok 760 /checksum/SHA256/18 1087s ok 761 /checksum/SHA256/19 1087s ok 762 /checksum/SHA256/20 1087s ok 763 /checksum/SHA256/21 1087s ok 764 /checksum/SHA256/22 1087s ok 765 /checksum/SHA256/23 1087s ok 766 /checksum/SHA256/24 1087s ok 767 /checksum/SHA256/25 1087s ok 768 /checksum/SHA256/26 1087s ok 769 /checksum/SHA256/27 1087s ok 770 /checksum/SHA256/28 1087s ok 771 /checksum/SHA256/29 1087s ok 772 /checksum/SHA256/30 1087s ok 773 /checksum/SHA256/31 1087s ok 774 /checksum/SHA256/32 1087s ok 775 /checksum/SHA256/33 1087s ok 776 /checksum/SHA256/34 1087s ok 777 /checksum/SHA256/35 1087s ok 778 /checksum/SHA256/36 1087s ok 779 /checksum/SHA256/37 1087s ok 780 /checksum/SHA256/38 1087s ok 781 /checksum/SHA256/39 1087s ok 782 /checksum/SHA256/40 1087s ok 783 /checksum/SHA256/41 1087s ok 784 /checksum/SHA256/42 1087s ok 785 /checksum/SHA256/43 1087s ok 786 /checksum/SHA256/44 1087s ok 787 /checksum/SHA256/45 1087s ok 788 /checksum/SHA256/46 1087s ok 789 /checksum/SHA256/47 1087s ok 790 /checksum/SHA256/48 1087s ok 791 /checksum/SHA256/49 1087s ok 792 /checksum/SHA256/50 1087s ok 793 /checksum/SHA256/51 1087s ok 794 /checksum/SHA256/52 1087s ok 795 /checksum/SHA256/53 1087s ok 796 /checksum/SHA256/54 1087s ok 797 /checksum/SHA256/55 1087s ok 798 /checksum/SHA256/56 1087s ok 799 /checksum/SHA256/57 1087s ok 800 /checksum/SHA256/58 1087s ok 801 /checksum/SHA256/59 1087s ok 802 /checksum/SHA256/60 1087s ok 803 /checksum/SHA256/61 1087s ok 804 /checksum/SHA256/62 1087s ok 805 /checksum/SHA256/63 1087s ok 806 /checksum/SHA256/64 1087s ok 807 /checksum/SHA256/65 1087s ok 808 /checksum/SHA256/66 1087s ok 809 /checksum/SHA256/67 1087s ok 810 /checksum/SHA256/68 1087s ok 811 /checksum/SHA256/69 1087s ok 812 /checksum/SHA256/70 1087s ok 813 /checksum/SHA256/71 1087s ok 814 /checksum/SHA256/72 1087s ok 815 /checksum/SHA256/73 1087s ok 816 /checksum/SHA256/74 1087s ok 817 /checksum/SHA256/75 1087s ok 818 /checksum/SHA256/76 1087s ok 819 /checksum/SHA256/77 1087s ok 820 /checksum/SHA256/78 1087s ok 821 /checksum/SHA256/79 1087s ok 822 /checksum/SHA256/80 1087s ok 823 /checksum/SHA256/81 1087s ok 824 /checksum/SHA256/82 1087s ok 825 /checksum/SHA256/83 1087s ok 826 /checksum/SHA256/84 1087s ok 827 /checksum/SHA256/85 1087s ok 828 /checksum/SHA256/86 1087s ok 829 /checksum/SHA256/87 1087s ok 830 /checksum/SHA256/88 1087s ok 831 /checksum/SHA256/89 1087s ok 832 /checksum/SHA256/90 1087s ok 833 /checksum/SHA256/91 1087s ok 834 /checksum/SHA256/92 1087s ok 835 /checksum/SHA256/93 1087s ok 836 /checksum/SHA256/94 1087s ok 837 /checksum/SHA256/95 1087s ok 838 /checksum/SHA256/96 1087s ok 839 /checksum/SHA256/97 1087s ok 840 /checksum/SHA256/98 1087s ok 841 /checksum/SHA256/99 1087s ok 842 /checksum/SHA256/100 1087s ok 843 /checksum/SHA256/101 1087s ok 844 /checksum/SHA256/102 1087s ok 845 /checksum/SHA256/103 1087s ok 846 /checksum/SHA256/104 1087s ok 847 /checksum/SHA256/105 1087s ok 848 /checksum/SHA256/106 1087s ok 849 /checksum/SHA256/107 1087s ok 850 /checksum/SHA256/108 1087s ok 851 /checksum/SHA256/109 1087s ok 852 /checksum/SHA256/110 1087s ok 853 /checksum/SHA256/111 1087s ok 854 /checksum/SHA256/112 1087s ok 855 /checksum/SHA256/113 1087s ok 856 /checksum/SHA256/114 1087s ok 857 /checksum/SHA256/115 1087s ok 858 /checksum/SHA256/116 1087s ok 859 /checksum/SHA256/117 1087s ok 860 /checksum/SHA256/118 1087s ok 861 /checksum/SHA256/119 1087s ok 862 /checksum/SHA256/120 1087s ok 863 /checksum/SHA256/121 1087s ok 864 /checksum/SHA256/122 1087s ok 865 /checksum/SHA256/123 1087s ok 866 /checksum/SHA256/124 1087s ok 867 /checksum/SHA256/125 1087s ok 868 /checksum/SHA256/126 1087s ok 869 /checksum/SHA256/127 1087s ok 870 /checksum/SHA256/128 1087s ok 871 /checksum/SHA256/129 1087s ok 872 /checksum/SHA256/130 1087s ok 873 /checksum/SHA256/131 1087s ok 874 /checksum/SHA256/132 1087s ok 875 /checksum/SHA256/133 1087s ok 876 /checksum/SHA256/134 1087s ok 877 /checksum/SHA256/135 1087s ok 878 /checksum/SHA256/136 1087s ok 879 /checksum/SHA256/137 1087s ok 880 /checksum/SHA256/138 1087s ok 881 /checksum/SHA256/139 1087s ok 882 /checksum/SHA256/140 1087s ok 883 /checksum/SHA256/141 1087s ok 884 /checksum/SHA256/142 1087s ok 885 /checksum/SHA256/143 1087s ok 886 /checksum/SHA256/144 1087s ok 887 /checksum/SHA256/145 1087s ok 888 /checksum/SHA256/146 1087s ok 889 /checksum/SHA256/147 1087s ok 890 /checksum/SHA256/148 1087s ok 891 /checksum/SHA256/149 1087s ok 892 /checksum/SHA256/150 1087s ok 893 /checksum/SHA256/151 1087s ok 894 /checksum/SHA256/152 1087s ok 895 /checksum/SHA256/153 1087s ok 896 /checksum/SHA256/154 1087s ok 897 /checksum/SHA256/155 1087s ok 898 /checksum/SHA256/156 1087s ok 899 /checksum/SHA256/157 1087s ok 900 /checksum/SHA256/158 1087s ok 901 /checksum/SHA256/159 1087s ok 902 /checksum/SHA256/160 1087s ok 903 /checksum/SHA256/161 1087s ok 904 /checksum/SHA256/162 1087s ok 905 /checksum/SHA256/163 1087s ok 906 /checksum/SHA256/164 1087s ok 907 /checksum/SHA256/165 1087s ok 908 /checksum/SHA256/166 1087s ok 909 /checksum/SHA256/167 1087s ok 910 /checksum/SHA256/168 1087s ok 911 /checksum/SHA256/169 1087s ok 912 /checksum/SHA256/170 1087s ok 913 /checksum/SHA256/171 1087s ok 914 /checksum/SHA256/172 1087s ok 915 /checksum/SHA256/173 1087s ok 916 /checksum/SHA256/174 1087s ok 917 /checksum/SHA256/175 1087s ok 918 /checksum/SHA256/176 1087s ok 919 /checksum/SHA256/177 1087s ok 920 /checksum/SHA256/178 1087s ok 921 /checksum/SHA256/179 1087s ok 922 /checksum/SHA256/180 1087s ok 923 /checksum/SHA256/181 1087s ok 924 /checksum/SHA256/182 1087s ok 925 /checksum/SHA256/183 1087s ok 926 /checksum/SHA256/string 1087s ok 927 /checksum/SHA256/bytes 1087s # Start of reset tests 1087s ok 928 /checksum/SHA256/reset/0 1087s ok 929 /checksum/SHA256/reset/1 1087s ok 930 /checksum/SHA256/reset/2 1087s ok 931 /checksum/SHA256/reset/3 1087s ok 932 /checksum/SHA256/reset/4 1087s ok 933 /checksum/SHA256/reset/5 1087s ok 934 /checksum/SHA256/reset/6 1087s ok 935 /checksum/SHA256/reset/7 1087s ok 936 /checksum/SHA256/reset/8 1087s ok 937 /checksum/SHA256/reset/9 1087s ok 938 /checksum/SHA256/reset/10 1087s ok 939 /checksum/SHA256/reset/11 1087s ok 940 /checksum/SHA256/reset/12 1087s ok 941 /checksum/SHA256/reset/13 1087s ok 942 /checksum/SHA256/reset/14 1087s ok 943 /checksum/SHA256/reset/15 1087s ok 944 /checksum/SHA256/reset/16 1087s ok 945 /checksum/SHA256/reset/17 1087s ok 946 /checksum/SHA256/reset/18 1087s ok 947 /checksum/SHA256/reset/19 1087s ok 948 /checksum/SHA256/reset/20 1087s ok 949 /checksum/SHA256/reset/21 1087s ok 950 /checksum/SHA256/reset/22 1087s ok 951 /checksum/SHA256/reset/23 1087s ok 952 /checksum/SHA256/reset/24 1087s ok 953 /checksum/SHA256/reset/25 1087s ok 954 /checksum/SHA256/reset/26 1087s ok 955 /checksum/SHA256/reset/27 1087s ok 956 /checksum/SHA256/reset/28 1087s ok 957 /checksum/SHA256/reset/29 1087s ok 958 /checksum/SHA256/reset/30 1087s ok 959 /checksum/SHA256/reset/31 1087s ok 960 /checksum/SHA256/reset/32 1087s ok 961 /checksum/SHA256/reset/33 1087s ok 962 /checksum/SHA256/reset/34 1087s ok 963 /checksum/SHA256/reset/35 1087s ok 964 /checksum/SHA256/reset/36 1087s ok 965 /checksum/SHA256/reset/37 1087s ok 966 /checksum/SHA256/reset/38 1087s ok 967 /checksum/SHA256/reset/39 1087s ok 968 /checksum/SHA256/reset/40 1087s ok 969 /checksum/SHA256/reset/41 1087s ok 970 /checksum/SHA256/reset/42 1087s ok 971 /checksum/SHA256/reset/43 1087s ok 972 /checksum/SHA256/reset/44 1087s ok 973 /checksum/SHA256/reset/45 1087s ok 974 /checksum/SHA256/reset/46 1087s ok 975 /checksum/SHA256/reset/47 1087s ok 976 /checksum/SHA256/reset/48 1087s ok 977 /checksum/SHA256/reset/49 1087s ok 978 /checksum/SHA256/reset/50 1087s ok 979 /checksum/SHA256/reset/51 1087s ok 980 /checksum/SHA256/reset/52 1087s ok 981 /checksum/SHA256/reset/53 1087s ok 982 /checksum/SHA256/reset/54 1087s ok 983 /checksum/SHA256/reset/55 1087s ok 984 /checksum/SHA256/reset/56 1087s ok 985 /checksum/SHA256/reset/57 1087s ok 986 /checksum/SHA256/reset/58 1087s ok 987 /checksum/SHA256/reset/59 1087s ok 988 /checksum/SHA256/reset/60 1087s ok 989 /checksum/SHA256/reset/61 1087s ok 990 /checksum/SHA256/reset/62 1087s ok 991 /checksum/SHA256/reset/63 1087s ok 992 /checksum/SHA256/reset/64 1087s ok 993 /checksum/SHA256/reset/65 1087s ok 994 /checksum/SHA256/reset/66 1087s ok 995 /checksum/SHA256/reset/67 1087s ok 996 /checksum/SHA256/reset/68 1087s ok 997 /checksum/SHA256/reset/69 1087s ok 998 /checksum/SHA256/reset/70 1087s ok 999 /checksum/SHA256/reset/71 1087s ok 1000 /checksum/SHA256/reset/72 1087s ok 1001 /checksum/SHA256/reset/73 1087s ok 1002 /checksum/SHA256/reset/74 1087s ok 1003 /checksum/SHA256/reset/75 1087s ok 1004 /checksum/SHA256/reset/76 1087s ok 1005 /checksum/SHA256/reset/77 1087s ok 1006 /checksum/SHA256/reset/78 1087s ok 1007 /checksum/SHA256/reset/79 1087s ok 1008 /checksum/SHA256/reset/80 1087s ok 1009 /checksum/SHA256/reset/81 1087s ok 1010 /checksum/SHA256/reset/82 1087s ok 1011 /checksum/SHA256/reset/83 1087s ok 1012 /checksum/SHA256/reset/84 1087s ok 1013 /checksum/SHA256/reset/85 1087s ok 1014 /checksum/SHA256/reset/86 1087s ok 1015 /checksum/SHA256/reset/87 1087s ok 1016 /checksum/SHA256/reset/88 1087s ok 1017 /checksum/SHA256/reset/89 1087s ok 1018 /checksum/SHA256/reset/90 1087s ok 1019 /checksum/SHA256/reset/91 1087s ok 1020 /checksum/SHA256/reset/92 1087s ok 1021 /checksum/SHA256/reset/93 1087s ok 1022 /checksum/SHA256/reset/94 1087s ok 1023 /checksum/SHA256/reset/95 1087s ok 1024 /checksum/SHA256/reset/96 1087s ok 1025 /checksum/SHA256/reset/97 1087s ok 1026 /checksum/SHA256/reset/98 1087s ok 1027 /checksum/SHA256/reset/99 1087s ok 1028 /checksum/SHA256/reset/100 1087s ok 1029 /checksum/SHA256/reset/101 1087s ok 1030 /checksum/SHA256/reset/102 1087s ok 1031 /checksum/SHA256/reset/103 1087s ok 1032 /checksum/SHA256/reset/104 1087s ok 1033 /checksum/SHA256/reset/105 1087s ok 1034 /checksum/SHA256/reset/106 1087s ok 1035 /checksum/SHA256/reset/107 1087s ok 1036 /checksum/SHA256/reset/108 1087s ok 1037 /checksum/SHA256/reset/109 1087s ok 1038 /checksum/SHA256/reset/110 1087s ok 1039 /checksum/SHA256/reset/111 1087s ok 1040 /checksum/SHA256/reset/112 1087s ok 1041 /checksum/SHA256/reset/113 1087s ok 1042 /checksum/SHA256/reset/114 1087s ok 1043 /checksum/SHA256/reset/115 1087s ok 1044 /checksum/SHA256/reset/116 1087s ok 1045 /checksum/SHA256/reset/117 1087s ok 1046 /checksum/SHA256/reset/118 1087s ok 1047 /checksum/SHA256/reset/119 1087s ok 1048 /checksum/SHA256/reset/120 1087s ok 1049 /checksum/SHA256/reset/121 1087s ok 1050 /checksum/SHA256/reset/122 1087s ok 1051 /checksum/SHA256/reset/123 1087s ok 1052 /checksum/SHA256/reset/124 1087s ok 1053 /checksum/SHA256/reset/125 1087s ok 1054 /checksum/SHA256/reset/126 1087s ok 1055 /checksum/SHA256/reset/127 1087s ok 1056 /checksum/SHA256/reset/128 1087s ok 1057 /checksum/SHA256/reset/129 1087s ok 1058 /checksum/SHA256/reset/130 1087s ok 1059 /checksum/SHA256/reset/131 1087s ok 1060 /checksum/SHA256/reset/132 1087s ok 1061 /checksum/SHA256/reset/133 1087s ok 1062 /checksum/SHA256/reset/134 1087s ok 1063 /checksum/SHA256/reset/135 1087s ok 1064 /checksum/SHA256/reset/136 1087s ok 1065 /checksum/SHA256/reset/137 1087s ok 1066 /checksum/SHA256/reset/138 1087s ok 1067 /checksum/SHA256/reset/139 1087s ok 1068 /checksum/SHA256/reset/140 1087s ok 1069 /checksum/SHA256/reset/141 1087s ok 1070 /checksum/SHA256/reset/142 1087s ok 1071 /checksum/SHA256/reset/143 1087s ok 1072 /checksum/SHA256/reset/144 1087s ok 1073 /checksum/SHA256/reset/145 1087s ok 1074 /checksum/SHA256/reset/146 1087s ok 1075 /checksum/SHA256/reset/147 1087s ok 1076 /checksum/SHA256/reset/148 1087s ok 1077 /checksum/SHA256/reset/149 1087s ok 1078 /checksum/SHA256/reset/150 1087s ok 1079 /checksum/SHA256/reset/151 1087s ok 1080 /checksum/SHA256/reset/152 1087s ok 1081 /checksum/SHA256/reset/153 1087s ok 1082 /checksum/SHA256/reset/154 1087s ok 1083 /checksum/SHA256/reset/155 1087s ok 1084 /checksum/SHA256/reset/156 1087s ok 1085 /checksum/SHA256/reset/157 1087s ok 1086 /checksum/SHA256/reset/158 1087s ok 1087 /checksum/SHA256/reset/159 1087s ok 1088 /checksum/SHA256/reset/160 1087s ok 1089 /checksum/SHA256/reset/161 1087s ok 1090 /checksum/SHA256/reset/162 1087s ok 1091 /checksum/SHA256/reset/163 1087s ok 1092 /checksum/SHA256/reset/164 1087s ok 1093 /checksum/SHA256/reset/165 1087s ok 1094 /checksum/SHA256/reset/166 1087s ok 1095 /checksum/SHA256/reset/167 1087s ok 1096 /checksum/SHA256/reset/168 1087s ok 1097 /checksum/SHA256/reset/169 1087s ok 1098 /checksum/SHA256/reset/170 1087s ok 1099 /checksum/SHA256/reset/171 1087s ok 1100 /checksum/SHA256/reset/172 1087s ok 1101 /checksum/SHA256/reset/173 1087s ok 1102 /checksum/SHA256/reset/174 1087s ok 1103 /checksum/SHA256/reset/175 1087s ok 1104 /checksum/SHA256/reset/176 1087s ok 1105 /checksum/SHA256/reset/177 1087s ok 1106 /checksum/SHA256/reset/178 1087s ok 1107 /checksum/SHA256/reset/179 1087s ok 1108 /checksum/SHA256/reset/180 1087s ok 1109 /checksum/SHA256/reset/181 1087s ok 1110 /checksum/SHA256/reset/182 1087s ok 1111 /checksum/SHA256/reset/183 1087s # End of reset tests 1087s # End of SHA256 tests 1087s # Start of SHA384 tests 1087s ok 1112 /checksum/SHA384/0 1087s ok 1113 /checksum/SHA384/1 1087s ok 1114 /checksum/SHA384/2 1087s ok 1115 /checksum/SHA384/3 1087s ok 1116 /checksum/SHA384/4 1087s ok 1117 /checksum/SHA384/5 1087s ok 1118 /checksum/SHA384/6 1087s ok 1119 /checksum/SHA384/7 1087s ok 1120 /checksum/SHA384/8 1087s ok 1121 /checksum/SHA384/9 1087s ok 1122 /checksum/SHA384/10 1087s ok 1123 /checksum/SHA384/11 1087s ok 1124 /checksum/SHA384/12 1087s ok 1125 /checksum/SHA384/13 1087s ok 1126 /checksum/SHA384/14 1087s ok 1127 /checksum/SHA384/15 1087s ok 1128 /checksum/SHA384/16 1087s ok 1129 /checksum/SHA384/17 1087s ok 1130 /checksum/SHA384/18 1087s ok 1131 /checksum/SHA384/19 1087s ok 1132 /checksum/SHA384/20 1087s ok 1133 /checksum/SHA384/21 1087s ok 1134 /checksum/SHA384/22 1087s ok 1135 /checksum/SHA384/23 1087s ok 1136 /checksum/SHA384/24 1087s ok 1137 /checksum/SHA384/25 1087s ok 1138 /checksum/SHA384/26 1087s ok 1139 /checksum/SHA384/27 1087s ok 1140 /checksum/SHA384/28 1087s ok 1141 /checksum/SHA384/29 1087s ok 1142 /checksum/SHA384/30 1087s ok 1143 /checksum/SHA384/31 1087s ok 1144 /checksum/SHA384/32 1087s ok 1145 /checksum/SHA384/33 1087s ok 1146 /checksum/SHA384/34 1087s ok 1147 /checksum/SHA384/35 1087s ok 1148 /checksum/SHA384/36 1087s ok 1149 /checksum/SHA384/37 1087s ok 1150 /checksum/SHA384/38 1087s ok 1151 /checksum/SHA384/39 1087s ok 1152 /checksum/SHA384/40 1087s ok 1153 /checksum/SHA384/41 1087s ok 1154 /checksum/SHA384/42 1087s ok 1155 /checksum/SHA384/43 1087s ok 1156 /checksum/SHA384/44 1087s ok 1157 /checksum/SHA384/45 1087s ok 1158 /checksum/SHA384/46 1087s ok 1159 /checksum/SHA384/47 1087s ok 1160 /checksum/SHA384/48 1087s ok 1161 /checksum/SHA384/49 1087s ok 1162 /checksum/SHA384/50 1087s ok 1163 /checksum/SHA384/51 1087s ok 1164 /checksum/SHA384/52 1087s ok 1165 /checksum/SHA384/53 1087s ok 1166 /checksum/SHA384/54 1087s ok 1167 /checksum/SHA384/55 1087s ok 1168 /checksum/SHA384/56 1087s ok 1169 /checksum/SHA384/57 1087s ok 1170 /checksum/SHA384/58 1087s ok 1171 /checksum/SHA384/59 1087s ok 1172 /checksum/SHA384/60 1087s ok 1173 /checksum/SHA384/61 1087s ok 1174 /checksum/SHA384/62 1087s ok 1175 /checksum/SHA384/63 1087s ok 1176 /checksum/SHA384/64 1087s ok 1177 /checksum/SHA384/65 1087s ok 1178 /checksum/SHA384/66 1087s ok 1179 /checksum/SHA384/67 1087s ok 1180 /checksum/SHA384/68 1087s ok 1181 /checksum/SHA384/69 1087s ok 1182 /checksum/SHA384/70 1087s ok 1183 /checksum/SHA384/71 1087s ok 1184 /checksum/SHA384/72 1087s ok 1185 /checksum/SHA384/73 1087s ok 1186 /checksum/SHA384/74 1087s ok 1187 /checksum/SHA384/75 1087s ok 1188 /checksum/SHA384/76 1087s ok 1189 /checksum/SHA384/77 1087s ok 1190 /checksum/SHA384/78 1087s ok 1191 /checksum/SHA384/79 1087s ok 1192 /checksum/SHA384/80 1087s ok 1193 /checksum/SHA384/81 1087s ok 1194 /checksum/SHA384/82 1087s ok 1195 /checksum/SHA384/83 1087s ok 1196 /checksum/SHA384/84 1087s ok 1197 /checksum/SHA384/85 1087s ok 1198 /checksum/SHA384/86 1087s ok 1199 /checksum/SHA384/87 1087s ok 1200 /checksum/SHA384/88 1087s ok 1201 /checksum/SHA384/89 1087s ok 1202 /checksum/SHA384/90 1087s ok 1203 /checksum/SHA384/91 1087s ok 1204 /checksum/SHA384/92 1087s ok 1205 /checksum/SHA384/93 1087s ok 1206 /checksum/SHA384/94 1087s ok 1207 /checksum/SHA384/95 1087s ok 1208 /checksum/SHA384/96 1087s ok 1209 /checksum/SHA384/97 1087s ok 1210 /checksum/SHA384/98 1087s ok 1211 /checksum/SHA384/99 1087s ok 1212 /checksum/SHA384/100 1087s ok 1213 /checksum/SHA384/101 1087s ok 1214 /checksum/SHA384/102 1087s ok 1215 /checksum/SHA384/103 1087s ok 1216 /checksum/SHA384/104 1087s ok 1217 /checksum/SHA384/105 1087s ok 1218 /checksum/SHA384/106 1087s ok 1219 /checksum/SHA384/107 1087s ok 1220 /checksum/SHA384/108 1087s ok 1221 /checksum/SHA384/109 1087s ok 1222 /checksum/SHA384/110 1087s ok 1223 /checksum/SHA384/111 1087s ok 1224 /checksum/SHA384/112 1087s ok 1225 /checksum/SHA384/113 1087s ok 1226 /checksum/SHA384/114 1087s ok 1227 /checksum/SHA384/115 1087s ok 1228 /checksum/SHA384/116 1087s ok 1229 /checksum/SHA384/117 1087s ok 1230 /checksum/SHA384/118 1087s ok 1231 /checksum/SHA384/119 1087s ok 1232 /checksum/SHA384/120 1087s ok 1233 /checksum/SHA384/121 1087s ok 1234 /checksum/SHA384/122 1087s ok 1235 /checksum/SHA384/123 1087s ok 1236 /checksum/SHA384/124 1087s ok 1237 /checksum/SHA384/125 1087s ok 1238 /checksum/SHA384/126 1087s ok 1239 /checksum/SHA384/127 1087s ok 1240 /checksum/SHA384/128 1087s ok 1241 /checksum/SHA384/129 1087s ok 1242 /checksum/SHA384/130 1087s ok 1243 /checksum/SHA384/131 1087s ok 1244 /checksum/SHA384/132 1087s ok 1245 /checksum/SHA384/133 1087s ok 1246 /checksum/SHA384/134 1087s ok 1247 /checksum/SHA384/135 1087s ok 1248 /checksum/SHA384/136 1087s ok 1249 /checksum/SHA384/137 1087s ok 1250 /checksum/SHA384/138 1087s ok 1251 /checksum/SHA384/139 1087s ok 1252 /checksum/SHA384/140 1087s ok 1253 /checksum/SHA384/141 1087s ok 1254 /checksum/SHA384/142 1087s ok 1255 /checksum/SHA384/143 1087s ok 1256 /checksum/SHA384/144 1087s ok 1257 /checksum/SHA384/145 1087s ok 1258 /checksum/SHA384/146 1087s ok 1259 /checksum/SHA384/147 1087s ok 1260 /checksum/SHA384/148 1087s ok 1261 /checksum/SHA384/149 1087s ok 1262 /checksum/SHA384/150 1087s ok 1263 /checksum/SHA384/151 1087s ok 1264 /checksum/SHA384/152 1087s ok 1265 /checksum/SHA384/153 1087s ok 1266 /checksum/SHA384/154 1087s ok 1267 /checksum/SHA384/155 1087s ok 1268 /checksum/SHA384/156 1087s ok 1269 /checksum/SHA384/157 1087s ok 1270 /checksum/SHA384/158 1087s ok 1271 /checksum/SHA384/159 1087s ok 1272 /checksum/SHA384/160 1087s ok 1273 /checksum/SHA384/161 1087s ok 1274 /checksum/SHA384/162 1087s ok 1275 /checksum/SHA384/163 1087s ok 1276 /checksum/SHA384/164 1087s ok 1277 /checksum/SHA384/165 1087s ok 1278 /checksum/SHA384/166 1087s ok 1279 /checksum/SHA384/167 1087s ok 1280 /checksum/SHA384/168 1087s ok 1281 /checksum/SHA384/169 1087s ok 1282 /checksum/SHA384/170 1087s ok 1283 /checksum/SHA384/171 1087s ok 1284 /checksum/SHA384/172 1087s ok 1285 /checksum/SHA384/173 1087s ok 1286 /checksum/SHA384/174 1087s ok 1287 /checksum/SHA384/175 1087s ok 1288 /checksum/SHA384/176 1087s ok 1289 /checksum/SHA384/177 1087s ok 1290 /checksum/SHA384/178 1087s ok 1291 /checksum/SHA384/179 1087s ok 1292 /checksum/SHA384/180 1087s ok 1293 /checksum/SHA384/181 1087s ok 1294 /checksum/SHA384/182 1087s ok 1295 /checksum/SHA384/183 1087s ok 1296 /checksum/SHA384/string 1087s ok 1297 /checksum/SHA384/bytes 1087s # Start of reset tests 1087s ok 1298 /checksum/SHA384/reset/0 1087s ok 1299 /checksum/SHA384/reset/1 1087s ok 1300 /checksum/SHA384/reset/2 1087s ok 1301 /checksum/SHA384/reset/3 1087s ok 1302 /checksum/SHA384/reset/4 1087s ok 1303 /checksum/SHA384/reset/5 1087s ok 1304 /checksum/SHA384/reset/6 1087s ok 1305 /checksum/SHA384/reset/7 1087s ok 1306 /checksum/SHA384/reset/8 1087s ok 1307 /checksum/SHA384/reset/9 1087s ok 1308 /checksum/SHA384/reset/10 1087s ok 1309 /checksum/SHA384/reset/11 1087s ok 1310 /checksum/SHA384/reset/12 1087s ok 1311 /checksum/SHA384/reset/13 1087s ok 1312 /checksum/SHA384/reset/14 1087s ok 1313 /checksum/SHA384/reset/15 1087s ok 1314 /checksum/SHA384/reset/16 1087s ok 1315 /checksum/SHA384/reset/17 1087s ok 1316 /checksum/SHA384/reset/18 1087s ok 1317 /checksum/SHA384/reset/19 1087s ok 1318 /checksum/SHA384/reset/20 1087s ok 1319 /checksum/SHA384/reset/21 1087s ok 1320 /checksum/SHA384/reset/22 1087s ok 1321 /checksum/SHA384/reset/23 1087s ok 1322 /checksum/SHA384/reset/24 1087s ok 1323 /checksum/SHA384/reset/25 1087s ok 1324 /checksum/SHA384/reset/26 1087s ok 1325 /checksum/SHA384/reset/27 1087s ok 1326 /checksum/SHA384/reset/28 1087s ok 1327 /checksum/SHA384/reset/29 1087s ok 1328 /checksum/SHA384/reset/30 1087s ok 1329 /checksum/SHA384/reset/31 1087s ok 1330 /checksum/SHA384/reset/32 1087s ok 1331 /checksum/SHA384/reset/33 1087s ok 1332 /checksum/SHA384/reset/34 1087s ok 1333 /checksum/SHA384/reset/35 1087s ok 1334 /checksum/SHA384/reset/36 1087s ok 1335 /checksum/SHA384/reset/37 1087s ok 1336 /checksum/SHA384/reset/38 1087s ok 1337 /checksum/SHA384/reset/39 1087s ok 1338 /checksum/SHA384/reset/40 1087s ok 1339 /checksum/SHA384/reset/41 1087s ok 1340 /checksum/SHA384/reset/42 1087s ok 1341 /checksum/SHA384/reset/43 1087s ok 1342 /checksum/SHA384/reset/44 1087s ok 1343 /checksum/SHA384/reset/45 1087s ok 1344 /checksum/SHA384/reset/46 1087s ok 1345 /checksum/SHA384/reset/47 1087s ok 1346 /checksum/SHA384/reset/48 1087s ok 1347 /checksum/SHA384/reset/49 1087s ok 1348 /checksum/SHA384/reset/50 1087s ok 1349 /checksum/SHA384/reset/51 1087s ok 1350 /checksum/SHA384/reset/52 1087s ok 1351 /checksum/SHA384/reset/53 1087s ok 1352 /checksum/SHA384/reset/54 1087s ok 1353 /checksum/SHA384/reset/55 1087s ok 1354 /checksum/SHA384/reset/56 1087s ok 1355 /checksum/SHA384/reset/57 1087s ok 1356 /checksum/SHA384/reset/58 1087s ok 1357 /checksum/SHA384/reset/59 1087s ok 1358 /checksum/SHA384/reset/60 1087s ok 1359 /checksum/SHA384/reset/61 1087s ok 1360 /checksum/SHA384/reset/62 1087s ok 1361 /checksum/SHA384/reset/63 1087s ok 1362 /checksum/SHA384/reset/64 1087s ok 1363 /checksum/SHA384/reset/65 1087s ok 1364 /checksum/SHA384/reset/66 1087s ok 1365 /checksum/SHA384/reset/67 1087s ok 1366 /checksum/SHA384/reset/68 1087s ok 1367 /checksum/SHA384/reset/69 1087s ok 1368 /checksum/SHA384/reset/70 1087s ok 1369 /checksum/SHA384/reset/71 1087s ok 1370 /checksum/SHA384/reset/72 1087s ok 1371 /checksum/SHA384/reset/73 1087s ok 1372 /checksum/SHA384/reset/74 1087s ok 1373 /checksum/SHA384/reset/75 1087s ok 1374 /checksum/SHA384/reset/76 1087s ok 1375 /checksum/SHA384/reset/77 1087s ok 1376 /checksum/SHA384/reset/78 1087s ok 1377 /checksum/SHA384/reset/79 1087s ok 1378 /checksum/SHA384/reset/80 1087s ok 1379 /checksum/SHA384/reset/81 1087s ok 1380 /checksum/SHA384/reset/82 1087s ok 1381 /checksum/SHA384/reset/83 1087s ok 1382 /checksum/SHA384/reset/84 1087s ok 1383 /checksum/SHA384/reset/85 1087s ok 1384 /checksum/SHA384/reset/86 1087s ok 1385 /checksum/SHA384/reset/87 1087s ok 1386 /checksum/SHA384/reset/88 1087s ok 1387 /checksum/SHA384/reset/89 1087s ok 1388 /checksum/SHA384/reset/90 1087s ok 1389 /checksum/SHA384/reset/91 1087s ok 1390 /checksum/SHA384/reset/92 1087s ok 1391 /checksum/SHA384/reset/93 1087s ok 1392 /checksum/SHA384/reset/94 1087s ok 1393 /checksum/SHA384/reset/95 1087s ok 1394 /checksum/SHA384/reset/96 1087s ok 1395 /checksum/SHA384/reset/97 1087s ok 1396 /checksum/SHA384/reset/98 1087s ok 1397 /checksum/SHA384/reset/99 1087s ok 1398 /checksum/SHA384/reset/100 1087s ok 1399 /checksum/SHA384/reset/101 1087s ok 1400 /checksum/SHA384/reset/102 1087s ok 1401 /checksum/SHA384/reset/103 1087s ok 1402 /checksum/SHA384/reset/104 1087s ok 1403 /checksum/SHA384/reset/105 1087s ok 1404 /checksum/SHA384/reset/106 1087s ok 1405 /checksum/SHA384/reset/107 1087s ok 1406 /checksum/SHA384/reset/108 1087s ok 1407 /checksum/SHA384/reset/109 1087s ok 1408 /checksum/SHA384/reset/110 1087s ok 1409 /checksum/SHA384/reset/111 1087s ok 1410 /checksum/SHA384/reset/112 1087s ok 1411 /checksum/SHA384/reset/113 1087s ok 1412 /checksum/SHA384/reset/114 1087s ok 1413 /checksum/SHA384/reset/115 1087s ok 1414 /checksum/SHA384/reset/116 1087s ok 1415 /checksum/SHA384/reset/117 1087s ok 1416 /checksum/SHA384/reset/118 1087s ok 1417 /checksum/SHA384/reset/119 1087s ok 1418 /checksum/SHA384/reset/120 1087s ok 1419 /checksum/SHA384/reset/121 1087s ok 1420 /checksum/SHA384/reset/122 1087s ok 1421 /checksum/SHA384/reset/123 1087s ok 1422 /checksum/SHA384/reset/124 1087s ok 1423 /checksum/SHA384/reset/125 1087s ok 1424 /checksum/SHA384/reset/126 1087s ok 1425 /checksum/SHA384/reset/127 1087s ok 1426 /checksum/SHA384/reset/128 1087s ok 1427 /checksum/SHA384/reset/129 1087s ok 1428 /checksum/SHA384/reset/130 1087s ok 1429 /checksum/SHA384/reset/131 1087s ok 1430 /checksum/SHA384/reset/132 1087s ok 1431 /checksum/SHA384/reset/133 1087s ok 1432 /checksum/SHA384/reset/134 1087s ok 1433 /checksum/SHA384/reset/135 1087s ok 1434 /checksum/SHA384/reset/136 1087s ok 1435 /checksum/SHA384/reset/137 1087s ok 1436 /checksum/SHA384/reset/138 1087s ok 1437 /checksum/SHA384/reset/139 1087s ok 1438 /checksum/SHA384/reset/140 1087s ok 1439 /checksum/SHA384/reset/141 1087s ok 1440 /checksum/SHA384/reset/142 1087s ok 1441 /checksum/SHA384/reset/143 1087s ok 1442 /checksum/SHA384/reset/144 1087s ok 1443 /checksum/SHA384/reset/145 1087s ok 1444 /checksum/SHA384/reset/146 1087s ok 1445 /checksum/SHA384/reset/147 1087s ok 1446 /checksum/SHA384/reset/148 1087s ok 1447 /checksum/SHA384/reset/149 1087s ok 1448 /checksum/SHA384/reset/150 1087s ok 1449 /checksum/SHA384/reset/151 1087s ok 1450 /checksum/SHA384/reset/152 1087s ok 1451 /checksum/SHA384/reset/153 1087s ok 1452 /checksum/SHA384/reset/154 1087s ok 1453 /checksum/SHA384/reset/155 1087s ok 1454 /checksum/SHA384/reset/156 1087s ok 1455 /checksum/SHA384/reset/157 1087s ok 1456 /checksum/SHA384/reset/158 1087s ok 1457 /checksum/SHA384/reset/159 1087s ok 1458 /checksum/SHA384/reset/160 1087s ok 1459 /checksum/SHA384/reset/161 1087s ok 1460 /checksum/SHA384/reset/162 1087s ok 1461 /checksum/SHA384/reset/163 1087s ok 1462 /checksum/SHA384/reset/164 1087s ok 1463 /checksum/SHA384/reset/165 1087s ok 1464 /checksum/SHA384/reset/166 1087s ok 1465 /checksum/SHA384/reset/167 1087s ok 1466 /checksum/SHA384/reset/168 1087s ok 1467 /checksum/SHA384/reset/169 1087s ok 1468 /checksum/SHA384/reset/170 1087s ok 1469 /checksum/SHA384/reset/171 1087s ok 1470 /checksum/SHA384/reset/172 1087s ok 1471 /checksum/SHA384/reset/173 1087s ok 1472 /checksum/SHA384/reset/174 1087s ok 1473 /checksum/SHA384/reset/175 1087s ok 1474 /checksum/SHA384/reset/176 1087s ok 1475 /checksum/SHA384/reset/177 1087s ok 1476 /checksum/SHA384/reset/178 1087s ok 1477 /checksum/SHA384/reset/179 1087s ok 1478 /checksum/SHA384/reset/180 1087s ok 1479 /checksum/SHA384/reset/181 1087s ok 1480 /checksum/SHA384/reset/182 1087s ok 1481 /checksum/SHA384/reset/183 1087s # End of reset tests 1087s # End of SHA384 tests 1087s # Start of SHA512 tests 1087s ok 1482 /checksum/SHA512/0 1087s ok 1483 /checksum/SHA512/1 1087s ok 1484 /checksum/SHA512/2 1087s ok 1485 /checksum/SHA512/3 1087s ok 1486 /checksum/SHA512/4 1087s ok 1487 /checksum/SHA512/5 1087s ok 1488 /checksum/SHA512/6 1087s ok 1489 /checksum/SHA512/7 1087s ok 1490 /checksum/SHA512/8 1087s ok 1491 /checksum/SHA512/9 1087s ok 1492 /checksum/SHA512/10 1087s ok 1493 /checksum/SHA512/11 1087s ok 1494 /checksum/SHA512/12 1087s ok 1495 /checksum/SHA512/13 1087s ok 1496 /checksum/SHA512/14 1087s ok 1497 /checksum/SHA512/15 1087s ok 1498 /checksum/SHA512/16 1087s ok 1499 /checksum/SHA512/17 1087s ok 1500 /checksum/SHA512/18 1087s ok 1501 /checksum/SHA512/19 1087s ok 1502 /checksum/SHA512/20 1087s ok 1503 /checksum/SHA512/21 1087s ok 1504 /checksum/SHA512/22 1087s ok 1505 /checksum/SHA512/23 1087s ok 1506 /checksum/SHA512/24 1087s ok 1507 /checksum/SHA512/25 1087s ok 1508 /checksum/SHA512/26 1087s ok 1509 /checksum/SHA512/27 1087s ok 1510 /checksum/SHA512/28 1087s ok 1511 /checksum/SHA512/29 1087s ok 1512 /checksum/SHA512/30 1087s ok 1513 /checksum/SHA512/31 1087s ok 1514 /checksum/SHA512/32 1087s ok 1515 /checksum/SHA512/33 1087s ok 1516 /checksum/SHA512/34 1087s ok 1517 /checksum/SHA512/35 1087s ok 1518 /checksum/SHA512/36 1087s ok 1519 /checksum/SHA512/37 1087s ok 1520 /checksum/SHA512/38 1087s ok 1521 /checksum/SHA512/39 1087s ok 1522 /checksum/SHA512/40 1087s ok 1523 /checksum/SHA512/41 1087s ok 1524 /checksum/SHA512/42 1087s ok 1525 /checksum/SHA512/43 1087s ok 1526 /checksum/SHA512/44 1087s ok 1527 /checksum/SHA512/45 1087s ok 1528 /checksum/SHA512/46 1087s ok 1529 /checksum/SHA512/47 1087s ok 1530 /checksum/SHA512/48 1087s ok 1531 /checksum/SHA512/49 1087s ok 1532 /checksum/SHA512/50 1087s ok 1533 /checksum/SHA512/51 1087s ok 1534 /checksum/SHA512/52 1087s ok 1535 /checksum/SHA512/53 1087s ok 1536 /checksum/SHA512/54 1087s ok 1537 /checksum/SHA512/55 1087s ok 1538 /checksum/SHA512/56 1087s ok 1539 /checksum/SHA512/57 1087s ok 1540 /checksum/SHA512/58 1087s ok 1541 /checksum/SHA512/59 1087s ok 1542 /checksum/SHA512/60 1087s ok 1543 /checksum/SHA512/61 1087s ok 1544 /checksum/SHA512/62 1087s ok 1545 /checksum/SHA512/63 1087s ok 1546 /checksum/SHA512/64 1087s ok 1547 /checksum/SHA512/65 1087s ok 1548 /checksum/SHA512/66 1087s ok 1549 /checksum/SHA512/67 1087s ok 1550 /checksum/SHA512/68 1087s ok 1551 /checksum/SHA512/69 1087s ok 1552 /checksum/SHA512/70 1087s ok 1553 /checksum/SHA512/71 1087s ok 1554 /checksum/SHA512/72 1087s ok 1555 /checksum/SHA512/73 1087s ok 1556 /checksum/SHA512/74 1087s ok 1557 /checksum/SHA512/75 1087s ok 1558 /checksum/SHA512/76 1087s ok 1559 /checksum/SHA512/77 1087s ok 1560 /checksum/SHA512/78 1087s ok 1561 /checksum/SHA512/79 1087s ok 1562 /checksum/SHA512/80 1087s ok 1563 /checksum/SHA512/81 1087s ok 1564 /checksum/SHA512/82 1087s ok 1565 /checksum/SHA512/83 1087s ok 1566 /checksum/SHA512/84 1087s ok 1567 /checksum/SHA512/85 1087s ok 1568 /checksum/SHA512/86 1087s ok 1569 /checksum/SHA512/87 1087s ok 1570 /checksum/SHA512/88 1087s ok 1571 /checksum/SHA512/89 1087s ok 1572 /checksum/SHA512/90 1087s ok 1573 /checksum/SHA512/91 1087s ok 1574 /checksum/SHA512/92 1087s ok 1575 /checksum/SHA512/93 1087s ok 1576 /checksum/SHA512/94 1087s ok 1577 /checksum/SHA512/95 1087s ok 1578 /checksum/SHA512/96 1087s ok 1579 /checksum/SHA512/97 1087s ok 1580 /checksum/SHA512/98 1087s ok 1581 /checksum/SHA512/99 1087s ok 1582 /checksum/SHA512/100 1087s ok 1583 /checksum/SHA512/101 1087s ok 1584 /checksum/SHA512/102 1087s ok 1585 /checksum/SHA512/103 1087s ok 1586 /checksum/SHA512/104 1087s ok 1587 /checksum/SHA512/105 1087s ok 1588 /checksum/SHA512/106 1087s ok 1589 /checksum/SHA512/107 1087s ok 1590 /checksum/SHA512/108 1087s ok 1591 /checksum/SHA512/109 1087s ok 1592 /checksum/SHA512/110 1087s ok 1593 /checksum/SHA512/111 1087s ok 1594 /checksum/SHA512/112 1087s ok 1595 /checksum/SHA512/113 1087s ok 1596 /checksum/SHA512/114 1087s ok 1597 /checksum/SHA512/115 1087s ok 1598 /checksum/SHA512/116 1087s ok 1599 /checksum/SHA512/117 1087s ok 1600 /checksum/SHA512/118 1087s ok 1601 /checksum/SHA512/119 1087s ok 1602 /checksum/SHA512/120 1087s ok 1603 /checksum/SHA512/121 1087s ok 1604 /checksum/SHA512/122 1087s ok 1605 /checksum/SHA512/123 1087s ok 1606 /checksum/SHA512/124 1087s ok 1607 /checksum/SHA512/125 1087s ok 1608 /checksum/SHA512/126 1087s ok 1609 /checksum/SHA512/127 1087s ok 1610 /checksum/SHA512/128 1087s ok 1611 /checksum/SHA512/129 1087s ok 1612 /checksum/SHA512/130 1087s ok 1613 /checksum/SHA512/131 1087s ok 1614 /checksum/SHA512/132 1087s ok 1615 /checksum/SHA512/133 1087s ok 1616 /checksum/SHA512/134 1087s ok 1617 /checksum/SHA512/135 1087s ok 1618 /checksum/SHA512/136 1087s ok 1619 /checksum/SHA512/137 1087s ok 1620 /checksum/SHA512/138 1087s ok 1621 /checksum/SHA512/139 1087s ok 1622 /checksum/SHA512/140 1087s ok 1623 /checksum/SHA512/141 1087s ok 1624 /checksum/SHA512/142 1087s ok 1625 /checksum/SHA512/143 1087s ok 1626 /checksum/SHA512/144 1087s ok 1627 /checksum/SHA512/145 1087s ok 1628 /checksum/SHA512/146 1087s ok 1629 /checksum/SHA512/147 1087s ok 1630 /checksum/SHA512/148 1087s ok 1631 /checksum/SHA512/149 1087s ok 1632 /checksum/SHA512/150 1087s ok 1633 /checksum/SHA512/151 1087s ok 1634 /checksum/SHA512/152 1087s ok 1635 /checksum/SHA512/153 1087s ok 1636 /checksum/SHA512/154 1087s ok 1637 /checksum/SHA512/155 1087s ok 1638 /checksum/SHA512/156 1087s ok 1639 /checksum/SHA512/157 1087s ok 1640 /checksum/SHA512/158 1087s ok 1641 /checksum/SHA512/159 1087s ok 1642 /checksum/SHA512/160 1087s ok 1643 /checksum/SHA512/161 1087s ok 1644 /checksum/SHA512/162 1087s ok 1645 /checksum/SHA512/163 1087s ok 1646 /checksum/SHA512/164 1087s ok 1647 /checksum/SHA512/165 1087s ok 1648 /checksum/SHA512/166 1087s ok 1649 /checksum/SHA512/167 1087s ok 1650 /checksum/SHA512/168 1087s ok 1651 /checksum/SHA512/169 1087s ok 1652 /checksum/SHA512/170 1087s ok 1653 /checksum/SHA512/171 1087s ok 1654 /checksum/SHA512/172 1087s ok 1655 /checksum/SHA512/173 1087s ok 1656 /checksum/SHA512/174 1087s ok 1657 /checksum/SHA512/175 1087s ok 1658 /checksum/SHA512/176 1087s ok 1659 /checksum/SHA512/177 1087s ok 1660 /checksum/SHA512/178 1087s ok 1661 /checksum/SHA512/179 1087s ok 1662 /checksum/SHA512/180 1087s ok 1663 /checksum/SHA512/181 1087s ok 1664 /checksum/SHA512/182 1087s ok 1665 /checksum/SHA512/183 1087s ok 1666 /checksum/SHA512/string 1087s ok 1667 /checksum/SHA512/bytes 1087s # Start of reset tests 1087s ok 1668 /checksum/SHA512/reset/0 1087s ok 1669 /checksum/SHA512/reset/1 1087s ok 1670 /checksum/SHA512/reset/2 1087s ok 1671 /checksum/SHA512/reset/3 1087s ok 1672 /checksum/SHA512/reset/4 1087s ok 1673 /checksum/SHA512/reset/5 1087s ok 1674 /checksum/SHA512/reset/6 1087s ok 1675 /checksum/SHA512/reset/7 1087s ok 1676 /checksum/SHA512/reset/8 1087s ok 1677 /checksum/SHA512/reset/9 1087s ok 1678 /checksum/SHA512/reset/10 1087s ok 1679 /checksum/SHA512/reset/11 1087s ok 1680 /checksum/SHA512/reset/12 1087s ok 1681 /checksum/SHA512/reset/13 1087s ok 1682 /checksum/SHA512/reset/14 1087s ok 1683 /checksum/SHA512/reset/15 1087s ok 1684 /checksum/SHA512/reset/16 1087s ok 1685 /checksum/SHA512/reset/17 1087s ok 1686 /checksum/SHA512/reset/18 1087s ok 1687 /checksum/SHA512/reset/19 1087s ok 1688 /checksum/SHA512/reset/20 1087s ok 1689 /checksum/SHA512/reset/21 1087s ok 1690 /checksum/SHA512/reset/22 1087s ok 1691 /checksum/SHA512/reset/23 1087s ok 1692 /checksum/SHA512/reset/24 1087s ok 1693 /checksum/SHA512/reset/25 1087s ok 1694 /checksum/SHA512/reset/26 1087s ok 1695 /checksum/SHA512/reset/27 1087s ok 1696 /checksum/SHA512/reset/28 1087s ok 1697 /checksum/SHA512/reset/29 1087s ok 1698 /checksum/SHA512/reset/30 1087s ok 1699 /checksum/SHA512/reset/31 1087s ok 1700 /checksum/SHA512/reset/32 1087s ok 1701 /checksum/SHA512/reset/33 1087s ok 1702 /checksum/SHA512/reset/34 1087s ok 1703 /checksum/SHA512/reset/35 1087s ok 1704 /checksum/SHA512/reset/36 1087s ok 1705 /checksum/SHA512/reset/37 1087s ok 1706 /checksum/SHA512/reset/38 1087s ok 1707 /checksum/SHA512/reset/39 1087s ok 1708 /checksum/SHA512/reset/40 1087s ok 1709 /checksum/SHA512/reset/41 1087s ok 1710 /checksum/SHA512/reset/42 1087s ok 1711 /checksum/SHA512/reset/43 1087s ok 1712 /checksum/SHA512/reset/44 1087s ok 1713 /checksum/SHA512/reset/45 1087s ok 1714 /checksum/SHA512/reset/46 1087s ok 1715 /checksum/SHA512/reset/47 1087s ok 1716 /checksum/SHA512/reset/48 1087s ok 1717 /checksum/SHA512/reset/49 1087s ok 1718 /checksum/SHA512/reset/50 1087s ok 1719 /checksum/SHA512/reset/51 1087s ok 1720 /checksum/SHA512/reset/52 1087s ok 1721 /checksum/SHA512/reset/53 1087s ok 1722 /checksum/SHA512/reset/54 1087s ok 1723 /checksum/SHA512/reset/55 1087s ok 1724 /checksum/SHA512/reset/56 1087s ok 1725 /checksum/SHA512/reset/57 1087s ok 1726 /checksum/SHA512/reset/58 1087s ok 1727 /checksum/SHA512/reset/59 1087s ok 1728 /checksum/SHA512/reset/60 1087s ok 1729 /checksum/SHA512/reset/61 1087s ok 1730 /checksum/SHA512/reset/62 1087s ok 1731 /checksum/SHA512/reset/63 1087s ok 1732 /checksum/SHA512/reset/64 1087s ok 1733 /checksum/SHA512/reset/65 1087s ok 1734 /checksum/SHA512/reset/66 1087s ok 1735 /checksum/SHA512/reset/67 1087s ok 1736 /checksum/SHA512/reset/68 1087s ok 1737 /checksum/SHA512/reset/69 1087s ok 1738 /checksum/SHA512/reset/70 1087s ok 1739 /checksum/SHA512/reset/71 1087s ok 1740 /checksum/SHA512/reset/72 1087s ok 1741 /checksum/SHA512/reset/73 1087s ok 1742 /checksum/SHA512/reset/74 1087s ok 1743 /checksum/SHA512/reset/75 1087s ok 1744 /checksum/SHA512/reset/76 1087s ok 1745 /checksum/SHA512/reset/77 1087s ok 1746 /checksum/SHA512/reset/78 1087s ok 1747 /checksum/SHA512/reset/79 1087s ok 1748 /checksum/SHA512/reset/80 1087s ok 1749 /checksum/SHA512/reset/81 1087s ok 1750 /checksum/SHA512/reset/82 1087s ok 1751 /checksum/SHA512/reset/83 1087s ok 1752 /checksum/SHA512/reset/84 1087s ok 1753 /checksum/SHA512/reset/85 1087s ok 1754 /checksum/SHA512/reset/86 1087s ok 1755 /checksum/SHA512/reset/87 1087s ok 1756 /checksum/SHA512/reset/88 1087s ok 1757 /checksum/SHA512/reset/89 1087s ok 1758 /checksum/SHA512/reset/90 1087s ok 1759 /checksum/SHA512/reset/91 1087s ok 1760 /checksum/SHA512/reset/92 1087s ok 1761 /checksum/SHA512/reset/93 1087s ok 1762 /checksum/SHA512/reset/94 1087s ok 1763 /checksum/SHA512/reset/95 1087s ok 1764 /checksum/SHA512/reset/96 1087s ok 1765 /checksum/SHA512/reset/97 1087s ok 1766 /checksum/SHA512/reset/98 1087s ok 1767 /checksum/SHA512/reset/99 1087s ok 1768 /checksum/SHA512/reset/100 1087s ok 1769 /checksum/SHA512/reset/101 1087s ok 1770 /checksum/SHA512/reset/102 1087s ok 1771 /checksum/SHA512/reset/103 1087s ok 1772 /checksum/SHA512/reset/104 1087s ok 1773 /checksum/SHA512/reset/105 1087s ok 1774 /checksum/SHA512/reset/106 1087s ok 1775 /checksum/SHA512/reset/107 1087s ok 1776 /checksum/SHA512/reset/108 1087s ok 1777 /checksum/SHA512/reset/109 1087s ok 1778 /checksum/SHA512/reset/110 1087s ok 1779 /checksum/SHA512/reset/111 1087s ok 1780 /checksum/SHA512/reset/112 1087s ok 1781 /checksum/SHA512/reset/113 1087s ok 1782 /checksum/SHA512/reset/114 1087s ok 1783 /checksum/SHA512/reset/115 1087s ok 1784 /checksum/SHA512/reset/116 1087s ok 1785 /checksum/SHA512/reset/117 1087s ok 1786 /checksum/SHA512/reset/118 1087s ok 1787 /checksum/SHA512/reset/119 1087s ok 1788 /checksum/SHA512/reset/120 1087s ok 1789 /checksum/SHA512/reset/121 1087s ok 1790 /checksum/SHA512/reset/122 1087s ok 1791 /checksum/SHA512/reset/123 1087s ok 1792 /checksum/SHA512/reset/124 1087s ok 1793 /checksum/SHA512/reset/125 1087s ok 1794 /checksum/SHA512/reset/126 1087s ok 1795 /checksum/SHA512/reset/127 1087s ok 1796 /checksum/SHA512/reset/128 1087s ok 1797 /checksum/SHA512/reset/129 1087s ok 1798 /checksum/SHA512/reset/130 1087s ok 1799 /checksum/SHA512/reset/131 1087s ok 1800 /checksum/SHA512/reset/132 1087s ok 1801 /checksum/SHA512/reset/133 1087s ok 1802 /checksum/SHA512/reset/134 1087s ok 1803 /checksum/SHA512/reset/135 1087s ok 1804 /checksum/SHA512/reset/136 1087s ok 1805 /checksum/SHA512/reset/137 1087s ok 1806 /checksum/SHA512/reset/138 1087s ok 1807 /checksum/SHA512/reset/139 1087s ok 1808 /checksum/SHA512/reset/140 1087s ok 1809 /checksum/SHA512/reset/141 1087s ok 1810 /checksum/SHA512/reset/142 1087s ok 1811 /checksum/SHA512/reset/143 1087s ok 1812 /checksum/SHA512/reset/144 1087s ok 1813 /checksum/SHA512/reset/145 1087s ok 1814 /checksum/SHA512/reset/146 1087s ok 1815 /checksum/SHA512/reset/147 1087s ok 1816 /checksum/SHA512/reset/148 1087s ok 1817 /checksum/SHA512/reset/149 1087s ok 1818 /checksum/SHA512/reset/150 1087s ok 1819 /checksum/SHA512/reset/151 1087s ok 1820 /checksum/SHA512/reset/152 1087s ok 1821 /checksum/SHA512/reset/153 1087s ok 1822 /checksum/SHA512/reset/154 1087s ok 1823 /checksum/SHA512/reset/155 1087s ok 1824 /checksum/SHA512/reset/156 1087s ok 1825 /checksum/SHA512/reset/157 1087s ok 1826 /checksum/SHA512/reset/158 1087s ok 1827 /checksum/SHA512/reset/159 1087s ok 1828 /checksum/SHA512/reset/160 1087s ok 1829 /checksum/SHA512/reset/161 1087s ok 1830 /checksum/SHA512/reset/162 1087s ok 1831 /checksum/SHA512/reset/163 1087s ok 1832 /checksum/SHA512/reset/164 1087s ok 1833 /checksum/SHA512/reset/165 1087s ok 1834 /checksum/SHA512/reset/166 1087s ok 1835 /checksum/SHA512/reset/167 1087s ok 1836 /checksum/SHA512/reset/168 1087s ok 1837 /checksum/SHA512/reset/169 1087s ok 1838 /checksum/SHA512/reset/170 1087s ok 1839 /checksum/SHA512/reset/171 1087s ok 1840 /checksum/SHA512/reset/172 1087s ok 1841 /checksum/SHA512/reset/173 1087s ok 1842 /checksum/SHA512/reset/174 1087s ok 1843 /checksum/SHA512/reset/175 1087s ok 1844 /checksum/SHA512/reset/176 1087s ok 1845 /checksum/SHA512/reset/177 1087s ok 1846 /checksum/SHA512/reset/178 1087s ok 1847 /checksum/SHA512/reset/179 1087s ok 1848 /checksum/SHA512/reset/180 1087s ok 1849 /checksum/SHA512/reset/181 1087s ok 1850 /checksum/SHA512/reset/182 1087s ok 1851 /checksum/SHA512/reset/183 1087s # End of reset tests 1087s # End of SHA512 tests 1087s # End of checksum tests 1087s ok - glib/checksum.test 1087s # Running test: glib/pollable.test 1087s TAP version 14 1087s # random seed: R02S0e2d0ad25e5ac582e836fe5ab2f8a701 1087s 1..6 1087s # Start of pollable tests 1087s ok 1 /pollable/converter 1087s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1087s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x133fe932f7d0 and GSocketClientAsyncConnectData 0x133fe9322ad0 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 0x133fe9330850 for GSocketClientAsyncConnectData 0x133fe9322ad0 1087s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 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 /pollable/socket 1087s # Start of unix tests 1087s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1087s ok 3 /pollable/unix/pipe 1087s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1087s ok 4 /pollable/unix/pty 1087s # /pollable/unix/file summary: Test that regular files are not considered pollable 1087s ok 5 /pollable/unix/file 1087s # /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 1087s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1087s # End of unix tests 1087s # End of pollable tests 1087s ok - glib/pollable.test 1087s # Running test: glib/notify-init.test 1087s TAP version 14 1087s # random seed: R02Sae1c8ed7eda8afc8eda17c956285becf 1087s 1..1 1087s # Start of properties tests 1087s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1087s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1087s ok 1 /properties/notify-in-init 1087s # End of properties tests 1087s ok - glib/notify-init.test 1087s # Running test: glib/gdbus-close-pending.test 1087s TAP version 14 1087s # random seed: R02S46d0690041275f442b3dd64f6caade2c 1087s 1..2 1087s # Start of gdbus tests 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_L0UM02/gdbus/close-pending/.dirs/runtime 1087s ok 1 /gdbus/close-pending 1087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/home 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/cache 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/system-config2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/config 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/system-data2 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/data 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/state 1087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_L0UM02/gdbus/unref-pending/.dirs/runtime 1088s ok 2 /gdbus/unref-pending 1088s # End of gdbus tests 1088s # Executing: glib/gdbus-close-pending.test 1088s ok - glib/gdbus-close-pending.test 1088s # Running test: glib/dynamictests.test 1088s TAP version 14 1088s # random seed: R02Sba94e3ebdbb3a04f92eac9971c259e75 1088s 1..2 1088s # Start of GObject tests 1088s ok 1 /GObject/threaded-dynamic-ref-unref-init 1088s ok 2 /GObject/dynamic-interface-properties 1088s # End of GObject tests 1088s ok - glib/dynamictests.test 1088s # Running test: glib/unicode-encoding.test 1088s TAP version 14 1088s # random seed: R02S5d09f00c5f19759aa79cb9bc744a2a8f 1088s 1..1 1088s # Start of unicode tests 1088s ok 1 /unicode/encoding 1088s # End of unicode tests 1088s ok - glib/unicode-encoding.test 1088s TAP version 14 1088s # Running test: glib/mem-overflow.test 1088s # random seed: R02S5a544e37992bb151aec847d0f9333957 1088s 1..2 1088s # Start of mem tests 1088s ok - glib/mem-overflow.test 1088s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1088s ok 1 /mem/overflow 1088s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1088s ok 2 /mem/empty-alloc 1088s # Start of overflow tests 1088s # Start of subprocess tests 1088s # End of subprocess tests 1088s # End of overflow tests 1088s # Start of empty-alloc tests 1088s # End of empty-alloc tests 1088s # End of mem tests 1088s TAP version 14 1088s # random seed: R02Sd22d1cd7bae505b54010828b0bfdb267 1088s 1..8 1088s # Start of gdbus tests 1088s # Start of codegen tests 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/annotations/.dirs/runtime 1088s ok 1 /gdbus/codegen/annotations 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/interface_stability/.dirs/runtime 1088s ok 2 /gdbus/codegen/interface_stability 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/object-manager/.dirs/runtime 1088s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1088s ok - glib/gdbus-test-codegen-min-required-2-64.test 1088s # Running test: glib/gio-tool.py.test 1088s ok 3 /gdbus/codegen/object-manager 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/property-naming/.dirs/runtime 1088s ok 4 /gdbus/codegen/property-naming 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/autocleanups/.dirs/runtime 1088s ok 5 /gdbus/codegen/autocleanups 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/deprecations/.dirs/runtime 1088s ok 6 /gdbus/codegen/deprecations 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1088s ok 7 /gdbus/codegen/standalone-interface-info 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_UTU9Z2/gdbus/codegen/unix-fd-list/.dirs/runtime 1088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1088s ok 8 /gdbus/codegen/unix-fd-list 1088s # End of codegen tests 1088s # End of gdbus tests 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s TAP version 13 1088s ok 1 __main__.TestGioTool.test_help 1088s # tmpdir: /tmp/tmpx73kq1mu 1088s # gio: /usr/bin/gio 1088s # Running: ['/usr/bin/gio', '--help'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: Usage: 1088s # gio COMMAND [ARGS…] 1088s # 1088s # Commands: 1088s # help Print help 1088s # version Print version 1088s # cat Concatenate files to standard output 1088s # copy Copy one or more files 1088s # info Show information about locations 1088s # launch Launch an application from a desktop file 1088s # list List the contents of locations 1088s # mime Get or set the handler for a mimetype 1088s # mkdir Create directories 1088s # monitor Monitor files and directories for changes 1088s # mount Mount or unmount the locations 1088s # move Move one or more files 1088s # open Open files with the default application 1088s # rename Rename a file 1088s # remove Delete one or more files 1088s # save Read from standard input and save 1088s # set Set a file attribute 1088s # trash Move files or directories to the trash 1088s # tree Lists the contents of locations in a tree 1088s # 1088s # Use “gio help COMMAND†to get detailed help. 1088s # Running: ['/usr/bin/gio', 'help'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: Usage: 1088s # gio COMMAND [ARGS…] 1088s # 1088s # Commands: 1088s # help Print help 1088s # version Print version 1088s # cat Concatenate files to standard output 1088s # copy Copy one or more files 1088s # info Show information about locations 1088s # launch Launch an application from a desktop file 1088s # list List the contents of locations 1088s # mime Get or set the handler for a mimetype 1088s # mkdir Create directories 1088s # monitor Monitor files and directories for changes 1088s # mount Mount or unmount the locations 1088s # move Move one or more files 1088s # open Open files with the default application 1088s # rename Rename a file 1088s # remove Delete one or more files 1088s # save Read from standard input and save 1088s # set Set a file attribute 1088s # trash Move files or directories to the trash 1088s # tree Lists the contents of locations in a tree 1088s # 1088s # Use “gio help COMMAND†to get detailed help. 1088s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1088s # tmpdir: /tmp/tmpjxpuupua 1088s # gio: /usr/bin/gio 1088s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpjxpuupua/tmp5sn6le8w'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: uri: file:///tmp/tmpjxpuupua/tmp5sn6le8w 1088s # local path: /tmp/tmpjxpuupua/tmp5sn6le8w 1088s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1088s # attributes: 1088s # standard::content-type: application/x-zerosize 1088s ok 3 __main__.TestGioTool.test_no_args 1088s # tmpdir: /tmp/tmpk4mpakpl 1088s # gio: /usr/bin/gio 1088s # Running: ['/usr/bin/gio'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s 1..3 1088s ok - glib/gio-tool.py.test 1088s # Running test: glib/pathbuf.test 1088s TAP version 14 1088s # random seed: R02Sbf12eb87e8e28876c9d5a2ba72615e79 1088s 1..3 1088s # Start of pathbuf tests 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_76LD02/pathbuf/init/.dirs/runtime 1088s # Initializing empty path buf 1088s # Initializing with empty path 1088s # Initializing with full path 1088s # Initializing with no path 1088s # Allocating GPathBuf on the heap 1088s ok 1 /pathbuf/init 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_76LD02/pathbuf/push-pop/.dirs/runtime 1088s # Pushing relative path component 1088s # Pushing absolute path component 1088s # Popping a path component 1088s # Can't pop the last element of a path buffer 1088s ok 2 /pathbuf/push-pop 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_76LD02/pathbuf/filename-extension/.dirs/runtime 1088s ok 3 /pathbuf/filename-extension 1088s # End of pathbuf tests 1088s ok - glib/pathbuf.test 1088s # Running test: glib/atomic-c-99.test 1088s TAP version 14 1088s # random seed: R02S747b9d663783f93f66d9b4a8a01467be 1088s 1..2 1088s # Start of atomic tests 1088s ok 1 /atomic/types 1088s ok 2 /atomic/threaded 1088s ok - glib/atomic-c-99.test 1088s # Running test: glib/cxx-20.test 1088s ok - glib/cxx-20.test 1088s # Running test: glib/custom-dispatch.test 1088s ok - glib/custom-dispatch.test 1088s # Running test: glib/deprecated-properties.test 1088s # End of atomic tests 1088s TAP version 14 1088s # random seed: R02Sff164ae9ea5f1163911d7e438640474a 1088s 1..2 1088s # Start of gtask tests 1088s # 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. 1088s ok 1 /gtask/name 1088s # Start of name tests 1088s # 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. 1088s ok 2 /gtask/name/macro-wrapper 1088s # End of name tests 1088s # End of gtask tests 1088s TAP version 14 1088s # random seed: R02S187e23065f713ac3e9e7b0db50916d3c 1088s 1..2 1088s # Start of properties tests 1088s # Start of custom-dispatch tests 1088s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1088s ok 1 /properties/custom-dispatch/init 1088s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1088s ok 2 /properties/custom-dispatch/set 1088s # End of custom-dispatch tests 1088s # End of properties tests 1088s TAP version 14 1088s # random seed: R02S097391abf464f70be0d78aca21cc3a06 1088s 1..3 1088s # Start of deprecated-properties tests 1088s ok 1 /deprecated-properties/construct 1088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1088s ok 2 /deprecated-properties/default-construct 1088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1088s ok 3 /deprecated-properties/set 1088s # End of deprecated-properties tests 1088s ok - glib/deprecated-properties.test 1088s # Running test: glib/singleton.test 1088s ok - glib/singleton.test 1088s TAP version 14 1088s # random seed: R02Scdb792dc43c16f6a4c7d80ad9ce6e187 1088s 1..2 1088s # Start of gobject tests 1088s # Start of singleton tests 1088s ok 1 /gobject/singleton/construction 1088s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1088s ok 2 /gobject/singleton/construct-property 1088s # End of singleton tests 1088s # End of gobject tests 1088s # Running test: glib/overflow-fallback.test 1088s TAP version 14 1088s # random seed: R02S367d1552bccfe1c8d3c0fcfa3c8c8aef 1088s 1..6 1088s # Start of glib tests 1088s # Start of checked-math tests 1088s ok 1 /glib/checked-math/guint-add 1088s ok 2 /glib/checked-math/guint-mul 1088s ok 3 /glib/checked-math/guint64-add 1088s ok 4 /glib/checked-math/guint64-mul 1088s ok 5 /glib/checked-math/gsize-add 1088s ok 6 /glib/checked-math/gsize-mul 1088s # End of checked-math tests 1088s # End of glib tests 1088s ok - glib/overflow-fallback.test 1088s # Running test: glib/fileattributematcher.test 1088s TAP version 14 1088s # random seed: R02S5c14de0e7e6ecdb44c591180f697e663 1088s 1..3 1088s # Start of fileattributematcher tests 1088s ok 1 /fileattributematcher/exact 1088s ok 2 /fileattributematcher/equality 1088s ok 3 /fileattributematcher/subtract 1088s # End of fileattributematcher tests 1088s ok - glib/fileattributematcher.test 1088s # Running test: glib/gdbus-auth.test 1089s TAP version 14 1089s # random seed: R02S66db4a9234c709a08e6b85edffe6b190 1089s 1..5 1089s # Start of gdbus tests 1089s # Start of auth tests 1089s # Start of client tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1089s ok 1 /gdbus/auth/client/EXTERNAL 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1089s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1089s # End of client tests 1089s # Start of server tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1089s ok 3 /gdbus/auth/server/ANONYMOUS 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1089s ok 4 /gdbus/auth/server/EXTERNAL 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_W829Z2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1089s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1089s # End of server tests 1089s # End of auth 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 ok - glib/gdbus-auth.test 1089s # Running test: glib/defaultiface.test 1089s ok - glib/defaultiface.test 1089s # Running test: glib/utf8-validate.test 1089s ok - glib/utf8-validate.test 1089s TAP version 14 1089s # random seed: R02Sc557960a9af13b3697996b53181666b4 1089s 1..2 1089s # Start of gobject tests 1089s ok 1 /gobject/static-iface 1089s ok 2 /gobject/dynamic-iface 1089s # End of gobject tests 1089s TAP version 14 1089s # random seed: R02Sb94dff5932d5f0ff6a71b93c75f9ba00 1089s 1..216 1089s # Start of utf8 tests 1089s # Vector 0 1089s # Vector 1 1089s # Vector 2 1089s # Vector 3 1089s # Vector 4 1089s # Vector 5 1089s # Vector 6 1089s # Vector 7 1089s # Vector 8 1089s # Vector 9 1089s # Vector 10 1089s # Vector 11 1089s # Vector 12 1089s # Vector 13 1089s # Vector 14 1089s # Vector 15 1089s # Vector 16 1089s # Vector 17 1089s # Vector 18 1089s # Vector 19 1089s # Vector 20 1089s # Vector 21 1089s # Vector 22 1089s # Vector 23 1089s # Vector 24 1089s # Vector 25 1089s # Vector 26 1089s # Vector 27 1089s ok 1 /utf8/get-char-validated 1089s # Start of validate tests 1089s ok 2 /utf8/validate/0 1089s ok 3 /utf8/validate/1 1089s ok 4 /utf8/validate/2 1089s ok 5 /utf8/validate/3 1089s ok 6 /utf8/validate/4 1089s ok 7 /utf8/validate/5 1089s ok 8 /utf8/validate/6 1089s ok 9 /utf8/validate/7 1089s ok 10 /utf8/validate/8 1089s ok 11 /utf8/validate/9 1089s ok 12 /utf8/validate/10 1089s ok 13 /utf8/validate/11 1089s ok 14 /utf8/validate/12 1089s ok 15 /utf8/validate/13 1089s ok 16 /utf8/validate/14 1089s ok 17 /utf8/validate/15 1089s ok 18 /utf8/validate/16 1089s ok 19 /utf8/validate/17 1089s ok 20 /utf8/validate/18 1089s ok 21 /utf8/validate/19 1089s ok 22 /utf8/validate/20 1089s ok 23 /utf8/validate/21 1089s ok 24 /utf8/validate/22 1089s ok 25 /utf8/validate/23 1089s ok 26 /utf8/validate/24 1089s ok 27 /utf8/validate/25 1089s ok 28 /utf8/validate/26 1089s ok 29 /utf8/validate/27 1089s ok 30 /utf8/validate/28 1089s ok 31 /utf8/validate/29 1089s ok 32 /utf8/validate/30 1089s ok 33 /utf8/validate/31 1089s ok 34 /utf8/validate/32 1089s ok 35 /utf8/validate/33 1089s ok 36 /utf8/validate/34 1089s ok 37 /utf8/validate/35 1089s ok 38 /utf8/validate/36 1089s ok 39 /utf8/validate/37 1089s ok 40 /utf8/validate/38 1089s ok 41 /utf8/validate/39 1089s ok 42 /utf8/validate/40 1089s ok 43 /utf8/validate/41 1089s ok 44 /utf8/validate/42 1089s ok 45 /utf8/validate/43 1089s ok 46 /utf8/validate/44 1089s ok 47 /utf8/validate/45 1089s ok 48 /utf8/validate/46 1089s ok 49 /utf8/validate/47 1089s ok 50 /utf8/validate/48 1089s ok 51 /utf8/validate/49 1089s ok 52 /utf8/validate/50 1089s ok 53 /utf8/validate/51 1089s ok 54 /utf8/validate/52 1089s ok 55 /utf8/validate/53 1089s ok 56 /utf8/validate/54 1089s ok 57 /utf8/validate/55 1089s ok 58 /utf8/validate/56 1089s ok 59 /utf8/validate/57 1089s ok 60 /utf8/validate/58 1089s ok 61 /utf8/validate/59 1089s ok 62 /utf8/validate/60 1089s ok 63 /utf8/validate/61 1089s ok 64 /utf8/validate/62 1089s ok 65 /utf8/validate/63 1089s ok 66 /utf8/validate/64 1089s ok 67 /utf8/validate/65 1089s ok 68 /utf8/validate/66 1089s ok 69 /utf8/validate/67 1089s ok 70 /utf8/validate/68 1089s ok 71 /utf8/validate/69 1089s ok 72 /utf8/validate/70 1089s ok 73 /utf8/validate/71 1089s ok 74 /utf8/validate/72 1089s ok 75 /utf8/validate/73 1089s ok 76 /utf8/validate/74 1089s ok 77 /utf8/validate/75 1089s ok 78 /utf8/validate/76 1089s ok 79 /utf8/validate/77 1089s ok 80 /utf8/validate/78 1089s ok 81 /utf8/validate/79 1089s ok 82 /utf8/validate/80 1089s ok 83 /utf8/validate/81 1089s ok 84 /utf8/validate/82 1089s ok 85 /utf8/validate/83 1089s ok 86 /utf8/validate/84 1089s ok 87 /utf8/validate/85 1089s ok 88 /utf8/validate/86 1089s ok 89 /utf8/validate/87 1089s ok 90 /utf8/validate/88 1089s ok 91 /utf8/validate/89 1089s ok 92 /utf8/validate/90 1089s ok 93 /utf8/validate/91 1089s ok 94 /utf8/validate/92 1089s ok 95 /utf8/validate/93 1089s ok 96 /utf8/validate/94 1089s ok 97 /utf8/validate/95 1089s ok 98 /utf8/validate/96 1089s ok 99 /utf8/validate/97 1089s ok 100 /utf8/validate/98 1089s ok 101 /utf8/validate/99 1089s ok 102 /utf8/validate/100 1089s ok 103 /utf8/validate/101 1089s ok 104 /utf8/validate/102 1089s ok 105 /utf8/validate/103 1089s ok 106 /utf8/validate/104 1089s ok 107 /utf8/validate/105 1089s ok 108 /utf8/validate/106 1089s ok 109 /utf8/validate/107 1089s ok 110 /utf8/validate/108 1089s ok 111 /utf8/validate/109 1089s ok 112 /utf8/validate/110 1089s ok 113 /utf8/validate/111 1089s ok 114 /utf8/validate/112 1089s ok 115 /utf8/validate/113 1089s ok 116 /utf8/validate/114 1089s ok 117 /utf8/validate/115 1089s ok 118 /utf8/validate/116 1089s ok 119 /utf8/validate/117 1089s ok 120 /utf8/validate/118 1089s ok 121 /utf8/validate/119 1089s ok 122 /utf8/validate/120 1089s ok 123 /utf8/validate/121 1089s ok 124 /utf8/validate/122 1089s ok 125 /utf8/validate/123 1089s ok 126 /utf8/validate/124 1089s ok 127 /utf8/validate/125 1089s ok 128 /utf8/validate/126 1089s ok 129 /utf8/validate/127 1089s ok 130 /utf8/validate/128 1089s ok 131 /utf8/validate/129 1089s ok 132 /utf8/validate/130 1089s ok 133 /utf8/validate/131 1089s ok 134 /utf8/validate/132 1089s ok 135 /utf8/validate/133 1089s ok 136 /utf8/validate/134 1089s ok 137 /utf8/validate/135 1089s ok 138 /utf8/validate/136 1089s ok 139 /utf8/validate/137 1089s ok 140 /utf8/validate/138 1089s ok 141 /utf8/validate/139 1089s ok 142 /utf8/validate/140 1089s ok 143 /utf8/validate/141 1089s # Running test: glib/gdbus-names.test 1089s ok 144 /utf8/validate/142 1089s ok 145 /utf8/validate/143 1089s ok 146 /utf8/validate/144 1089s ok 147 /utf8/validate/145 1089s ok 148 /utf8/validate/146 1089s ok 149 /utf8/validate/147 1089s ok 150 /utf8/validate/148 1089s ok 151 /utf8/validate/149 1089s ok 152 /utf8/validate/150 1089s ok 153 /utf8/validate/151 1089s ok 154 /utf8/validate/152 1089s ok 155 /utf8/validate/153 1089s ok 156 /utf8/validate/154 1089s ok 157 /utf8/validate/155 1089s ok 158 /utf8/validate/156 1089s ok 159 /utf8/validate/157 1089s ok 160 /utf8/validate/158 1089s ok 161 /utf8/validate/159 1089s ok 162 /utf8/validate/160 1089s ok 163 /utf8/validate/161 1089s ok 164 /utf8/validate/162 1089s ok 165 /utf8/validate/163 1089s ok 166 /utf8/validate/164 1089s ok 167 /utf8/validate/165 1089s ok 168 /utf8/validate/166 1089s ok 169 /utf8/validate/167 1089s ok 170 /utf8/validate/168 1089s ok 171 /utf8/validate/169 1089s ok 172 /utf8/validate/170 1089s ok 173 /utf8/validate/171 1089s ok 174 /utf8/validate/172 1089s ok 175 /utf8/validate/173 1089s ok 176 /utf8/validate/174 1089s ok 177 /utf8/validate/175 1089s ok 178 /utf8/validate/176 1089s ok 179 /utf8/validate/177 1089s ok 180 /utf8/validate/178 1089s ok 181 /utf8/validate/179 1089s ok 182 /utf8/validate/180 1089s ok 183 /utf8/validate/181 1089s ok 184 /utf8/validate/182 1089s ok 185 /utf8/validate/183 1089s ok 186 /utf8/validate/184 1089s ok 187 /utf8/validate/185 1089s ok 188 /utf8/validate/186 1089s ok 189 /utf8/validate/187 1089s ok 190 /utf8/validate/188 1089s ok 191 /utf8/validate/189 1089s ok 192 /utf8/validate/190 1089s ok 193 /utf8/validate/191 1089s ok 194 /utf8/validate/192 1089s ok 195 /utf8/validate/193 1089s ok 196 /utf8/validate/194 1089s ok 197 /utf8/validate/195 1089s ok 198 /utf8/validate/196 1089s ok 199 /utf8/validate/197 1089s ok 200 /utf8/validate/198 1089s ok 201 /utf8/validate/199 1089s ok 202 /utf8/validate/200 1089s ok 203 /utf8/validate/201 1089s ok 204 /utf8/validate/202 1089s ok 205 /utf8/validate/203 1089s ok 206 /utf8/validate/204 1089s ok 207 /utf8/validate/205 1089s ok 208 /utf8/validate/206 1089s ok 209 /utf8/validate/207 1089s ok 210 /utf8/validate/208 1089s ok 211 /utf8/validate/209 1089s ok 212 /utf8/validate/210 1089s ok 213 /utf8/validate/211 1089s ok 214 /utf8/validate/212 1089s ok 215 /utf8/validate/213 1089s ok 216 /utf8/validate/214 1089s # End of validate tests 1089s # End of utf8 tests 1089s TAP version 14 1089s # random seed: R02Sc8f3ec4ca33cdd7358654c35fa3d2eac 1089s 1..10 1089s # Start of gdbus tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/validate-names/.dirs/runtime 1089s ok 1 /gdbus/validate-names 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/bus-own-name/.dirs/runtime 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 ok 2 /gdbus/bus-own-name 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name/.dirs/runtime 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 ok 3 /gdbus/bus-watch-name 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start/.dirs/runtime 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 ok 4 /gdbus/bus-watch-name-auto-start 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s dbus-daemon[13488]: [session uid=1000 pid=13488] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=13479 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1089s # Acquired a message bus connection 1089s dbus-daemon[13488]: [session uid=1000 pid=13488] Successfully activated service 'org.gtk.GDBus.FakeService' 1089s # Acquired the name org.gtk.GDBus.FakeService 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 ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures/.dirs/runtime 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 ok 6 /gdbus/bus-watch-name-closures 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 ok 7 /gdbus/bus-watch-name-closures-auto-start 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/bus-watch-different-context/.dirs/runtime 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 ok 8 /gdbus/bus-watch-different-context 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/bus-unwatch-early/.dirs/runtime 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 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 ok 9 /gdbus/bus-unwatch-early 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_JFRI02/gdbus/escape-object-path/.dirs/runtime 1089s ok 10 /gdbus/escape-object-path 1089s # End of gdbus tests 1089s ok - glib/gdbus-names.test 1089s # Running test: glib/portal-support-flatpak-full.test 1089s TAP version 14 1089s # random seed: R02S52a34f28f0b595a83fb8f057224b61e9 1089s 1..1 1089s # Start of portal-support tests 1089s # Start of flatpak tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/runtime 1089s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_NJJF02/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1089s ok 1 /portal-support/flatpak/full 1089s # End of flatpak tests 1089s # End of portal-support tests 1089s ok - glib/portal-support-flatpak-full.test 1089s # Running test: glib/memory-monitor-portal.test 1089s TAP version 13 1089s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1089s 1..1 1089s ok - glib/memory-monitor-portal.test 1089s # Running test: glib/g-file-info.test 1089s TAP version 14 1089s # random seed: R02S0f6674acd0b8eac29b984712a093ee6e 1089s 1..6 1089s # Start of g-file-info tests 1089s ok 1 /g-file-info/test_g_file_info 1089s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1089s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1089s ok 2 /g-file-info/xattrs 1089s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1089s ok 3 /g-file-info/set-modified-date-time-precision 1089s # Start of test_g_file_info tests 1089s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1089s ok 4 /g-file-info/test_g_file_info/modification-time 1089s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1089s ok 5 /g-file-info/test_g_file_info/access-time 1089s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1089s ok 6 /g-file-info/test_g_file_info/creation-time 1089s # End of test_g_file_info tests 1089s # End of g-file-info tests 1089s ok - glib/g-file-info.test 1089s # Running test: glib/gobject-query.py.test 1089s TAP version 13 1089s ok 1 __main__.TestGobjectQuery.test_froots 1089s # gobject-query: /usr/bin/gobject-query 1089s # Running: ['/usr/bin/gobject-query', 'froots'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: ├void 1089s # ├GInterface 1089s # │ â””GTypePlugin 1089s # ├gchar 1089s # ├guchar 1089s # ├gboolean 1089s # ├gint 1089s # ├guint 1089s # ├glong 1089s # ├gulong 1089s # ├gint64 1089s # ├guint64 1089s # ├GEnum 1089s # ├GFlags 1089s # ├gfloat 1089s # ├gdouble 1089s # ├gchararray 1089s # ├gpointer 1089s # │ â””GType 1089s # ├GBoxed 1089s # │ â””GValueArray 1089s # ├GParam 1089s # │ ├GParamChar 1089s # │ ├GParamUChar 1089s # │ ├GParamBoolean 1089s # │ ├GParamInt 1089s # │ ├GParamUInt 1089s # │ ├GParamLong 1089s # │ ├GParamULong 1089s # │ ├GParamInt64 1089s # │ ├GParamUInt64 1089s # │ ├GParamUnichar 1089s # │ ├GParamEnum 1089s # │ ├GParamFlags 1089s # │ ├GParamFloat 1089s # │ ├GParamDouble 1089s # │ ├GParamString 1089s # │ ├GParamParam 1089s # │ ├GParamBoxed 1089s # │ ├GParamPointer 1089s # │ ├GParamValueArray 1089s # │ ├GParamObject 1089s # │ ├GParamOverride 1089s # │ ├GParamGType 1089s # │ â””GParamVariant 1089s # ├GObject 1089s # â””GVariant 1089s ok 2 __main__.TestGobjectQuery.test_help 1089s # gobject-query: /usr/bin/gobject-query 1089s # Running: ['/usr/bin/gobject-query', '--help'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1089s # -r specify root type 1089s # -n don't descend type tree 1089s # -h show help 1089s # -b specify indent string 1089s # -i specify incremental indent string 1089s # -s specify line spacing 1089s # qualifiers: 1089s # froots iterate over fundamental roots 1089s # tree print type tree 1089s ok 3 __main__.TestGobjectQuery.test_tree 1089s # gobject-query: /usr/bin/gobject-query 1089s # Running: ['/usr/bin/gobject-query', 'tree'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: GObject 1089s ok 4 __main__.TestGobjectQuery.test_version 1089s # gobject-query: /usr/bin/gobject-query 1089s # Running: ['/usr/bin/gobject-query', '--version'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: 2.82.4 1089s 1..4 1089s ok - glib/gobject-query.py.test 1089s # Running test: glib/autoptr.test 1089s ok - glib/autoptr.test 1089s # Running test: glib/network-monitor.test 1089s TAP version 14 1089s # random seed: R02S6d9fffa468fe1b0d1703577e46af8fc3 1089s 1..6 1089s # Start of autoptr tests 1089s ok 1 /autoptr/autoptr 1089s ok 2 /autoptr/autoptr_steal 1089s ok 3 /autoptr/autolist 1089s ok 4 /autoptr/autoslist 1089s ok 5 /autoptr/autoqueue 1089s ok 6 /autoptr/autoclass 1089s # End of autoptr tests 1089s TAP version 14 1089s # random seed: R02S81cafdac8f07a75409209f108673d4c0 1089s 1..4 1089s # Start of network-monitor tests 1089s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1089s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1089s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1089s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1089s ok 1 /network-monitor/default 1089s ok 2 /network-monitor/remove_default 1089s ok 3 /network-monitor/add_networks 1090s ok 4 /network-monitor/remove_networks 1090s # End of network-monitor tests 1090s ok - glib/network-monitor.test 1090s # Running test: glib/gdbus-proxy-threads.test 1090s TAP version 14 1090s # random seed: R02Sf5211766623e8d94e85ea96ff8a13628 1090s 1..1 1090s # Start of gdbus tests 1090s # Start of proxy tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_9AKC02/gdbus/proxy/vs-threads/.dirs/runtime 1090s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1093s ok 1 /gdbus/proxy/vs-threads 1093s # slow test /gdbus/proxy/vs-threads executed in 3.15 secs 1093s # End of proxy tests 1093s # End of gdbus tests 1093s ok - glib/gdbus-proxy-threads.test 1093s cleaning up pid 13526 1093s # Running test: glib/cxx-98.test 1093s TAP version 14 1093s # random seed: R02S7cf69c0e5f34421284dcd30b5571c3d7 1093s 1..2 1093s # Start of gtask tests 1093s # 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. 1093s ok 1 /gtask/name 1093s # Start of name tests 1093s # 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. 1093s ok 2 /gtask/name/macro-wrapper 1093s # End of name tests 1093s # End of gtask tests 1093s ok - glib/cxx-98.test 1093s # Running test: glib/gutils-user-database.test 1093s TAP version 14 1093s # random seed: R02S06c9e976e9d29f8ade326b82491d53f3 1093s 1..1 1093s # Start of gutils tests 1093s ok 1 /gutils/get_user_database_entry 1093s # End of gutils tests 1093s ok - glib/gutils-user-database.test 1093s # Running test: glib/dir.test 1093s ok - glib/dir.test 1093s # Running test: glib/refcount.test 1093s ok - glib/refcount.test 1093s # Running test: glib/testing.test 1093s ok - glib/testing.test 1093s # Running test: glib/sandbox.test 1093s TAP version 14 1093s # random seed: R02Sd0021b10af511dda7fd25fc5215abf9f 1093s 1..3 1093s # Start of dir tests 1093s ok 1 /dir/read 1093s ok 2 /dir/nonexisting 1093s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1093s ok 3 /dir/refcounting 1093s # End of dir tests 1093s TAP version 14 1093s # random seed: R02S9d52c9adcea4d355fd90df198da5cf94 1093s 1..4 1093s # Start of refcount tests 1093s ok 1 /refcount/grefcount 1093s ok 2 /refcount/gatomicrefcount 1093s # Start of grefcount tests 1093s ok 3 /refcount/grefcount/saturation 1093s # End of grefcount tests 1093s # Start of gatomicrefcount tests 1093s ok 4 /refcount/gatomicrefcount/saturation 1093s # End of gatomicrefcount tests 1093s # End of refcount tests 1093s TAP version 14 1093s # random seed: R02S494d20fdf6a7dc17bb2b762b4889f53c 1093s 1..1 1093s # Start of assert tests 1093s ok 1 /assert/finalize_object 1093s # Start of finalize_object tests 1093s # Start of subprocess tests 1093s # End of subprocess tests 1093s # End of finalize_object tests 1093s # End of assert tests 1093s TAP version 14 1093s # random seed: R02S06eda426882d02d2695e4d3391a5042d 1093s 1..4 1093s # Start of sandbox tests 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MJXF02/sandbox/none/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MJXF02/sandbox/none/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MJXF02/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_MJXF02/sandbox/none/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MJXF02/sandbox/none/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MJXF02/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_MJXF02/sandbox/none/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MJXF02/sandbox/none/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MJXF02/sandbox/none/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MJXF02/sandbox/none/.dirs/runtime 1093s ok 1 /sandbox/none 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MJXF02/sandbox/snap/.dirs/runtime 1093s # Created snap.yaml in /tmp/test_sandbox_MJXF02/snap/current/meta/snap.yaml 1093s ok 2 /sandbox/snap 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MJXF02/sandbox/classic-snap/.dirs/runtime 1093s ok - glib/sandbox.test 1093s # Running test: glib/markup-parse.test 1093s # Created snap.yaml in /tmp/test_sandbox_MJXF02/snap/current/meta/snap.yaml 1093s ok 3 /sandbox/classic-snap 1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/home 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/cache 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/system-config2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/config 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/system-data2 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/data 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/state 1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/runtime 1093s # Creating .flatpak-info in /tmp/test_sandbox_MJXF02/sandbox/flatpak/.dirs/runtime/.flatpak-info 1093s ok 4 /sandbox/flatpak 1093s # End of sandbox tests 1093s TAP version 14 1093s # random seed: R02S5301a89691c79999b5d3cb0975384b1c 1093s 1..71 1093s # Start of markup tests 1093s # Start of parse tests 1093s ok 1 /markup/parse/fail-20.gmarkup 1093s ok 2 /markup/parse/fail-17.gmarkup 1093s ok 3 /markup/parse/fail-9.gmarkup 1093s ok 4 /markup/parse/fail-5.gmarkup 1093s ok 5 /markup/parse/fail-24.gmarkup 1093s ok 6 /markup/parse/fail-26.gmarkup 1093s ok 7 /markup/parse/valid-17.gmarkup 1093s ok 8 /markup/parse/valid-9.gmarkup 1093s ok 9 /markup/parse/fail-45.gmarkup 1093s ok 10 /markup/parse/fail-14.gmarkup 1093s ok 11 /markup/parse/fail-48.gmarkup 1093s ok 12 /markup/parse/fail-35.gmarkup 1093s ok 13 /markup/parse/fail-28.gmarkup 1093s ok 14 /markup/parse/fail-1.gmarkup 1093s ok 15 /markup/parse/fail-27.gmarkup 1093s ok 16 /markup/parse/valid-13.gmarkup 1093s ok 17 /markup/parse/fail-37.gmarkup 1093s ok 18 /markup/parse/valid-8.gmarkup 1093s ok 19 /markup/parse/valid-2.gmarkup 1093s ok 20 /markup/parse/fail-47.gmarkup 1093s ok 21 /markup/parse/fail-4.gmarkup 1093s ok 22 /markup/parse/fail-50.gmarkup 1093s ok 23 /markup/parse/fail-6.gmarkup 1093s ok 24 /markup/parse/fail-49.gmarkup 1093s ok 25 /markup/parse/fail-30.gmarkup 1093s ok 26 /markup/parse/fail-25.gmarkup 1093s ok 27 /markup/parse/fail-41.gmarkup 1093s ok 28 /markup/parse/valid-3.gmarkup 1093s ok 29 /markup/parse/fail-18.gmarkup 1093s ok 30 /markup/parse/fail-8.gmarkup 1093s ok 31 /markup/parse/valid-5.gmarkup 1093s ok 32 /markup/parse/fail-7.gmarkup 1093s ok 33 /markup/parse/valid-15.gmarkup 1093s ok 34 /markup/parse/fail-44.gmarkup 1093s ok 35 /markup/parse/fail-34.gmarkup 1093s ok 36 /markup/parse/fail-31.gmarkup 1093s ok 37 /markup/parse/fail-22.gmarkup 1093s ok 38 /markup/parse/fail-38.gmarkup 1093s ok 39 /markup/parse/fail-12.gmarkup 1093s ok 40 /markup/parse/fail-13.gmarkup 1093s ok 41 /markup/parse/fail-42.gmarkup 1093s ok 42 /markup/parse/fail-16.gmarkup 1093s ok 43 /markup/parse/valid-11.gmarkup 1093s ok 44 /markup/parse/fail-36.gmarkup 1093s ok 45 /markup/parse/fail-52.gmarkup 1093s ok 46 /markup/parse/valid-10.gmarkup 1093s ok 47 /markup/parse/valid-4.gmarkup 1093s ok 48 /markup/parse/fail-54.gmarkup 1093s ok 49 /markup/parse/fail-11.gmarkup 1093s ok 50 /markup/parse/fail-32.gmarkup 1093s ok 51 /markup/parse/valid-12.gmarkup 1093s ok 52 /markup/parse/fail-39.gmarkup 1093s ok 53 /markup/parse/valid-6.gmarkup 1093s ok 54 /markup/parse/fail-53.gmarkup 1093s ok 55 /markup/parse/fail-29.gmarkup 1093s ok 56 /markup/parse/fail-33.gmarkup 1093s ok 57 /markup/parse/fail-19.gmarkup 1093s ok 58 /markup/parse/fail-46.gmarkup 1093s ok 59 /markup/parse/valid-7.gmarkup 1093s ok 60 /markup/parse/valid-16.gmarkup 1093s ok 61 /markup/parse/valid-1.gmarkup 1093s ok 62 /markup/parse/fail-2.gmarkup 1093s ok 63 /markup/parse/fail-21.gmarkup 1093s ok 64 /markup/parse/valid-14.gmarkup 1093s ok 65 /markup/parse/fail-51.gmarkup 1093s ok 66 /markup/parse/fail-40.gmarkup 1093s ok 67 /markup/parse/fail-43.gmarkup 1093s ok 68 /markup/parse/fail-23.gmarkup 1093s ok 69 /markup/parse/fail-15.gmarkup 1093s ok 70 /markup/parse/fail-10.gmarkup 1093s ok 71 /markup/parse/fail-3.gmarkup 1093s # End of parse tests 1093s # End of markup tests 1093s ok - glib/markup-parse.test 1093s # Running test: glib/power-profile-monitor-dbus.test 1093s # Executing: glib/power-profile-monitor-dbus.test 1093s TAP version 13 1093s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1093s 1..1 1093s ok - glib/power-profile-monitor-dbus.test 1093s # Running test: glib/properties-refcount2.test 1093s TAP version 14 1093s # random seed: R02S3cda431c5d6b898faf7339897bd159fa 1093s 1..1 1093s # Start of gobject tests 1093s # Start of refcount tests 1093s # init 0x108d8847e770 1093s # 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1093s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1094s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1095s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1096s # . 1097s # . 1097s # . 1097s # . 1097s # . 1097s # dispose 0x108d8847e770! 1097s # 1097s ok 1 /gobject/refcount/properties-2 1097s # slow test /gobject/refcount/properties-2 executed in 3.47 secs 1097s # End of refcount tests 1097s # End of gobject tests 1097s ok - glib/properties-refcount2.test 1097s # Running test: glib/static-link.test 1097s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1097s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1097s and make sure you have glib build dependencies installed, including 1097s meson. 1097s ok # SKIP - glib/static-link.test 1097s # Running test: glib/gnotification.test 1097s TAP version 14 1097s # random seed: R02Sf0462a4d1dd2e7732fb96e25da8efdf6 1097s 1..2 1097s # Start of gnotification tests 1097s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1097s ok 1 /gnotification/basic 1097s ok 2 /gnotification/properties 1097s # End of gnotification tests 1097s ok - glib/gnotification.test 1097s # Running test: glib/signals-refcount3.test 1097s TAP version 14 1097s # random seed: R02Saddf2bf1e12f8905ca84a9d72a7fce11 1097s 1..1 1097s # Start of gobject tests 1097s # Start of refcount tests 1097s # init 0xa847c96f420 1097s # 1097s # init 0xa847c96f5c0 1097s # 1098s # Executing: glib/signals-refcount3.test 1102s # dispose 0xa847c96f420! 1102s # 1102s # dispose 0xa847c96f5c0! 1102s # 1102s ok 1 /gobject/refcount/signals 1102s # slow test /gobject/refcount/signals executed in 5.00 secs 1102s # End of refcount tests 1102s # End of gobject tests 1102s ok - glib/signals-refcount3.test 1102s # Running test: glib/simple-async-result.test 1102s TAP version 14 1102s # random seed: R02S063bbaefa9f609ca79d8afcc6789d989 1102s 1..2 1102s # Start of gio tests 1102s # Start of simple-async-result tests 1102s ok 1 /gio/simple-async-result/test 1102s # GLib-GIO-DEBUG: GTask 0x140a5c240720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1102s ok 2 /gio/simple-async-result/valid 1102s # End of simple-async-result tests 1102s # End of gio tests 1102s ok - glib/simple-async-result.test 1102s # Running test: glib/fdo-notification-backend.test 1102s TAP version 14 1102s # random seed: R02Sfb7a0ac215a103ae8083b3a2f5179961 1102s 1..2 1102s # Start of fdo-notification-backend tests 1102s # Test constructing a GFdoNotificationBackend 1102s ok - glib/fdo-notification-backend.test 1102s # Running test: glib/gdbus-introspection.test 1102s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s ok 1 /fdo-notification-backend/construction 1102s # Start of dbus tests 1102s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1102s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s ok 2 /fdo-notification-backend/dbus/activate-action 1102s # End of dbus tests 1102s # End of fdo-notification-backend tests 1102s TAP version 14 1102s # random seed: R02S7f504bd863db8ba5b41dd608f3d4284c 1102s 1..4 1102s # Start of gdbus tests 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-parser/.dirs/runtime 1102s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1102s ok 1 /gdbus/introspection-parser 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-generate/.dirs/runtime 1102s ok 2 /gdbus/introspection-generate 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/system-config2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-default-direction/.dirs/runtime 1102s ok 3 /gdbus/introspection-default-direction 1102s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/home 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/cache 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/system-config2 1102s ok - glib/gdbus-introspection.test 1102s # Running test: glib/override.test 1102s ok - glib/override.test 1102s # Running test: glib/basic-signals.test 1102s ok - glib/basic-signals.test 1102s # Running test: glib/dataset.test 1102s ok - glib/dataset.test 1102s # Running test: glib/genmarshal.py.test 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/config 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/system-data2 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/data 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/state 1102s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_J37G02/gdbus/introspection-extra-data/.dirs/runtime 1102s ok 4 /gdbus/introspection-extra-data 1102s # End of gdbus tests 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1102s TAP version 14 1102s # random seed: R02Sf87d1b2307959d06f67aeb1c85c77412 1102s 1..1 1102s # Start of gobject tests 1102s # *** emitting foo on a TestA instance 1102s # Expecting: TestA::foo,TestI::foo 1102s # Got: TestA::foo,TestI::foo 1102s # *** emitting bar on a TestA instance 1102s # Expecting: TestA::bar 1102s # Got: TestA::bar 1102s # *** emitting baz on a TestA instance 1102s # Expecting: TestA::baz 1102s # Got: TestA::baz 1102s # *** emitting foo on a TestB instance 1102s # Expecting: TestB::foo,TestA::foo,TestI::foo 1102s # Got: TestB::foo,TestA::foo,TestI::foo 1102s # *** emitting bar on a TestB instance 1102s # Expecting: TestB::bar,TestA::bar 1102s # Got: TestB::bar,TestA::bar 1102s # *** emitting baz on a TestB instance 1102s # Expecting: TestB::baz,TestA::baz 1102s # Got: TestB::baz,TestA::baz 1102s # *** emitting foo on a TestC instance 1102s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1102s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1102s # *** emitting bar on a TestC instance 1102s # Expecting: TestC::bar,TestB::bar,TestA::bar 1102s # Got: TestC::bar,TestB::bar,TestA::bar 1102s # *** emitting baz on a TestC instance 1102s # Expecting: TestC::baz,TestB::baz,TestA::baz 1102s # Got: TestC::baz,TestB::baz,TestA::baz 1102s ok 1 /gobject/override 1102s # End of gobject tests 1102s TAP version 14 1102s # random seed: R02Sface1dc505980be7ed646cf2c55b0d6c 1102s 1..1 1102s # Start of gobject tests 1102s ok 1 /gobject/basic-signals 1102s # End of gobject tests 1102s TAP version 14 1102s # random seed: R02Sb0c11a3f9282a63379b3b4ff2abba6fa 1102s 1..14 1102s # Start of quark tests 1102s ok 1 /quark/basic 1102s ok 2 /quark/string 1102s # End of quark tests 1102s # Start of dataset tests 1102s ok 3 /dataset/basic 1102s ok 4 /dataset/id 1102s ok 5 /dataset/full 1102s ok 6 /dataset/foreach 1102s ok 7 /dataset/destroy 1102s # End of dataset tests 1102s # Start of datalist tests 1102s ok 8 /datalist/basic 1102s ok 9 /datalist/id 1102s ok 10 /datalist/recursive-clear 1102s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1102s ok 11 /datalist/id-remove-multiple 1102s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1102s ok 12 /datalist/id-remove-multiple-destroy-order 1102s ok 13 /datalist/update-atomic 1102s # Start of id-remove-multiple tests 1102s ok 14 /datalist/id-remove-multiple/resize 1102s # End of id-remove-multiple tests 1102s # End of datalist tests 1102s TAP version 13 1102s ok 1 __main__.TestGenmarshal.test_empty_list 1102s # tmpdir: /tmp/tmpm9tftlut 1102s # genmarshal: /usr/bin/glib-genmarshal 1102s # /tmp/tmpm9tftlut/tmpnxzuixx3.list: 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpm9tftlut/tmpnxzuixx3.list', '--header', '--quiet'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # 1102s # #include 1102s # 1102s # G_BEGIN_DECLS 1102s # 1102s # 1102s # G_END_DECLS 1102s # 1102s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpm9tftlut/tmpnxzuixx3.list', '--body', '--quiet'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #include 1102s # 1102s # #ifdef G_ENABLE_DEBUG 1102s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1102s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1102s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1102s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1102s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1102s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1102s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1102s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1102s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1102s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1102s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1102s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1102s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1102s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1102s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1102s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1102s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1102s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1102s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1102s # #else /* !G_ENABLE_DEBUG */ 1102s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1102s # * Do not access GValues directly in your code. Instead, use the 1102s # * g_value_get_*() functions 1102s # */ 1102s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1102s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1102s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1102s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1102s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1102s # #endif /* !G_ENABLE_DEBUG */ 1102s ok 2 __main__.TestGenmarshal.test_help 1102s # tmpdir: /tmp/tmp1p6k5otb 1102s # genmarshal: /usr/bin/glib-genmarshal 1102s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1102s # [--internal] [--valist-marshallers] [-v] 1102s # [--g-fatal-warnings] [--include-header [HEADER]] 1102s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1102s # [--prototypes] [--header] [--body] 1102s # [--stdinc | --nostdinc] [--quiet | --verbose] 1102s # [FILE ...] 1102s # 1102s # Generate signal marshallers for GObject 1102s # 1102s # positional arguments: 1102s # FILE Files with lists of marshallers to generate, or "-" 1102s # for standard input 1102s # 1102s # options: 1102s # -h, --help show this help message and exit 1102s # --prefix STRING Specify marshaller prefix 1102s # --output FILE Write output into the specified file 1102s # --skip-source Skip source location comments 1102s # --internal Mark generated functions as internal 1102s # --valist-marshallers Generate va_list marshallers 1102s # -v, --version Print version information, and exit 1102s # --g-fatal-warnings Make warnings fatal 1102s # --include-header [HEADER] 1102s # Include the specified header in the body 1102s # --pragma-once Use "pragma once" as the inclusion guard 1102s # -D CPP_DEFINES Pre-processor define 1102s # -U CPP_UNDEFINES Pre-processor undefine 1102s # --prototypes Generate the marshallers prototype in the C code 1102s # --header Generate C headers 1102s # --body Generate C code 1102s # --stdinc Include standard marshallers 1102s # --nostdinc Use standard marshallers 1102s # --quiet Only print warnings and errors 1102s # --verbose Be verbose, and include debugging information 1102s ok 3 __main__.TestGenmarshal.test_no_args 1102s # tmpdir: /tmp/tmpbbebsd6h 1102s # genmarshal: /usr/bin/glib-genmarshal 1102s # Running: ['/usr/bin/glib-genmarshal'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # Output: 1102s ok 4 __main__.TestGenmarshal.test_void_boolean 1102s # tmpdir: /tmp/tmpyzpl9f8k 1102s # genmarshal: /usr/bin/glib-genmarshal 1102s # /tmp/tmpyzpl9f8k/tmplqg16txa.list: VOID:BOOLEAN 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpyzpl9f8k/tmplqg16txa.list', '--header', '--quiet'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # 1102s # #include 1102s # 1102s # G_BEGIN_DECLS 1102s # 1102s # /* VOID:BOOLEAN (/tmp/tmpyzpl9f8k/tmplqg16txa.list:1) */ 1102s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1102s # 1102s # 1102s # G_END_DECLS 1102s # 1102s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpyzpl9f8k/tmplqg16txa.list', '--body', '--quiet'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #include 1102s # 1102s # #ifdef G_ENABLE_DEBUG 1102s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1102s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1102s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1102s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1102s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1102s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1102s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1102s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1102s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1102s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1102s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1102s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1102s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1102s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1102s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1102s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1102s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1102s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1102s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1102s # #else /* !G_ENABLE_DEBUG */ 1102s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1102s # * Do not access GValues directly in your code. Instead, use the 1102s # * g_value_get_*() functions 1102s # */ 1102s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1102s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1102s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1102s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1102s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1102s # #endif /* !G_ENABLE_DEBUG */ 1102s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1102s # tmpdir: /tmp/tmpcgiin7zl 1102s # genmarshal: /usr/bin/glib-genmarshal 1102s # /tmp/tmpcgiin7zl/tmp8704egjt.list: VOID:BOOLEAN,INT64 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcgiin7zl/tmp8704egjt.list', '--header', '--quiet'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # 1102s # #include 1102s # 1102s # G_BEGIN_DECLS 1102s # 1102s # /* VOID:BOOLEAN,INT64 (/tmp/tmpcgiin7zl/tmp8704egjt.list:1) */ 1102s # extern 1102s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1102s # GValue *return_value, 1102s # guint n_param_values, 1102s # const GValue *param_values, 1102s # gpointer invocation_hint, 1102s # gpointer marshal_data); 1102s # 1102s # 1102s # G_END_DECLS 1102s # 1102s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcgiin7zl/tmp8704egjt.list', '--body', '--quiet'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #include 1102s # 1102s # #ifdef G_ENABLE_DEBUG 1102s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1102s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1102s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1102s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1102s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1102s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1102s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1102s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1102s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1102s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1102s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1102s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1102s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1102s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1102s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1102s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1102s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1102s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1102s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1102s # #else /* !G_ENABLE_DEBUG */ 1102s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1102s # * Do not access GValues directly in your code. Instead, use the 1102s # * g_value_get_*() functions 1102s # */ 1102s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1102s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1102s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1102s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1102s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1102s # #endif /* !G_ENABLE_DEBUG */ 1102s # 1102s # /* VOID:BOOLEAN,INT64 (/tmp/tmpcgiin7zl/tmp8704egjt.list:1) */ 1102s # void 1102s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1102s # GValue *return_value G_GNUC_UNUSED, 1102s # guint n_param_values, 1102s # const GValue *param_values, 1102s # gpointer invocation_hint G_GNUC_UNUSED, 1102s # gpointer marshal_data) 1102s # { 1102s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1102s # gboolean arg1, 1102s # gint64 arg2, 1102s # gpointer data2); 1102s # GCClosure *cc = (GCClosure *) closure; 1102s # gpointer data1, data2; 1102s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1102s # 1102s # g_return_if_fail (n_param_values == 3); 1102s # 1102s # if (G_CCLOSURE_SWAP_DATA (closure)) 1102s # { 1102s # data1 = closure->data; 1102s # data2 = g_value_peek_pointer (param_values + 0); 1102s # } 1102s # else 1102s # { 1102s # data1 = g_value_peek_pointer (param_values + 0); 1102s # data2 = closure->data; 1102s # } 1102s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1102s # 1102s # callback (data1, 1102s # g_marshal_value_peek_boolean (param_values + 1), 1102s # g_marshal_value_peek_int64 (param_values + 2), 1102s # data2); 1102s # } 1102s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1102s # tmpdir: /tmp/tmpzck76yuj 1102s # genmarshal: /usr/bin/glib-genmarshal 1102s # /tmp/tmpzck76yuj/tmpm1upsozt.list: VOID:PARAM 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzck76yuj/tmpm1upsozt.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # 1102s # G_BEGIN_DECLS 1102s # 1102s # /* VOID:PARAM (/tmp/tmpzck76yuj/tmpm1upsozt.list:1) */ 1102s # extern 1102s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1102s # GValue *return_value, 1102s # guint n_param_values, 1102s # const GValue *param_values, 1102s # gpointer invocation_hint, 1102s # gpointer marshal_data); 1102s # extern 1102s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1102s # GValue *return_value, 1102s # gpointer instance, 1102s # va_list args, 1102s # gpointer marshal_data, 1102s # int n_params, 1102s # GType *param_types); 1102s # 1102s # 1102s # G_END_DECLS 1102s # 1102s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzck76yuj/tmpm1upsozt.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #ifdef G_ENABLE_DEBUG 1102s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1102s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1102s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1102s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1102s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1102s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1102s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1102s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1102s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1102s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1102s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1102s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1102s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1102s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1102s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1102s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1102s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1102s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1102s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1102s # #else /* !G_ENABLE_DEBUG */ 1102s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1102s # * Do not access GValues directly in your code. Instead, use the 1102s # * g_value_get_*() functions 1102s # */ 1102s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1102s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1102s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1102s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1102s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1102s # #endif /* !G_ENABLE_DEBUG */ 1102s # 1102s # /* VOID:PARAM (/tmp/tmpzck76yuj/tmpm1upsozt.list:1) */ 1102s # void 1102s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1102s # GValue *return_value G_GNUC_UNUSED, 1102s # guint n_param_values, 1102s # const GValue *param_values, 1102s # gpointer invocation_hint G_GNUC_UNUSED, 1102s # gpointer marshal_data) 1102s # { 1102s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1102s # gpointer arg1, 1102s # gpointer data2); 1102s # GCClosure *cc = (GCClosure *) closure; 1102s # gpointer data1, data2; 1102s # GMarshalFunc_VOID__PARAM callback; 1102s # 1102s # g_return_if_fail (n_param_values == 2); 1102s # 1102s # if (G_CCLOSURE_SWAP_DATA (closure)) 1102s # { 1102s # data1 = closure->data; 1102s # data2 = g_value_peek_pointer (param_values + 0); 1102s # } 1102s # else 1102s # { 1102s # data1 = g_value_peek_pointer (param_values + 0); 1102s # data2 = closure->data; 1102s # } 1102s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1102s # 1102s # callback (data1, 1102s # g_marshal_value_peek_param (param_values + 1), 1102s # data2); 1102s # } 1102s # 1102s # void 1102s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1102s # GValue *return_value G_GNUC_UNUSED, 1102s # gpointer instance, 1102s # va_list args, 1102s # gpointer marshal_data, 1102s # int n_params, 1102s # GType *param_types) 1102s # { 1102s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1102s # gpointer arg1, 1102s # gpointer data2); 1102s # GCClosure *cc = (GCClosure *) closure; 1102s # gpointer data1, data2; 1102s # GMarshalFunc_VOID__PARAM callback; 1102s # gpointer arg0; 1102s # va_list args_copy; 1102s # 1102s # va_copy (args_copy, args); 1102s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1102s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1102s # arg0 = g_param_spec_ref (arg0); 1102s # va_end (args_copy); 1102s # 1102s # 1102s # if (G_CCLOSURE_SWAP_DATA (closure)) 1102s # { 1102s # data1 = closure->data; 1102s # data2 = instance; 1102s # } 1102s # else 1102s # { 1102s # data1 = instance; 1102s # data2 = closure->data; 1102s # } 1102s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1102s # 1102s # callback (data1, 1102s # arg0, 1102s # data2); 1102s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1102s # g_param_spec_unref (arg0); 1102s # } 1102s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1102s # tmpdir: /tmp/tmp3bljhc2o 1102s # genmarshal: /usr/bin/glib-genmarshal 1102s # /tmp/tmp3bljhc2o/tmp66uxuacq.list: VOID:STRING 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp3bljhc2o/tmp66uxuacq.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1102s # 1102s # G_BEGIN_DECLS 1102s # 1102s # /* VOID:STRING (/tmp/tmp3bljhc2o/tmp66uxuacq.list:1) */ 1102s # extern 1102s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1102s # GValue *return_value, 1102s # guint n_param_values, 1102s # const GValue *param_values, 1102s # gpointer invocation_hint, 1102s # gpointer marshal_data); 1102s # extern 1102s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1102s # GValue *return_value, 1102s # gpointer instance, 1102s # va_list args, 1102s # gpointer marshal_data, 1102s # int n_params, 1102s # GType *param_types); 1102s # 1102s # 1102s # G_END_DECLS 1102s # 1102s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1102s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp3bljhc2o/tmp66uxuacq.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1102s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1102s # 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. */ 1102s # #ifdef G_ENABLE_DEBUG 1102s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1102s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1102s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1102s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1102s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1102s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1102s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1102s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1102s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1102s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1102s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1102s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1102s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1102s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1102s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1102s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1102s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1102s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1102s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1102s # #else /* !G_ENABLE_DEBUG */ 1102s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1102s # * Do not access GValues directly in your code. Instead, use the 1102s # * g_value_get_*() functions 1102s # */ 1102s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1102s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1102s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1102s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1102s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1102s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1102s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1102s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1102s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1102s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1102s # #endif /* !G_ENABLE_DEBUG */ 1102s # 1102s # /* VOID:STRING (/tmp/tmp3bljhc2o/tmp66uxuacq.list:1) */ 1102s # void 1102s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1102s # GValue *return_value G_GNUC_UNUSED, 1102s # guint n_param_values, 1102s # const GValue *param_values, 1102s # gpointer invocation_hint G_GNUC_UNUSED, 1102s # gpointer marshal_data) 1102s # { 1102s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1102s # gpointer arg1, 1102s # gpointer data2); 1102s # GCClosure *cc = (GCClosure *) closure; 1102s # gpointer data1, data2; 1102s # GMarshalFunc_VOID__STRING callback; 1102s # 1102s # g_return_if_fail (n_param_values == 2); 1102s # 1102s # if (G_CCLOSURE_SWAP_DATA (closure)) 1102s # { 1102s # data1 = closure->data; 1102s # data2 = g_value_peek_pointer (param_values + 0); 1102s # } 1102s # else 1102s # { 1102s # data1 = g_value_peek_pointer (param_values + 0); 1102s # data2 = closure->data; 1102s # } 1102s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1102s # 1102s # callback (data1, 1102s # g_marshal_value_peek_string (param_values + 1), 1102s # data2); 1102s # } 1102s # 1102s # void 1102s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1102s # GValue *return_value G_GNUC_UNUSED, 1102s # gpointer instance, 1102s # va_list args, 1102s # gpointer marshal_data, 1102s # int n_params, 1102s # GType *param_types) 1102s # { 1102s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1102s # gpointer arg1, 1102s # gpointer data2); 1102s # GCClosure *cc = (GCClosure *) closure; 1102s # gpointer data1, data2; 1102s # GMarshalFunc_VOID__STRING callback; 1102s # gpointer arg0; 1102s # va_list args_copy; 1102s # 1102s # va_copy (args_copy, args); 1102s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1102s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1102s # arg0 = g_strdup (arg0); 1102s # va_end (args_copy); 1102s # 1102s # 1102s # if (G_CCLOSURE_SWAP_DATA (closure)) 1102s # { 1102s # data1 = closure->data; 1102s # data2 = instance; 1102s # } 1102s # else 1102s # { 1102s # data1 = instance; 1102s # data2 = closure->data; 1102s # } 1102s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1102s # 1102s # callback (data1, 1102s # arg0, 1102s # data2); 1102s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1102s # g_free (arg0); 1102s # } 1103s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1103s # tmpdir: /tmp/tmpfn8pfxqg 1103s # genmarshal: /usr/bin/glib-genmarshal 1103s # /tmp/tmpfn8pfxqg/tmpj_xz2nf4.list: VOID:VARIANT 1103s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfn8pfxqg/tmpj_xz2nf4.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1103s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1103s # 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. */ 1103s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1103s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1103s # 1103s # G_BEGIN_DECLS 1103s # 1103s # /* VOID:VARIANT (/tmp/tmpfn8pfxqg/tmpj_xz2nf4.list:1) */ 1103s # extern 1103s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1103s # GValue *return_value, 1103s # guint n_param_values, 1103s # const GValue *param_values, 1103s # gpointer invocation_hint, 1103s # gpointer marshal_data); 1103s # extern 1103s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1103s # GValue *return_value, 1103s # gpointer instance, 1103s # va_list args, 1103s # gpointer marshal_data, 1103s # int n_params, 1103s # GType *param_types); 1103s # 1103s # 1103s # G_END_DECLS 1103s # 1103s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1103s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfn8pfxqg/tmpj_xz2nf4.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1103s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1103s # 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. */ 1103s # #ifdef G_ENABLE_DEBUG 1103s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1103s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1103s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1103s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1103s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1103s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1103s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1103s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1103s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1103s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1103s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1103s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1103s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1103s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1103s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1103s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1103s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1103s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1103s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1103s # #else /* !G_ENABLE_DEBUG */ 1103s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1103s # * Do not access GValues directly in your code. Instead, use the 1103s # * g_value_get_*() functions 1103s # */ 1103s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1103s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1103s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1103s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1103s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1103s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1103s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1103s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1103s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1103s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1103s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1103s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1103s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1103s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1103s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1103s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1103s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1103s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1103s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1103s # #endif /* !G_ENABLE_DEBUG */ 1103s # 1103s # /* VOID:VARIANT (/tmp/tmpfn8pfxqg/tmpj_xz2nf4.list:1) */ 1103s # void 1103s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1103s # GValue *return_value G_GNUC_UNUSED, 1103s # guint n_param_values, 1103s # const GValue *param_values, 1103s # gpointer invocation_hint G_GNUC_UNUSED, 1103s # gpointer marshal_data) 1103s # { 1103s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1103s # gpointer arg1, 1103s # gpointer data2); 1103s # GCClosure *cc = (GCClosure *) closure; 1103s # gpointer data1, data2; 1103s # GMarshalFunc_VOID__VARIANT callback; 1103s # 1103s # g_return_if_fail (n_param_values == 2); 1103s # 1103s # if (G_CCLOSURE_SWAP_DATA (closure)) 1103s # { 1103s # data1 = closure->data; 1103s # data2 = g_value_peek_pointer (param_values + 0); 1103s # } 1103s # else 1103s # { 1103s # data1 = g_value_peek_pointer (param_values + 0); 1103s # data2 = closure->data; 1103s # } 1103s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1103s # 1103s # callback (data1, 1103s # g_marshal_value_peek_variant (param_values + 1), 1103s # data2); 1103s # } 1103s # 1103s # void 1103s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1103s # GValue *return_value G_GNUC_UNUSED, 1103s # gpointer instance, 1103s # va_list args, 1103s # gpointer marshal_data, 1103s # int n_params, 1103s # GType *param_types) 1103s # { 1103s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1103s # gpointer arg1, 1103s # gpointer data2); 1103s # GCClosure *cc = (GCClosure *) closure; 1103s # gpointer data1, data2; 1103s # GMarshalFunc_VOID__VARIANT callback; 1103s # gpointer arg0; 1103s # va_list args_copy; 1103s # 1103s # va_copy (args_copy, args); 1103s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1103s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1103s # arg0 = g_variant_ref_sink (arg0); 1103s # va_end (args_copy); 1103s # 1103s # 1103s # if (G_CCLOSURE_SWAP_DATA (closure)) 1103s # { 1103s # data1 = closure->data; 1103s # data2 = instance; 1103s # } 1103s # else 1103s # { 1103s # data1 = instance; 1103s # data2 = closure->data; 1103s # } 1103s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1103s # 1103s # callback (data1, 1103s # arg0, 1103s # data2); 1103s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1103s # g_variant_unref (arg0); 1103s # } 1103s 1..8 1103s ok - glib/genmarshal.py.test 1103s # Running test: glib/dbus-appinfo.test 1103s TAP version 14 1103s # random seed: R02Sdd0fed4679140b7b6922278c81a0d2b1 1103s 1..3 1103s # Start of appinfo tests 1103s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1103s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1103s ok 1 /appinfo/dbusappinfo 1103s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1103s dbus-daemon[13626]: [session uid=1000 pid=13626] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=13625 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1103s # Acquired a message bus connection 1103s dbus-daemon[13626]: [session uid=1000 pid=13626] Successfully activated service 'org.freedesktop.portal.Documents' 1103s # Acquired the name org.freedesktop.portal.Documents 1103s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1103s ok 2 /appinfo/flatpak-doc-export 1103s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1103s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1103s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1103s ok 3 /appinfo/flatpak-missing-doc-export 1103s # End of appinfo tests 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1103s # Lost the name org.freedesktop.portal.Documents 1103s ok - glib/dbus-appinfo.test 1103s # Running test: glib/gdatetime.test 1103s TAP version 14 1103s # random seed: R02S604256648595b087e0b1150474769286 1103s 1..68 1103s # Start of GDateTime tests 1103s # Bug Reference: http://bugzilla.gnome.org/702674 1103s ok 1 /GDateTime/invalid 1103s ok 2 /GDateTime/add_days 1103s ok 3 /GDateTime/add_full 1103s ok 4 /GDateTime/add_hours 1103s ok 5 /GDateTime/add_minutes 1103s ok 6 /GDateTime/add_months 1103s ok 7 /GDateTime/add_seconds 1103s ok 8 /GDateTime/add_weeks 1103s ok 9 /GDateTime/add_years 1103s ok 10 /GDateTime/compare 1103s ok 11 /GDateTime/diff 1103s ok 12 /GDateTime/equal 1103s ok 13 /GDateTime/get_day_of_week 1103s ok 14 /GDateTime/get_day_of_month 1103s ok 15 /GDateTime/get_day_of_year 1103s ok 16 /GDateTime/get_hour 1103s ok 17 /GDateTime/get_microsecond 1103s ok 18 /GDateTime/get_minute 1103s ok 19 /GDateTime/get_month 1103s ok 20 /GDateTime/get_second 1103s ok 21 /GDateTime/get_utc_offset 1103s ok 22 /GDateTime/get_year 1103s ok 23 /GDateTime/hash 1103s ok 24 /GDateTime/new_from_unix 1103s ok 25 /GDateTime/new_from_unix_utc 1103s ok 26 /GDateTime/new_from_timeval 1103s ok 27 /GDateTime/new_from_timeval_utc 1103s ok 28 /GDateTime/new_from_iso8601 1103s ok 29 /GDateTime/new_full 1103s ok 30 /GDateTime/now 1103s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1103s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1103s # %a -> expected: Sat 1103s # %a -> actual: Sat 1103s # %A -> expected: Saturday 1103s # %A -> actual: Saturday 1103s # %b -> expected: Oct 1103s # %b -> actual: Oct 1103s # %B -> expected: October 1103s # %B -> actual: October 1103s # %d -> expected: 24 1103s # %d -> actual: 24 1103s # %d -> expected: 01 1103s # %d -> actual: 01 1103s # %e -> expected: 24 1103s # %e -> actual: 24 1103s # %e -> expected:  1 1103s # %e -> actual:  1 1103s # %f -> expected: 001000 1103s # %f -> actual: 001000 1103s # %h -> expected: Oct 1103s # %h -> actual: Oct 1103s # %H -> expected: 00 1103s # %H -> actual: 00 1103s # %H -> expected: 15 1103s # %H -> actual: 15 1103s # %I -> expected: 12 1103s # %I -> actual: 12 1103s # %I -> expected: 12 1103s # %I -> actual: 12 1103s # %I -> expected: 03 1103s # %I -> actual: 03 1103s # %j -> expected: 297 1103s # %j -> actual: 297 1103s # %k -> expected:  0 1103s # %k -> actual:  0 1103s # %k -> expected: 13 1103s # %k -> actual: 13 1103s # %l -> expected: 12 1103s # %l -> actual: 12 1103s # %I -> expected: 12 1103s # %I -> actual: 12 1103s # %l -> expected:  1 1103s # %l -> actual:  1 1103s # %l -> expected: 10 1103s # %l -> actual: 10 1103s # %m -> expected: 10 1103s # %m -> actual: 10 1103s # %M -> expected: 00 1103s # %M -> actual: 00 1103s # %p -> expected: AM 1103s # %p -> actual: AM 1103s # %p -> expected: PM 1103s # %p -> actual: PM 1103s # %P -> expected: am 1103s # %P -> actual: am 1103s # %P -> expected: pm 1103s # %P -> actual: pm 1103s # %r -> expected: 12:00:00 AM 1103s # %r -> actual: 12:00:00 AM 1103s # %r -> expected: 01:13:13 PM 1103s # %r -> actual: 01:13:13 PM 1103s # %R -> expected: 00:00 1103s # %R -> actual: 00:00 1103s # %R -> expected: 13:13 1103s # %R -> actual: 13:13 1103s # %S -> expected: 00 1103s # %S -> actual: 00 1103s # %t -> expected: 1103s # %t -> actual: 1103s # %u -> expected: 6 1103s # %u -> actual: 6 1103s # %x -> expected: 10/24/09 1103s # %x -> actual: 10/24/09 1103s # %X -> expected: 00:00:00 1103s # %X -> actual: 00:00:00 1103s # %X -> expected: 13:14:15 1103s # %X -> actual: 13:14:15 1103s # %y -> expected: 09 1103s # %y -> actual: 09 1103s # %Y -> expected: 2009 1103s # %Y -> actual: 2009 1103s # %% -> expected: % 1103s # %% -> actual: % 1103s # % -> expected: 1103s # % -> actual: 1103s # %9 -> expected: (null) 1103s # %9 -> actual: (null) 1103s # %Z -> expected: UTC 1103s # %Z -> actual: UTC 1103s ok 32 /GDateTime/printf 1103s # %a -> expected: ÅÚ 1103s # %a -> actual: ÅÚ 1103s # %A -> expected: ÅÚÍËÆü 1103s # %A -> actual: ÅÚÍËÆü 1103s # %b -> expected: 10·î 1103s # %b -> actual: 10·î 1103s # %B -> expected: 10·î 1103s # %B -> actual: 10·î 1103s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1103s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1103s # %C -> expected: 20 1103s # %C -> actual: 20 1103s # %d -> expected: 24 1103s # %d -> actual: 24 1103s # %d -> expected: 01 1103s # %d -> actual: 01 1103s # %e -> expected: 24 1103s # %e -> actual: 24 1103s # %h -> expected: 10·î 1103s # %h -> actual: 10·î 1103s # %H -> expected: 00 1103s # %H -> actual: 00 1103s # %H -> expected: 15 1103s # %H -> actual: 15 1103s # %I -> expected: 12 1103s # %I -> actual: 12 1103s # %I -> expected: 12 1103s # %I -> actual: 12 1103s # %I -> expected: 03 1103s # %I -> actual: 03 1103s # %j -> expected: 297 1103s # %j -> actual: 297 1103s # %k -> expected: ?0 1103s # %k -> actual: ?0 1103s # %k -> expected: 13 1103s # %k -> actual: 13 1103s # %l -> expected: 12 1103s # %l -> actual: 12 1103s # %I -> expected: 12 1103s # %I -> actual: 12 1103s # %l -> expected: ?1 1103s # %l -> actual: ?1 1103s # %l -> expected: 10 1103s # %l -> actual: 10 1103s # %m -> expected: 10 1103s # %m -> actual: 10 1103s # %M -> expected: 00 1103s # %M -> actual: 00 1103s # %p -> expected: ¸áÁ° 1103s # %p -> actual: ¸áÁ° 1103s # %p -> expected: ¸á¸å 1103s # %p -> actual: ¸á¸å 1103s # %P -> expected: ¸áÁ° 1103s # %P -> actual: ¸áÁ° 1103s # %P -> expected: ¸á¸å 1103s # %P -> actual: ¸á¸å 1103s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1103s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1103s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1103s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1103s # %R -> expected: 00:00 1103s # %R -> actual: 00:00 1103s # %R -> expected: 13:13 1103s # %R -> actual: 13:13 1103s # %S -> expected: 00 1103s # %S -> actual: 00 1103s # %t -> expected: 1103s # %t -> actual: 1103s # %u -> expected: 6 1103s # %u -> actual: 6 1103s # %x -> expected: 2009ǯ10·î24Æü 1103s # %x -> actual: 2009ǯ10·î24Æü 1103s # %X -> expected: 00»þ00ʬ00Éà 1103s # %X -> actual: 00»þ00ʬ00Éà 1103s # %X -> expected: 13»þ14ʬ15Éà 1103s # %X -> actual: 13»þ14ʬ15Éà 1103s # %y -> expected: 09 1103s # %y -> actual: 09 1103s # %Y -> expected: 2009 1103s # %Y -> actual: 2009 1103s # %% -> expected: % 1103s # %% -> actual: % 1103s # % -> expected: 1103s # % -> actual: 1103s # %9 -> expected: (null) 1103s # %9 -> actual: (null) 1103s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1103s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1103s # %EC -> expected: Ê¿À® 1103s # %EC -> actual: Ê¿À® 1103s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1103s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1103s # %EX -> expected: 00»þ00ʬ00Éà 1103s # %EX -> actual: 00»þ00ʬ00Éà 1103s # %Ey -> expected: 21 1103s # %Ey -> actual: 21 1103s # %EY -> expected: Ê¿À®21ǯ 1103s # %EY -> actual: Ê¿À®21ǯ 1103s ok 33 /GDateTime/non_utf8_printf 1103s # ???? -> expected: ???? 1103s # ???? -> actual: ???? 1103s # %H?%M -> expected: 23?15 1103s # %H?%M -> actual: 23?15 1103s # %H?%M -> expected: 23?15 1103s # %H?%M -> actual: 23?15 1103s ok 34 /GDateTime/format_unrepresentable 1103s ok 35 /GDateTime/format_iso8601 1103s # Executing: glib/gdatetime.test 1103s ok 36 /GDateTime/strftime 1103s # %d -> expected: 01 1103s # %d -> actual: 01 1103s # %_d -> expected: 1 1103s # %_d -> actual: 1 1103s # %-d -> expected: 1 1103s # %-d -> actual: 1 1103s # %0d -> expected: 01 1103s # %0d -> actual: 01 1103s # %d -> expected: 21 1103s # %d -> actual: 21 1103s # %_d -> expected: 21 1103s # %_d -> actual: 21 1103s # %-d -> expected: 21 1103s # %-d -> actual: 21 1103s # %0d -> expected: 21 1103s # %0d -> actual: 21 1103s # %e -> expected:  1 1103s # %e -> actual:  1 1103s # %_e -> expected: 1 1103s # %_e -> actual: 1 1103s # %-e -> expected: 1 1103s # %-e -> actual: 1 1103s # %0e -> expected: 01 1103s # %0e -> actual: 01 1103s # %e -> expected: 21 1103s # %e -> actual: 21 1103s # %_e -> expected: 21 1103s # %_e -> actual: 21 1103s # %-e -> expected: 21 1103s # %-e -> actual: 21 1103s # %0e -> expected: 21 1103s # %0e -> actual: 21 1103s # %a -> expected: Thu 1103s # %a -> actual: Thu 1103s # %^a -> expected: THU 1103s # %^a -> actual: THU 1103s # %#a -> expected: THU 1103s # %#a -> actual: THU 1103s # %A -> expected: Thursday 1103s # %A -> actual: Thursday 1103s # %^A -> expected: THURSDAY 1103s # %^A -> actual: THURSDAY 1103s # %#A -> expected: THURSDAY 1103s # %#A -> actual: THURSDAY 1103s # %b -> expected: Jan 1103s # %b -> actual: Jan 1103s # %^b -> expected: JAN 1103s # %^b -> actual: JAN 1103s # %#b -> expected: JAN 1103s # %#b -> actual: JAN 1103s # %B -> expected: January 1103s # %B -> actual: January 1103s # %^B -> expected: JANUARY 1103s # %^B -> actual: JANUARY 1103s # %#B -> expected: JANUARY 1103s # %#B -> actual: JANUARY 1103s # %h -> expected: Jan 1103s # %h -> actual: Jan 1103s # %^h -> expected: JAN 1103s # %^h -> actual: JAN 1103s # %#h -> expected: JAN 1103s # %#h -> actual: JAN 1103s # %Z -> expected: UTC 1103s # %Z -> actual: UTC 1103s # %^Z -> expected: UTC 1103s # %^Z -> actual: UTC 1103s # %#Z -> expected: utc 1103s # %#Z -> actual: utc 1103s # %H -> expected: 01 1103s # %H -> actual: 01 1103s # %_H -> expected: 1 1103s # %_H -> actual: 1 1103s # %-H -> expected: 1 1103s # %-H -> actual: 1 1103s # %0H -> expected: 01 1103s # %0H -> actual: 01 1103s # %H -> expected: 21 1103s # %H -> actual: 21 1103s # %_H -> expected: 21 1103s # %_H -> actual: 21 1103s # %-H -> expected: 21 1103s # %-H -> actual: 21 1103s # %0H -> expected: 21 1103s # %0H -> actual: 21 1103s # %I -> expected: 01 1103s # %I -> actual: 01 1103s # %_I -> expected: 1 1103s # %_I -> actual: 1 1103s # %-I -> expected: 1 1103s # %-I -> actual: 1 1103s # %0I -> expected: 01 1103s # %0I -> actual: 01 1103s # %I -> expected: 11 1103s # %I -> actual: 11 1103s # %_I -> expected: 11 1103s # %_I -> actual: 11 1103s # %-I -> expected: 11 1103s # %-I -> actual: 11 1103s # %0I -> expected: 11 1103s # %0I -> actual: 11 1103s # %k -> expected:  1 1103s # %k -> actual:  1 1103s # %_k -> expected: 1 1103s # %_k -> actual: 1 1103s # %-k -> expected: 1 1103s # %-k -> actual: 1 1103s # %0k -> expected: 01 1103s # %0k -> actual: 01 1103s # %l -> expected:  1 1103s # %l -> actual:  1 1103s # %_l -> expected: 1 1103s # %_l -> actual: 1 1103s # %-l -> expected: 1 1103s # %-l -> actual: 1 1103s # %0l -> expected: 01 1103s # %0l -> actual: 01 1103s # %l -> expected: 11 1103s # %l -> actual: 11 1103s # %_l -> expected: 11 1103s # %_l -> actual: 11 1103s # %-l -> expected: 11 1103s # %-l -> actual: 11 1103s # %0l -> expected: 11 1103s # %0l -> actual: 11 1103s # %p -> expected: AM 1103s # %p -> actual: AM 1103s # %^p -> expected: AM 1103s # %^p -> actual: AM 1103s # %#p -> expected: am 1103s # %#p -> actual: am 1103s # %P -> expected: am 1103s # %P -> actual: am 1103s # %^P -> expected: AM 1103s # %^P -> actual: AM 1103s # %#P -> expected: am 1103s # %#P -> actual: am 1103s # %OH -> expected: Û²Û³ 1103s # %OH -> actual: Û²Û³ 1103s # %OI -> expected: Û±Û± 1103s # %OI -> actual: Û±Û± 1103s # %OM -> expected: Û°Û° 1103s # %OM -> actual: Û°Û° 1103s # %Om -> expected: Û°Û· 1103s # %Om -> actual: Û°Û· 1103s # %0Om -> expected: Û°Û· 1103s # %0Om -> actual: Û°Û· 1103s # %-Om -> expected: Û· 1103s # %-Om -> actual: Û· 1103s # %_Om -> expected: Û· 1103s # %_Om -> actual: Û· 1103s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1103s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1103s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1103s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1103s # %C -> expected: 20 1103s # %C -> actual: 20 1103s # %EC -> expected: 20 1103s # %EC -> actual: 20 1103s # %x -> expected: 02/01/09 1103s # %x -> actual: 02/01/09 1103s # %Ex -> expected: 02/01/09 1103s # %Ex -> actual: 02/01/09 1103s # %X -> expected: 01:02:03 1103s # %X -> actual: 01:02:03 1103s # %EX -> expected: 01:02:03 1103s # %EX -> actual: 01:02:03 1103s # %y -> expected: 09 1103s # %y -> actual: 09 1103s # %Ey -> expected: 09 1103s # %Ey -> actual: 09 1103s # %Y -> expected: 2009 1103s # %Y -> actual: 2009 1103s # %EY -> expected: 2009 1103s # %EY -> actual: 2009 1103s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1103s # Bug Reference: http://bugzilla.gnome.org/749206 1103s # %B -> expected: January 1103s # %B -> actual: January 1103s # %OB -> expected: February 1103s # %OB -> actual: February 1103s # %b -> expected: Mar 1103s # %b -> actual: Mar 1103s # %Ob -> expected: Apr 1103s # %Ob -> actual: Apr 1103s # %h -> expected: May 1103s # %h -> actual: May 1103s # %Oh -> expected: Jun 1103s # %Oh -> actual: Jun 1103s # %B -> expected: Juli 1103s # %B -> actual: Juli 1103s # %OB -> expected: August 1103s # %OB -> actual: August 1103s # %b -> expected: Sep 1103s # %b -> actual: Sep 1103s # %Ob -> expected: Okt 1103s # %Ob -> actual: Okt 1103s # %h -> expected: Nov 1103s # %h -> actual: Nov 1103s # %Oh -> expected: Dez 1103s # %Oh -> actual: Dez 1103s # %B -> expected: enero 1103s # %B -> actual: enero 1103s # %OB -> expected: febrero 1103s # %OB -> actual: febrero 1103s # %b -> expected: mar 1103s # %b -> actual: mar 1103s # %Ob -> expected: abr 1103s # %Ob -> actual: abr 1103s # %h -> expected: may 1103s # %h -> actual: may 1103s # %Oh -> expected: jun 1103s # %Oh -> actual: jun 1103s # %B -> expected: juillet 1103s # %B -> actual: juillet 1103s # %OB -> expected: août 1103s # %OB -> actual: août 1103s # %b -> expected: sept. 1103s # %b -> actual: sept. 1103s # %Ob -> expected: oct. 1103s # %Ob -> actual: oct. 1103s # %h -> expected: nov. 1103s # %h -> actual: nov. 1103s # %Oh -> expected: déc. 1103s # %Oh -> actual: déc. 1103s # %B -> expected: ΙανουαÏίου 1103s # %B -> actual: ΙανουαÏίου 1103s # %B -> expected: ΦεβÏουαÏίου 1103s # %B -> actual: ΦεβÏουαÏίου 1103s # %B -> expected: ΜαÏτίου 1103s # %B -> actual: ΜαÏτίου 1103s # %OB -> expected: ΑπÏίλιος 1103s # %OB -> actual: ΑπÏίλιος 1103s # %OB -> expected: Μάιος 1103s # %OB -> actual: Μάιος 1103s # %OB -> expected: ΙοÏνιος 1103s # %OB -> actual: ΙοÏνιος 1103s # %b -> expected: Ιουλ 1103s # %b -> actual: Ιουλ 1103s # %Ob -> expected: ΑÏγ 1103s # %Ob -> actual: ΑÏγ 1103s # %B -> expected: svibnja 1103s # %B -> actual: svibnja 1103s # %B -> expected: lipnja 1103s # %B -> actual: lipnja 1103s # %B -> expected: srpnja 1103s # %B -> actual: srpnja 1103s # %OB -> expected: Kolovoz 1103s # %OB -> actual: kolovoz 1103s # %OB -> expected: Rujan 1103s # %OB -> actual: rujan 1103s # %OB -> expected: Listopad 1103s # %OB -> actual: listopad 1103s # %b -> expected: Stu 1103s # %b -> actual: stu 1103s # %Ob -> expected: Pro 1103s # %Ob -> actual: pro 1103s # %B -> expected: sausio 1103s # %B -> actual: sausio 1103s # %B -> expected: vasario 1103s # %B -> actual: vasario 1103s # %B -> expected: kovo 1103s # %B -> actual: kovo 1103s # %OB -> expected: balandis 1103s # %OB -> actual: balandis 1103s # %OB -> expected: gegužė 1103s # %OB -> actual: gegužė 1103s # %OB -> expected: birželis 1103s # %OB -> actual: birželis 1103s # %b -> expected: liep. 1103s # %b -> actual: liep. 1103s # %Ob -> expected: rugp. 1103s # %Ob -> actual: rugp. 1103s # %B -> expected: maja 1103s # %B -> actual: maja 1103s # %B -> expected: czerwca 1103s # %B -> actual: czerwca 1103s # %B -> expected: lipca 1103s # %B -> actual: lipca 1103s # %OB -> expected: sierpieÅ„ 1103s # %OB -> actual: sierpieÅ„ 1103s # %OB -> expected: wrzesieÅ„ 1103s # %OB -> actual: wrzesieÅ„ 1103s # %OB -> expected: październik 1103s # %OB -> actual: październik 1103s # %b -> expected: lis 1103s # %b -> actual: lis 1103s # %Ob -> expected: gru 1103s # %Ob -> actual: gru 1103s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1103s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1103s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1103s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1103s # %B -> expected: марта 1103s # %B -> actual: марта 1103s # %OB -> expected: Ðпрель 1103s # %OB -> actual: Ðпрель 1103s # %OB -> expected: Май 1103s # %OB -> actual: Май 1103s # %OB -> expected: Июнь 1103s # %OB -> actual: Июнь 1103s # %b -> expected: июл 1103s # %b -> actual: июл 1103s # %Ob -> expected: авг 1103s # %Ob -> actual: авг 1103s # %b -> expected: Ð¼Ð°Ñ 1103s # %b -> actual: Ð¼Ð°Ñ 1103s # %Ob -> expected: май 1103s # %Ob -> actual: май 1103s ok 38 /GDateTime/month_names 1103s ok 39 /GDateTime/to_local 1103s ok 40 /GDateTime/to_unix 1103s ok 41 /GDateTime/to_timeval 1103s ok 42 /GDateTime/to_utc 1103s ok 43 /GDateTime/now_utc 1103s ok 44 /GDateTime/dst 1103s # Bug Reference: http://bugzilla.gnome.org/642935 1103s ok 45 /GDateTime/test_z 1104s ok 46 /GDateTime/test-all-dates 1104s # slow test /GDateTime/test-all-dates executed in 1.45 secs 1104s ok 47 /GDateTime/unix_usec 1104s # Start of new_from_unix tests 1104s # Bug Reference: http://bugzilla.gnome.org/782089 1104s ok 48 /GDateTime/new_from_unix/overflow 1104s # End of new_from_unix tests 1104s # Start of new_from_timeval tests 1104s # Bug Reference: http://bugzilla.gnome.org/782089 1104s # Maximum supported GTimeVal.tv_sec = 253402300799 1104s ok 49 /GDateTime/new_from_timeval/overflow 1104s # End of new_from_timeval tests 1104s # Start of new_from_iso8601 tests 1104s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1104s # Vector 0: 1990-11-01T10:21:17Z 1104s # Vector 1: 19901101T102117Z 1104s # Vector 2: 1970-01-01T00:00:17.12Z 1104s # Vector 3: 1970-01-01T00:00:17.1234Z 1104s # Vector 4: 1970-01-01T00:00:17.123456Z 1104s # Vector 5: 1980-02-22T12:36:00+02:00 1104s # Vector 6: 1990-12-31T15:59:60-08:00 1104s # Vector 7: 1104s # Vector 8: x 1104s # Vector 9: 123x 1104s # Vector 10: 2001-10+x 1104s # Vector 11: 1980-02-22T 1104s # Vector 12: 2001-10-08Tx 1104s # Vector 13: 2001-10-08T10:11x 1104s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1104s # Vector 15: 1980-02-22T10:36:00Zulu 1104s # Vector 16: 2T0+819855292164632335 1104s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1104s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1104s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1104s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1104s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1104s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1104s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1104s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1104s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1104s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1104s # Vector 27: 20180803T140805.446178377+0100 1104s # Vector 28: 21474836480803T140805.446178377+0100 1104s # Vector 29: 20181303T140805.446178377+0100 1104s # Vector 30: 20180003T140805.446178377+0100 1104s # Vector 31: 20180800T140805.446178377+0100 1104s # Vector 32: 20180832T140805.446178377+0100 1104s # Vector 33: 20180803T240805.446178377+0100 1104s # Vector 34: 20180803T146005.446178377+0100 1104s # Vector 35: 20180803T140863.446178377+0100 1104s # Vector 36: 20180803T140805.446178377+10000 1104s # Vector 37: -0005-01-01T00:00:00Z 1104s # Vector 38: 2018-08-06 1104s # Vector 39: 20180803T140805,446178377+0100 1104s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1104s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1104s # Vector 42: 1990-11-01T10:21:17 1104s # Vector 43: 1719W462 407777-07 1104s # Vector 44: 4011090 260528Z 1104s # Vector 45: 0000W011 228214-22 1104s ok 50 /GDateTime/new_from_iso8601/2 1104s # End of new_from_iso8601 tests 1104s # Start of format_mixed tests 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1104s # %b -> expected: mar 1104s # %b -> actual: Mar 1104s # %B -> expected: march 1104s # %B -> actual: March 1104s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1104s # %b -> expected: mar 1104s # %b -> actual: Mar 1104s # %B -> expected: march 1104s # %B -> actual: March 1104s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1104s # %b -> expected: Mär 1104s # %b -> actual: Mär 1104s # %B -> expected: März 1104s # %B -> actual: März 1104s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1104s # %b -> expected: Mär 1104s # %b -> actual: Mär 1104s # %B -> expected: März 1104s # %B -> actual: März 1104s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1104s # End of format_mixed tests 1104s # Start of strftime tests 1104s # %r -> expected: (null) 1104s # %r -> actual: (null) 1104s ok 55 /GDateTime/strftime/error_handling 1104s # End of strftime tests 1104s # Start of eras tests 1104s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1104s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1104s # %EC -> expected: 令和 1104s # %EC -> actual: 令和 1104s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1104s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1104s # %EX -> expected: 00時00分00秒 1104s # %EX -> actual: 00時00分00秒 1104s # %Ey -> expected: 05 1104s # %Ey -> actual: 05 1104s # %EY -> expected: 令和05å¹´ 1104s # %EY -> actual: 令和05å¹´ 1104s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1104s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1104s # %EC -> expected: å¹³æˆ 1104s # %EC -> actual: å¹³æˆ 1104s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1104s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1104s # %EX -> expected: 00時00分00秒 1104s # %EX -> actual: 00時00分00秒 1104s # %Ey -> expected: 31 1104s # %Ey -> actual: 31 1104s # %EY -> expected: å¹³æˆ31å¹´ 1104s # %EY -> actual: å¹³æˆ31å¹´ 1104s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1104s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1104s # %EC -> expected: 昭和 1104s # %EC -> actual: 昭和 1104s # %Ex -> expected: 昭和元年12月25æ—¥ 1104s # %Ex -> actual: 昭和元年12月25æ—¥ 1104s # %EX -> expected: 00時00分00秒 1104s # %EX -> actual: 00時00分00秒 1104s # %Ey -> expected: 01 1104s # %Ey -> actual: 01 1104s # %EY -> expected: 昭和元年 1104s # %EY -> actual: 昭和元年 1104s ok 56 /GDateTime/eras/japan 1104s ok - glib/gdatetime.test 1104s # Running test: glib/tree.test 1104s ok - glib/tree.test 1104s # Running test: glib/dynamictype.test 1104s ok - glib/dynamictype.test 1104s # Running test: glib/properties-refcount3.test 1104s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1104s # Vector 0: 1104s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1104s # 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å¹´ 1104s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1104s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1104s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 8: + 1104s # Vector 9: +: 1104s # Vector 10: +:: 1104s # Vector 11: +:200 1104s # Vector 12: +:2nonsense 1104s # Vector 13: +:2nonsense: 1104s # Vector 14: +:2: 1104s # Vector 15: +:2:: 1104s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1104s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1104s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1104s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1104s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1104s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1104s # Vector 28: +:2:2020/01/01 1104s # Vector 29: +:2:2020/01/01: 1104s # Vector 30: +:2:2020/01/01:: 1104s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1104s # Vector 32: +:2:2020/01/01:+* 1104s # Vector 33: +:2:2020/01/01:+*: 1104s # Vector 34: +:2:2020/01/01:+*:: 1104s # Vector 35: +:2:2020/01/01:+*:令和 1104s # Vector 36: +:2:2020/01/01:+*:令和: 1104s # Vector 37: +:2:2020/01/01:+*:令和:; 1104s ok 58 /GDateTime/eras/parsing 1104s # End of eras tests 1104s # End of GDateTime tests 1104s # Start of GTimeZone tests 1104s ok 59 /GTimeZone/find-interval 1104s ok 60 /GTimeZone/adjust-time 1104s ok 61 /GTimeZone/no-header 1104s ok 62 /GTimeZone/no-header-identifier 1104s ok 63 /GTimeZone/posix-parse 1104s # Bug Reference: http://bugzilla.gnome.org/697715 1104s ok 64 /GTimeZone/floating-point 1104s # System time zone identifier: Etc/UTC 1104s ok 65 /GTimeZone/identifier 1104s # Vector 0: -158400 1104s # Vector 1: -10000 1104s # Vector 2: -3600 1104s # Vector 3: -61 1104s # Vector 4: -60 1104s # Vector 5: -59 1104s # Vector 6: 0 1104s # Vector 7: 59 1104s # Vector 8: 60 1104s # Vector 9: 61 1104s # Vector 10: 3600 1104s # Vector 11: 10000 1104s # Vector 12: 158400 1104s ok 66 /GTimeZone/new-offset 1104s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1104s ok 67 /GTimeZone/parse-rfc8536 1104s # /GTimeZone/caching summary: GTimeZone instances are cached 1104s ok 68 /GTimeZone/caching 1104s # End of GTimeZone tests 1104s TAP version 14 1104s # random seed: R02Sd03eea2c078b2c7ea5566c19ba0d5213 1104s 1..7 1104s # Start of tree tests 1104s ok 1 /tree/search 1104s ok 2 /tree/remove 1104s ok 3 /tree/destroy 1104s ok 4 /tree/traverse 1104s ok 5 /tree/insert 1104s ok 6 /tree/bounds 1104s ok 7 /tree/remove-all 1104s # End of tree tests 1104s TAP version 14 1104s # random seed: R02S29bad6fcc8a56c393f4ebd42b1f19737 1104s 1..2 1104s # Start of gobject tests 1104s ok 1 /gobject/dynamic-type 1104s # Start of dynamic-type tests 1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1104s ok 2 /gobject/dynamic-type/query 1104s # End of dynamic-type tests 1104s # End of gobject tests 1104s TAP version 14 1104s # random seed: R02Sb2368a3e90a473e38a8a5aac971ce2cb 1104s 1..1 1104s # Start of gobject tests 1104s # Start of refcount tests 1108s # Executing: glib/properties-refcount3.test 1113s # Executing: glib/properties-refcount3.test 1118s # Executing: glib/properties-refcount3.test 1123s # Executing: glib/properties-refcount3.test 1128s # Executing: glib/properties-refcount3.test 1133s # Executing: glib/properties-refcount3.test 1134s # 1134s # stopping 1134s # 1134s # stopped 1134s # 1134s # 11379887 349650 1134s # 1134s ok 1 /gobject/refcount/properties-3 1134s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1134s # End of refcount tests 1134s # End of gobject tests 1134s ok - glib/properties-refcount3.test 1134s # Running test: glib/gdbus-sasl.test 1134s TAP version 14 1134s # random seed: R02S78fc253ad43be7c641ec078a62748b3f 1134s 1..1 1134s # Start of gdbus tests 1134s # Start of sasl tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_HLOE02/gdbus/sasl/server/.dirs/runtime 1134s # New handshake: EXTERNAL with incorrect initial response 1134s # C:“AUTH EXTERNAL 30†1134s # Expect: /^REJECTED.*$/ 1134s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1134s # New handshake: EXTERNAL without initial response, failing to authenticate 1134s # C:“AUTH EXTERNAL†1134s # Expect: /^DATA$/ 1134s # S:“DATA†1134s # C:“DATA 30†1134s # Expect: /^REJECTED.*$/ 1134s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1134s # New handshake: EXTERNAL with initial response 1134s # C:“AUTH EXTERNAL 31303030†1134s # Expect: /^OK [0-9a-f]+$/ 1134s # S:“OK 31e6a7543ec92fd889e017f0678af9a3†1134s # New handshake: EXTERNAL without initial response 1134s # C:“AUTH EXTERNAL†1134s # Expect: /^DATA$/ 1134s # S:“DATA†1134s # C:“DATA 31303030†1134s # Expect: /^OK [0-9a-f]+$/ 1134s # S:“OK 31e6a7543ec92fd889e017f0678af9a3†1134s # New handshake: EXTERNAL with empty authorization identity 1134s # C:“AUTH EXTERNAL†1134s # Expect: /^DATA$/ 1134s # S:“DATA†1134s # C:“DATA†1134s # Expect: /^OK [0-9a-f]+$/ 1134s # S:“OK 31e6a7543ec92fd889e017f0678af9a3†1134s ok - glib/gdbus-sasl.test 1134s # Running test: glib/socket.test 1134s # New handshake: EXTERNAL with empty authorization identity and whitespace 1134s # C:“AUTH EXTERNAL†1134s # Expect: /^DATA$/ 1134s # S:“DATA†1134s # C:“DATA †1134s # Expect: /^OK [0-9a-f]+$/ 1134s # S:“OK 31e6a7543ec92fd889e017f0678af9a3†1134s ok 1 /gdbus/sasl/server 1134s # End of sasl tests 1134s # End of gdbus tests 1134s TAP version 14 1134s # random seed: R02S59169b76dd2806b740974b0f073b3659 1134s 1..28 1134s # Start of socket tests 1135s ok 1 /socket/ipv4_sync 1135s # slow test /socket/ipv4_sync executed in 1.00 secs 1136s ok 2 /socket/ipv4_async 1136s # slow test /socket/ipv4_async executed in 1.00 secs 1136s ok 3 /socket/ipv6_sync 1136s ok 4 /socket/ipv6_async 1136s ok 5 /socket/ipv6_v4mapped 1137s ok 6 /socket/close_graceful 1137s # slow test /socket/close_graceful executed in 1.00 secs 1137s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1137s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1137s ok 8 /socket/fd_reuse 1137s ok 9 /socket/address 1137s ok 10 /socket/unix-from-fd 1137s ok 11 /socket/unix-connection 1137s ok 12 /socket/unix-connection-ancillary-data 1137s ok 13 /socket/source-postmortem 1137s ok 14 /socket/read_write 1137s ok 15 /socket/read_writev 1138s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1138s ok 16 /socket/receive_bytes 1138s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1138s ok 17 /socket/receive_bytes_from 1138s # Start of ipv4_sync tests 1138s ok 18 /socket/ipv4_sync/datagram 1138s # Start of datagram tests 1138s # Executing: glib/socket.test 1139s ok 19 /socket/ipv4_sync/datagram/timeouts 1139s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1139s # End of datagram tests 1139s # End of ipv4_sync tests 1139s # Start of ipv6_sync tests 1139s ok 20 /socket/ipv6_sync/datagram 1139s # Start of datagram tests 1140s ok 21 /socket/ipv6_sync/datagram/timeouts 1140s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1140s # End of datagram tests 1140s # End of ipv6_sync tests 1140s # Start of reuse tests 1140s ok 22 /socket/reuse/tcp 1140s ok 23 /socket/reuse/udp 1140s # End of reuse tests 1140s # Start of get_available tests 1140s ok - glib/socket.test 1140s ok 24 /socket/get_available/datagram 1140s ok 25 /socket/get_available/stream 1140s # End of get_available tests 1140s # Start of credentials tests 1140s # Supported on this OS: GCredentials:linux-ucred:pid=0 1140s ok 26 /socket/credentials/tcp_client 1140s # Supported on this OS: GCredentials:linux-ucred:pid=0 1140s ok 27 /socket/credentials/tcp_server 1140s # Supported on this OS: GCredentials:linux-ucred:pid=13667,uid=1000,gid=1000 1140s ok 28 /socket/credentials/unix_socketpair 1140s # End of credentials tests 1140s # End of socket tests 1140s # Running test: glib/properties-introspection.test 1140s ok - glib/properties-introspection.test 1140s # Running test: glib/registered-type-info.test 1140s ok - glib/registered-type-info.test 1140s # Running test: glib/mapping.test 1140s ok - glib/mapping.test 1140s # Running test: glib/utils-isolated.test 1140s ok - glib/utils-isolated.test 1140s # Running test: glib/repository.test 1140s TAP version 14 1140s # random seed: R02Sc0e3c6b77b57e7b74bda307d0c59df5d 1140s 1..2 1140s # Start of properties tests 1140s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1140s ok 1 /properties/introspection 1140s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1140s ok 2 /properties/collision 1140s # End of properties tests 1140s TAP version 14 1140s # random seed: R02Sf648fc87d957039cd56e0e003577c386 1140s 1..1 1140s # Start of registered-type-info tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_ZOFH02/registered-type-info/boxed/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1140s # Expecting CClosure to not be boxed 1140s # Expecting TypeCValue to not be boxed 1140s # Expecting InitiallyUnownedClass to not be boxed 1140s # Expecting BookmarkFile to be boxed 1140s # Expecting Closure to be boxed 1140s # Expecting Object to not be boxed 1140s ok 1 /registered-type-info/boxed 1140s # End of registered-type-info tests 1140s TAP version 14 1140s # random seed: R02Sbf9c74024957fec9498bfb1a9b278352 1140s 1..3 1140s # Start of mapping tests 1140s # test_mapping: ok 1140s ok 1 /mapping/flags 1140s ok 2 /mapping/private 1140s # Subtest: /usr/libexec/installed-tests/glib/mapping 1140s # test_child_private: child spawned 1140s # random seed: R02S8a82be8039a91b005f901b6b1964827b 1140s # test_child_private: received first child signal 1140s # test_child_private: received parent signal 1140s # Child exited with status 0 1140s # test_child_private: received second child signal 1140s ok 3 /mapping/private-child 1140s # End of mapping tests 1140s TAP version 14 1140s # random seed: R02S96608fe3dc0eba05252d74d95a0e6ebf 1140s 1..11 1140s # Start of utils-isolated tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/tmp-dir/.dirs/runtime 1140s ok 1 /utils-isolated/tmp-dir 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/home-dir/.dirs/runtime 1140s ok 2 /utils-isolated/home-dir 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-cache-dir/.dirs/runtime 1140s ok 3 /utils-isolated/user-cache-dir 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-config-dirs/.dirs/runtime 1140s ok 4 /utils-isolated/system-config-dirs 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-config-dir/.dirs/runtime 1140s ok 5 /utils-isolated/user-config-dir 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/system-data-dirs/.dirs/runtime 1140s ok 6 /utils-isolated/system-data-dirs 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-data-dir/.dirs/runtime 1140s ok 7 /utils-isolated/user-data-dir 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-state-dir/.dirs/runtime 1140s ok 8 /utils-isolated/user-state-dir 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/user-runtime-dir/.dirs/runtime 1140s ok 9 /utils-isolated/user-runtime-dir 1140s # Start of cleanup tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/runtime 1140s Unable to clean up temporary directory /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1140s Unable to clean up temporary directory /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1140s Unable to clean up temporary directory /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/handles-errors: Directory not empty 1140s ok 10 /utils-isolated/cleanup/handles-errors 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1140s Unable to clean up temporary directory /tmp/test_utils-isolated_NA6G02/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1140s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1140s # End of cleanup tests 1140s # End of utils-isolated tests 1140s TAP version 14 1140s # random seed: R02S553d652a154fcaafb207fa473345bdac 1140s 1..23 1140s # Start of repository tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/basic/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/basic/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/basic/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/basic/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/basic/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/basic/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/basic/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/basic/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/basic/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/basic/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1140s ok 1 /repository/basic 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/info/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/info/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/info/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/info/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/info/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/info/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/info/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/info/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/info/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/info/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1140s ok 2 /repository/info 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/dependencies/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/dependencies/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/dependencies/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/dependencies/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/dependencies/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/dependencies/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/dependencies/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/dependencies/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/dependencies/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/dependencies/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1140s ok 3 /repository/dependencies 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/arg-info/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/arg-info/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/arg-info/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/arg-info/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/arg-info/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/arg-info/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/arg-info/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/arg-info/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/arg-info/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/arg-info/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1140s ok 4 /repository/arg-info 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/callable-info/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/callable-info/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/callable-info/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/callable-info/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/callable-info/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/callable-info/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/callable-info/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/callable-info/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/callable-info/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/callable-info/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1140s ok 5 /repository/callable-info 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/callback-info/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/callback-info/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/callback-info/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/callback-info/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/callback-info/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/callback-info/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/callback-info/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/callback-info/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/callback-info/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/callback-info/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1140s ok 6 /repository/callback-info 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/char-types/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/char-types/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/char-types/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/char-types/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/char-types/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/char-types/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/char-types/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/char-types/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/char-types/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/char-types/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1140s ok 7 /repository/char-types 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/constructor-return-type/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1140s ok 8 /repository/constructor-return-type 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/enum-info-c-identifier/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1140s ok 9 /repository/enum-info-c-identifier 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/enum-info-static-methods/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/enum-info-static-methods summary: Test an enum with methods 1140s ok 10 /repository/enum-info-static-methods 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/error-quark/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/error-quark/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/error-quark/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/error-quark/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/error-quark/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/error-quark/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/error-quark/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/error-quark/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/error-quark/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/error-quark/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/error-quark summary: Test finding an error quark by error domain 1140s ok 11 /repository/error-quark 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/flags-info-c-identifier/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1140s ok 12 /repository/flags-info-c-identifier 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/fundamental-ref-func/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1140s ok 13 /repository/fundamental-ref-func 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/instance-method-ownership-transfer/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1140s ok 14 /repository/instance-method-ownership-transfer 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/object-gtype-interfaces/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1140s ok 15 /repository/object-gtype-interfaces 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/signal-info-with-array-length-arg/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1140s ok 16 /repository/signal-info-with-array-length-arg 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/type-info-name/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/type-info-name/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/type-info-name/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/type-info-name/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/type-info-name/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/type-info-name/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/type-info-name/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/type-info-name/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1140s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1140s ok 17 /repository/type-info-name 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/vfunc-info-with-no-invoker/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1140s ok 18 /repository/vfunc-info-with-no-invoker 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1140s ok 19 /repository/vfunc-info-with-invoker-on-interface 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1140s ok 20 /repository/vfunc-info-with-invoker-on-object 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/find-by-gtype/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/find-by-gtype summary: Test finding a GType 1140s ok 21 /repository/find-by-gtype 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/loaded-namespaces/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1140s ok 22 /repository/loaded-namespaces 1140s # Start of base-info tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_HCAP02/repository/base-info/clear/.dirs/runtime 1140s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1140s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1140s ok 23 /repository/base-info/clear 1140s # End of base-info tests 1140s # End of repository tests 1140s TAP version 14 1140s # random seed: R02Sddbf8d1b9d3cd6602051eb8611aa9388 1140s 1..1 1140s # Start of glib tests 1140s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1140s ok 1 /glib/642026 1140s # End of glib tests 1140s ok - glib/repository.test 1140s # Running test: glib/642026-ec.test 1140s ok - glib/642026-ec.test 1140s # Running test: glib/init.test 1140s ok - glib/init.test 1140s # Running test: glib/ifaceproperties.test 1140s TAP version 14 1140s # random seed: R02S0fa99cf4b963f9fdb0538f431c108aac 1140s 1..2 1140s # Start of thread tests 1140s # Start of deprecated tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_UDTP02/thread/deprecated/init/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_UDTP02/thread/deprecated/init/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_UDTP02/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_UDTP02/thread/deprecated/init/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_UDTP02/thread/deprecated/init/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_UDTP02/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_UDTP02/thread/deprecated/init/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_UDTP02/thread/deprecated/init/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_UDTP02/thread/deprecated/init/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_UDTP02/thread/deprecated/init/.dirs/runtime 1140s ok 1 /thread/deprecated/init 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_UDTP02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1140s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1140s # End of deprecated tests 1140s # End of thread tests 1140s TAP version 14 1140s # random seed: R02Sbc2c6332e73cee5fa9fdd203e5cd81b6 1140s 1..7 1140s # Start of interface tests 1140s # Start of properties tests 1140s ok 1 /interface/properties/set 1140s ok 2 /interface/properties/notify 1140s ok 3 /interface/properties/find-overridden 1140s ok 4 /interface/properties/list-overridden 1140s ok 5 /interface/properties/find-interface 1140s ok 6 /interface/properties/list-interface 1140s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1140s ok 7 /interface/properties/not-overridden 1140s # End of properties tests 1140s # End of interface tests 1140s ok - glib/ifaceproperties.test 1140s # Running test: glib/guuid.test 1140s TAP version 14 1140s # random seed: R02Sb0f398351d6e926bbae6f96539c09357 1140s 1..2 1140s # Start of uuid tests 1140s ok 1 /uuid/string 1140s ok 2 /uuid/random 1140s # End of uuid tests 1140s ok - glib/guuid.test 1140s # Running test: glib/macros-c-89.test 1140s ok - glib/macros-c-89.test 1140s # Running test: glib/flags.test 1140s ok - glib/flags.test 1140s TAP version 14 1140s # random seed: R02Sf08af12d6ba41a75ec3984a3ba048be2 1140s 1..4 1140s # Start of C tests 1140s ok 1 /C/standard-89 1140s # End of C tests 1140s # Start of alignof tests 1140s ok 2 /alignof/fallback 1140s # End of alignof tests 1140s # Start of assert tests 1140s ok 3 /assert/static 1140s # End of assert tests 1140s # Start of struct tests 1140s ok 4 /struct/sizeof_member 1140s # End of struct tests 1140s TAP version 14 1140s # random seed: R02Sed1ca25cf5a6f0ff9e146b41a7b20fb4 1140s 1..1 1140s # Start of gobject tests 1140s # Start of flags tests 1140s ok 1 /gobject/flags/validate 1140s # End of flags tests 1140s # End of gobject tests 1140s # Running test: glib/array-test.test 1140s TAP version 14 1140s # random seed: R02S2f4da2a6c5c24f79d6d352d785dd94ed 1140s 1..113 1140s # Start of array tests 1140s ok 1 /array/ref-count 1140s ok 2 /array/steal 1140s ok 3 /array/clear-func 1140s ok 4 /array/binary-search 1140s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1140s ok 5 /array/copy-sized 1140s ok 6 /array/overflow-append-vals 1140s ok 7 /array/overflow-set-size 1140s # Start of new tests 1140s ok 8 /array/new/zero-terminated 1140s ok 9 /array/new/take 1140s ok 10 /array/new/take-zero-terminated 1140s # Start of take tests 1140s ok 11 /array/new/take/empty 1140s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1140s # End of take tests 1140s # End of new tests 1140s # Start of set-size tests 1140s ok 13 /array/set-size/non-zero-terminated-no-clear 1140s ok 14 /array/set-size/non-zero-terminated-clear 1140s ok 15 /array/set-size/zero-terminated-no-clear 1140s ok 16 /array/set-size/zero-terminated-clear 1140s # Start of sized tests 1140s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1140s ok 18 /array/set-size/sized/non-zero-terminated-clear 1140s ok 19 /array/set-size/sized/zero-terminated-no-clear 1140s ok 20 /array/set-size/sized/zero-terminated-clear 1140s # End of sized tests 1140s # End of set-size tests 1140s # Start of append-val tests 1140s ok 21 /array/append-val/non-zero-terminated-no-clear 1140s ok 22 /array/append-val/non-zero-terminated-clear 1140s ok 23 /array/append-val/zero-terminated-no-clear 1140s ok 24 /array/append-val/zero-terminated-clear 1140s # End of append-val tests 1140s # Start of prepend-val tests 1140s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1140s ok 26 /array/prepend-val/non-zero-terminated-clear 1140s ok 27 /array/prepend-val/zero-terminated-no-clear 1140s ok 28 /array/prepend-val/zero-terminated-clear 1140s # End of prepend-val tests 1140s # Start of prepend-vals tests 1140s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1140s ok 30 /array/prepend-vals/non-zero-terminated-clear 1140s ok 31 /array/prepend-vals/zero-terminated-no-clear 1140s ok 32 /array/prepend-vals/zero-terminated-clear 1140s # End of prepend-vals tests 1140s # Start of insert-vals tests 1140s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1140s ok 34 /array/insert-vals/non-zero-terminated-clear 1140s ok 35 /array/insert-vals/zero-terminated-no-clear 1140s ok 36 /array/insert-vals/zero-terminated-clear 1140s # End of insert-vals tests 1140s # Start of remove-index tests 1140s ok 37 /array/remove-index/non-zero-terminated-no-clear 1140s ok 38 /array/remove-index/non-zero-terminated-clear 1140s ok 39 /array/remove-index/zero-terminated-no-clear 1140s ok 40 /array/remove-index/zero-terminated-clear 1140s # End of remove-index tests 1140s # Start of remove-index-fast tests 1140s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1140s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1140s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1140s ok 44 /array/remove-index-fast/zero-terminated-clear 1140s # End of remove-index-fast tests 1140s # Start of remove-range tests 1140s ok 45 /array/remove-range/non-zero-terminated-no-clear 1140s ok 46 /array/remove-range/non-zero-terminated-clear 1140s ok 47 /array/remove-range/zero-terminated-no-clear 1140s ok 48 /array/remove-range/zero-terminated-clear 1140s # End of remove-range tests 1140s # Start of copy tests 1140s ok 49 /array/copy/non-zero-terminated-no-clear 1140s ok 50 /array/copy/non-zero-terminated-clear 1140s ok 51 /array/copy/zero-terminated-no-clear 1140s ok 52 /array/copy/zero-terminated-clear 1140s # End of copy tests 1140s # Start of sort tests 1140s ok 53 /array/sort/non-zero-terminated-no-clear 1140s ok 54 /array/sort/non-zero-terminated-clear 1140s ok 55 /array/sort/zero-terminated-no-clear 1140s ok 56 /array/sort/zero-terminated-clear 1140s # End of sort tests 1140s # Start of sort-with-data tests 1140s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1140s ok 58 /array/sort-with-data/non-zero-terminated-clear 1140s ok 59 /array/sort-with-data/zero-terminated-no-clear 1140s ok 60 /array/sort-with-data/zero-terminated-clear 1140s # End of sort-with-data tests 1140s # End of array tests 1140s # Start of pointerarray tests 1140s ok 61 /pointerarray/add 1140s ok 62 /pointerarray/insert 1140s ok 63 /pointerarray/new-take 1140s ok 64 /pointerarray/new-take-null-terminated 1140s ok 65 /pointerarray/new-from-array 1140s ok 66 /pointerarray/new-from-null-terminated-array 1140s ok 67 /pointerarray/free-func 1140s ok 68 /pointerarray/array_extend_and_steal 1140s ok 69 /pointerarray/sort 1140s ok 70 /pointerarray/sort-with-data 1140s ok 71 /pointerarray/sort-values 1140s ok 72 /pointerarray/sort-values-with-data 1140s ok 73 /pointerarray/remove-range 1140s ok 74 /pointerarray/steal 1140s # Start of free tests 1140s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1140s ok 75 /pointerarray/free/null-terminated 1140s # End of free tests 1140s # Start of new-take tests 1140s ok 76 /pointerarray/new-take/empty 1140s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1140s ok 78 /pointerarray/new-take/with-free-func 1140s # End of new-take tests 1140s # Start of new-take-null-terminated tests 1140s ok 79 /pointerarray/new-take-null-terminated/empty 1140s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1140s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1140s # End of new-take-null-terminated tests 1140s # Start of new-from-array tests 1140s ok 82 /pointerarray/new-from-array/empty 1140s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1140s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1140s # End of new-from-array tests 1140s # Start of new-from-null-terminated-array tests 1140s ok 85 /pointerarray/new-from-null-terminated-array/empty 1140s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1140s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1140s # End of new-from-null-terminated-array tests 1140s # Start of ref-count tests 1140s ok 88 /pointerarray/ref-count/not-null-terminated 1140s ok 89 /pointerarray/ref-count/null-terminated 1140s # End of ref-count tests 1140s # Start of array_copy tests 1140s # /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 1140s ok 90 /pointerarray/array_copy/not-null-terminated 1140s # /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 1140s ok 91 /pointerarray/array_copy/null-terminated 1140s # End of array_copy tests 1140s # Start of array_extend tests 1140s ok 92 /pointerarray/array_extend/not-null-terminated 1140s ok 93 /pointerarray/array_extend/null-terminated 1140s # End of array_extend tests 1140s # Start of sort tests 1140s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1140s ok 94 /pointerarray/sort/example 1140s # End of sort tests 1140s # Start of sort-with-data tests 1140s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1140s ok 95 /pointerarray/sort-with-data/example 1140s # End of sort-with-data tests 1140s # Start of sort-values tests 1140s ok 96 /pointerarray/sort-values/example 1140s # End of sort-values tests 1140s # Start of sort-values-with-data tests 1140s ok 97 /pointerarray/sort-values-with-data/example 1140s # End of sort-values-with-data tests 1140s # Start of find tests 1140s ok 98 /pointerarray/find/empty 1140s ok 99 /pointerarray/find/non-empty 1140s # End of find tests 1140s # Start of steal_index tests 1140s ok 100 /pointerarray/steal_index/not-null-terminated 1140s ok 101 /pointerarray/steal_index/null-terminated 1140s # End of steal_index tests 1140s # End of pointerarray tests 1140s # Start of bytearray tests 1140s ok 102 /bytearray/steal 1140s ok 103 /bytearray/append 1140s ok 104 /bytearray/prepend 1140s ok 105 /bytearray/remove 1140s ok 106 /bytearray/remove-fast 1140s ok 107 /bytearray/remove-range 1140s ok 108 /bytearray/ref-count 1140s ok 109 /bytearray/sort 1140s ok 110 /bytearray/sort-with-data 1140s ok 111 /bytearray/new-take 1140s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1140s ok 113 /bytearray/free-to-bytes 1140s # End of bytearray tests 1140s ok - glib/array-test.test 1140s # Running test: glib/value.test 1140s TAP version 14 1140s # random seed: R02Sa930d8525d0997b72c0ae5d02154de9c 1140s 1..9 1140s # Start of value tests 1140s ok 1 /value/basic 1140s ok 2 /value/collection 1140s ok 3 /value/copying 1140s ok 4 /value/enum-transformation 1140s ok 5 /value/gtype 1140s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1140s ok 6 /value/string 1140s # Next: GObject object in GValue of GObject to GValue of GObject 1140s # Next: GObject object in GValue of GObject to GValue of TestInterface 1140s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1140s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1140s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1140s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1140s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1140s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1140s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1140s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1140s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1140s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1140s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1140s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1140s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1140s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1140s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1140s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1140s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1140s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1140s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1140s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1140s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1140s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1140s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1140s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1140s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1140s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1140s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1140s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1140s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1140s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1140s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1140s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1140s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1140s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1140s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1140s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1140s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1140s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1140s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1140s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1140s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1140s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1140s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1140s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1140s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1140s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1140s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1140s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1140s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1140s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1140s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1140s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1140s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1140s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1140s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1140s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1140s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1140s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1140s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1140s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1140s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1140s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1140s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1140s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1140s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1140s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1140s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1140s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1140s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1140s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1140s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1140s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1140s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1140s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1140s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1140s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1140s ok 7 /value/transform-object 1140s # Start of array tests 1140s ok 8 /value/array/basic 1140s ok 9 /value/array/sort-with-data 1140s # End of array tests 1140s # End of value tests 1140s ok - glib/value.test 1140s # Running test: glib/g-file.test 1140s TAP version 14 1140s # random seed: R02S798187aef9532baab9534bb0d521bc22 1140s 1..8 1140s # Start of g-file tests 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1140s ok 1 /g-file/test_g_file_new_null 1140s ok 2 /g-file/test_g_file_new_for_path 1140s ok 3 /g-file/test_g_file_new_for_uri 1140s ok 4 /g-file/test_g_file_dup 1140s ok 5 /g-file/test_g_file_get_parse_name_utf8 1140s file:///tmp/test-tmp-glib_g-file.test-50ON02 1140s file:///tmp 1140s file:///tmp 1140s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1140s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1140s ok 6 /g-file/test_g_file_new_for_commandline_arg 1140s /dir1 /dir1/dir2/dir3/ 1140s /dir1/ /dir1/dir2/dir3/ 1140s /dir1 /dir1/dir2/dir3 1140s /dir1/ /dir1/dir2/dir3 1140s /tmp/ /something/ 1140s /dir1/dir2 /dir1/ 1140s //dir1/new //dir1/new/dir2/dir3 1140s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1140s file:///dir1 file:///dir1/dir2/dir3/ 1140s file:///dir1/ file:///dir1/dir2/dir3/ 1140s file:///dir1 file:///dir1/dir2/dir3 1140s file:///dir1/ file:///dir1/dir2/dir3 1140s file:///tmp/ file:///something/ 1140s file:///dir1/dir2 file:///dir1/ 1140s file:////dir1/new file:////dir1/new/dir2/dir3 1140s 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 1140s ok 7 /g-file/test_g_file_has_prefix 1140s ok 8 /g-file/test_g_file_get_parent_child 1140s # End of g-file tests 1140s ok - glib/g-file.test 1140s # Running test: glib/rand.test 1140s TAP version 14 1140s # random seed: R02S9564191b9c66b92e29b13cc79f9a39c4 1140s 1..2 1140s # Start of rand tests 1140s ok 1 /rand/test-rand 1140s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1140s ok 2 /rand/double-range 1140s # End of rand tests 1140s ok - glib/rand.test 1140s # Running test: glib/portal-support-flatpak-gsettings-only.test 1140s TAP version 14 1140s # random seed: R02Sc29c2dbb10403d276142d9f113bab8e0 1140s 1..1 1140s # Start of portal-support tests 1140s # Start of flatpak tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/runtime 1140s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_IUC8Z2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1140s ok 1 /portal-support/flatpak/gsettings 1140s # End of flatpak tests 1140s # End of portal-support tests 1140s ok - glib/portal-support-flatpak-gsettings-only.test 1140s # Running test: glib/type.test 1140s TAP version 14 1140s # random seed: R02Sc27deaf05c1d47e5f32ddfd1f3b4f289 1140s 1..6 1140s # Start of type tests 1140s ok 1 /type/registration-serial 1140s ok 2 /type/interface-prerequisite 1140s ok 3 /type/interface-check 1140s ok 4 /type/next-base 1140s ok 5 /type/is-a 1140s # Invalid types can?t be queried. 1140s # Unclassed types can?t be queried. 1140s ok 6 /type/query 1140s # End of type tests 1140s ok - glib/type.test 1140s # Running test: glib/memory-input-stream.test 1140s TAP version 14 1140s # random seed: R02S158850d32fb57b158daaef6da0c02379 1140s 1..6 1140s # Start of memory-input-stream tests 1140s ok 1 /memory-input-stream/read-chunks 1140s ok 2 /memory-input-stream/async 1140s ok 3 /memory-input-stream/seek 1140s ok 4 /memory-input-stream/truncate 1140s ok 5 /memory-input-stream/read-bytes 1140s ok 6 /memory-input-stream/from-bytes 1140s # End of memory-input-stream tests 1140s ok - glib/memory-input-stream.test 1140s # Running test: glib/gdbus-address-get-session.test 1140s TAP version 14 1140s # random seed: R02S58a57015b16555cd69a71107c24285f2 1140s 1..2 1140s # Start of gdbus tests 1140s ok 1 /gdbus/x11-autolaunch 1140s ok 2 /gdbus/xdg-runtime 1140s # End of gdbus tests 1140s ok - glib/gdbus-address-get-session.test 1140s # Running test: glib/resolver-parsing.test 1140s TAP version 14 1140s # random seed: R02S61477b03b08db7d7a1ac58f41f05f92a 1140s 1..21 1140s # Start of gresolver tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/invalid-header/.dirs/runtime 1140s ok 1 /gresolver/invalid-header 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/record-ownership/.dirs/runtime 1140s ok 2 /gresolver/record-ownership 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/unknown-record-type/.dirs/runtime 1140s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1140s ok 3 /gresolver/unknown-record-type 1140s # Start of mx tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/valid/.dirs/runtime 1140s ok 4 /gresolver/mx/valid 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/.dirs/runtime 1140s ok 5 /gresolver/mx/invalid 1140s # Start of invalid tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short/.dirs/runtime 1140s ok 6 /gresolver/mx/invalid/too-short 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/mx/invalid/too-short2/.dirs/runtime 1140s ok 7 /gresolver/mx/invalid/too-short2 1140s # End of invalid tests 1140s # End of mx tests 1140s # Start of ns tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/valid/.dirs/runtime 1140s ok 8 /gresolver/ns/valid 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/ns/invalid/.dirs/runtime 1140s ok 9 /gresolver/ns/invalid 1140s # End of ns tests 1140s # Start of soa tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/valid/.dirs/runtime 1140s ok 10 /gresolver/soa/valid 1140s # Start of invalid tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/mname/.dirs/runtime 1140s ok 11 /gresolver/soa/invalid/mname 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/rname/.dirs/runtime 1140s ok 12 /gresolver/soa/invalid/rname 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/soa/invalid/too-short/.dirs/runtime 1140s ok 13 /gresolver/soa/invalid/too-short 1140s # End of invalid tests 1140s # End of soa tests 1140s # Start of srv tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/valid/.dirs/runtime 1140s ok 14 /gresolver/srv/valid 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/.dirs/runtime 1140s ok 15 /gresolver/srv/invalid 1140s # Start of invalid tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short/.dirs/runtime 1140s ok 16 /gresolver/srv/invalid/too-short 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/srv/invalid/too-short2/.dirs/runtime 1140s ok 17 /gresolver/srv/invalid/too-short2 1140s # End of invalid tests 1140s # End of srv tests 1140s # Start of txt tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/.dirs/runtime 1140s ok 18 /gresolver/txt/valid 1140s # Start of valid tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1140s ok 19 /gresolver/txt/valid/multiple-strings 1140s # End of valid tests 1140s # Start of invalid tests 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/home 1140s ok - glib/resolver-parsing.test 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/empty/.dirs/runtime 1140s ok 20 /gresolver/txt/invalid/empty 1140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/home 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/cache 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/system-config2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/config 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/system-data2 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/data 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/state 1140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_BWK7Z2/gresolver/txt/invalid/overflow/.dirs/runtime 1140s ok 21 /gresolver/txt/invalid/overflow 1140s # End of invalid tests 1140s # End of txt tests 1140s # End of gresolver tests 1140s # Running test: glib/cxx-14.test 1140s TAP version 14 1140s # random seed: R02S4e47973584049434fb787684de9b22d0 1140s 1..2 1140s # Start of gtask tests 1140s # 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. 1140s ok 1 /gtask/name 1140s # Start of name tests 1140s # 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. 1140s ok 2 /gtask/name/macro-wrapper 1140s # End of name tests 1140s # End of gtask tests 1140s ok - glib/cxx-14.test 1140s # Running test: glib/live-g-file.test 1140s TAP version 14 1140s # random seed: R02Se44be5588427195dc480b7c308b27f60 1140s 1..13 1140s # Start of live-g-file tests 1140s # Cleaning target testing structure in 'testdir_live-g-file'... 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1140s ok 1 /live-g-file/prep_clean_structure 1140s # 1140s # Going to create testing structure in 'testdir_live-g-file'... 1140s # Creating directory 'dir1'... 1140s # Creating directory 'dir1/subdir'... 1140s # Creating directory 'dir2'... 1140s # Creating directory 'dir-target'... 1140s # Creating directory 'dir_no-access'... 1140s # Creating directory 'dir_no-write'... 1140s # Creating file 'target-file'... 1140s # Creating file 'normal_file'... 1140s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1140s # Creating file 'executable_file'... 1140s # Creating file 'private_file'... 1140s # Creating file 'normal_file2'... 1140s # Creating file 'readonly_file'... 1140s # Creating file 'UTF_pr?i?lis? z'... 1140s # Creating directory 'dir_pr?i?lis? z'... 1140s # Creating symlink 'lost_symlink' --> 'nowhere'... 1140s # Creating directory 'dir_hidden'... 1140s # Creating file 'dir_hidden/.a-hidden-file'... 1140s # Creating file 'dir_hidden/file-in-.hidden1'... 1140s # Creating file 'dir_hidden/file-in-.hidden2'... 1140s # Creating pattern file... 1140s # done. 1140s ok 2 /live-g-file/create_structure 1140s # Testing sample structure in 'testdir_live-g-file'... 1140s # Testing file 'dir1'... 1140s # Testing file 'dir1/subdir'... 1140s # Testing file 'dir2'... 1140s # Testing file 'dir-target'... 1140s # Testing file 'dir_no-access'... 1140s # Testing file 'dir_no-write'... 1140s # Testing file 'target-file'... 1140s # Testing file 'normal_file'... 1140s # Testing file 'normal_file-symlink'... 1140s # Testing file 'executable_file'... 1140s # Testing file 'private_file'... 1140s # Testing file 'normal_file2'... 1140s # Testing file 'readonly_file'... 1140s # Testing file 'UTF_pr?i?lis? z'... 1140s # Testing file 'dir_pr?i?lis? z'... 1140s # Testing file 'lost_symlink'... 1140s # Testing file 'dir_hidden'... 1140s # Testing file 'dir_hidden/.a-hidden-file'... 1140s # Testing file 'dir_hidden/file-in-.hidden1'... 1140s # Testing file 'dir_hidden/file-in-.hidden2'... 1140s # Testing pattern file... 1140s # read 65536 bytes, total = 65536 of 65536. 1140s ok 3 /live-g-file/test_initial_structure 1140s # Traversing through the sample structure in 'testdir_live-g-file'... 1140s # Found file dir1, relative to root: dir1 1140s # Found file subdir, relative to root: dir1/subdir 1140s # Found file dir2, relative to root: dir2 1140s # Found file dir-target, relative to root: dir-target 1140s # Found file dir_no-access, relative to root: dir_no-access 1140s # Found file dir_no-write, relative to root: dir_no-write 1140s # Found file target-file, relative to root: target-file 1140s # Found file normal_file, relative to root: normal_file 1140s # Found file normal_file-symlink, relative to root: normal_file-symlink 1140s # Found file executable_file, relative to root: executable_file 1140s # Found file private_file, relative to root: private_file 1140s # Found file normal_file2, relative to root: normal_file2 1140s # Found file readonly_file, relative to root: readonly_file 1140s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1140s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1140s # Found file lost_symlink, relative to root: lost_symlink 1140s # Found file dir_hidden, relative to root: dir_hidden 1140s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1140s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1140s # Found file .hidden, relative to root: dir_hidden/.hidden 1140s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1140s # Found file pattern_file, relative to root: pattern_file 1140s ok 4 /live-g-file/test_traverse_structure 1140s # Test enumerate 'testdir_live-g-file'... 1140s # Testing file 'dir_no-access' 1140s # Testing file 'normal_file' 1140s # Testing file 'normal_file-symlink' 1140s # Testing file 'not_exists' 1140s # Testing file 'not_exists' 1140s # Testing file 'not_exists2' 1140s # Testing file 'not_exists3' 1140s # Testing file 'not_exists4' 1140s # Testing file 'dir_no-execute/file' 1140s ok 5 /live-g-file/test_enumerate 1140s # test_open: 'dir1' 1140s # test_open: 'dir_no-access' 1140s # test_open: 'target-file' 1140s # test_open: 'normal_file-symlink' 1140s # test_open: 'executable_file' 1140s # test_open: 'private_file' 1140s # test_open: 'readonly_file' 1140s # test_open: 'UTF_pr?i?lis? z' 1140s # test_open: 'pattern_file' 1140s # test_open: 'not_exists' 1140s # test_open: 'dir_no-execute/file' 1140s # test_open: 'lost_symlink' 1140s ok 6 /live-g-file/test_open 1140s # test_create: 'dir1' 1140s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir1?: Is a directory 1140s # test_create: 'dir1/subdir' 1140s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir1/subdir?: Is a directory 1140s # test_create: 'dir2' 1140s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir2?: File exists 1140s # test_create: 'normal_file' 1140s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/normal_file?: File exists 1140s # test_create: 'executable_file' 1140s # test_create: 'private_file' 1140s # test_create: 'normal_file2' 1140s # test_create: 'UTF_pr?i?lis? z' 1140s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1140s # test_create: 'dir_pr?i?lis? z' 1140s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1140s # test_create: 'pattern_file' 1140s # test_create: 'not_exists2' 1140s # test_create: 'not_exists3' 1140s # test_create: 'not_exists4' 1140s ok 7 /live-g-file/test_create 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> '.' 1140s # res = 0, error code 2 = Target file exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'target-file' 1140s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir2' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'dir-target' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> '.' 1140s # res = 0, error code 2 = Target file exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'target-file' 1140s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/dir-target?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'not_exists' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'dir_no-access' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'dir-target' --> 'dir_no-write' 1140s # res = 0, error code 25 = Can?t recursively copy directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/target-file?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'target-file' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> '.' 1140s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/normal_file-symlink: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1140s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1140s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/executable_file?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/executable_file?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'executable_file' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/private_file?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/private_file?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'private_file' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/normal_file2?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> '.' 1140s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/pattern_file?: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'target-file' 1140s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'not_exists' 1140s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'dir-target' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> '.' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'target-file' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'not_exists' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'dir_no-access' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'dir_no-write' 1140s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists?: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'not_exists' --> 'dir-target' 1140s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'dir-target' 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> '.' 1140s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/lost_symlink: File exists 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'target-file' 1140s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'not_exists' 1140s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1140s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1140s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1140s ok 8 /live-g-file/test_copy_move 1140s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir1 1140s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir1: Directory not empty 1140s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir2 1140s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir2: No such file or directory 1140s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/executable_file 1140s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/readonly_file 1140s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_pr?i?lis? z 1140s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists 1140s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists: No such file or directory 1140s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists 1140s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/not_exists: No such file or directory 1140s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-execute/file 1140s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1140s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-3L76Z2/testdir_live-g-file/lost_symlink 1140s ok 9 /live-g-file/test_delete 1140s # We do not have CAP_DAC_OVERRIDE or equivalent 1140s ok 10 /live-g-file/test_make_directory_with_parents 1140s # Cleaning target testing structure in 'testdir_live-g-file'... 1140s # deleting 'dir1' 1140s # deleting 'subdir' 1140s # deleting 'dir-target' 1140s # deleting 'dir2' 1140s # deleting 'target-file' 1140s # deleting 'normal_file-symlink' 1140s # deleting 'pattern_file' 1140s # deleting 'executable_file' 1140s # deleting 'private_file' 1140s # deleting 'normal_file2' 1140s # deleting 'UTF_pr?i?lis? z' 1140s # deleting 'lost_symlink' 1140s # deleting 'dir_no-access' 1140s # deleting 'dir_no-write' 1140s # deleting 'target-file' 1140s # deleting 'normal_file' 1140s # deleting 'normal_file-symlink' 1140s # deleting 'executable_file~' 1140s # deleting 'private_file' 1140s # deleting 'normal_file2~' 1140s # deleting 'a' 1140s # deleting 'UTF_pr?i?lis? z' 1140s # deleting 'dir_hidden' 1140s # deleting '.a-hidden-file' 1140s # deleting 'file-in-.hidden1' 1140s # deleting '.hidden' 1140s # deleting 'file-in-.hidden2' 1140s # deleting 'pattern_file' 1140s # deleting 'normal_file2' 1140s # deleting 'not_exists2' 1140s # deleting 'not_exists3' 1140s # deleting 'not_exists4' 1140s ok 11 /live-g-file/final_clean 1140s # Start of test_unix_is_mountpoint tests 1140s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1140s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1140s # End of test_unix_is_mountpoint tests 1140s # End of live-g-file tests 1140s ok - glib/live-g-file.test 1140s # Running test: glib/cache.test 1140s TAP version 14 1140s # random seed: R02S3486c45f36f6d78a2ff887dcd53d5cda 1140s 1..1 1140s # Start of cache tests 1140s ok 1 /cache/basic 1140s # End of cache tests 1140s ok - glib/cache.test 1140s # Running test: glib/objects-refcount2.test 1140s TAP version 14 1140s # random seed: R02S33d8f17d523529d94915a8daea7b383d 1140s 1..1 1140s # Start of gobject tests 1140s # Start of refcount tests 1140s # init 0x25e66cae740 1140s # 1140s # . 1140s # . 1140s # . 1140s # . 1140s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1141s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1142s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # Executing: glib/objects-refcount2.test 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1143s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1144s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1145s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1146s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1147s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # Executing: glib/objects-refcount2.test 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1148s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1149s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1150s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1151s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1152s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # Executing: glib/objects-refcount2.test 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1153s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1154s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1156s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1157s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # Executing: glib/objects-refcount2.test 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1158s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1159s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1160s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1161s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1162s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # Executing: glib/objects-refcount2.test 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1163s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1164s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1165s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1166s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1167s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # Executing: glib/objects-refcount2.test 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1168s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1169s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1170s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1171s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1172s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # Executing: glib/objects-refcount2.test 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1173s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1174s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1175s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1176s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1177s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # Executing: glib/objects-refcount2.test 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1178s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # . 1179s # dispose 0x25e66cae740! 1179s # 1179s ok 1 /gobject/refcount/object-advanced 1179s # slow test /gobject/refcount/object-advanced executed in 38.43 secs 1179s # End of refcount tests 1179s # End of gobject tests 1179s ok - glib/objects-refcount2.test 1179s # Running test: glib/onceinit.test 1179s TAP version 14 1179s # random seed: R02S1e94c4a07e34b4fe4e4485729771b953 1179s 1..1 1179s # Start of thread tests 1179s ok 1 /thread/onceinit 1179s # End of thread tests 1179s ok - glib/onceinit.test 1179s # Running test: glib/giomodule.test 1179s TAP version 14 1179s # random seed: R02Sc35d4cf3a1782387063c19644d6d9817 1179s 1..3 1179s # Start of giomodule tests 1179s ok 1 /giomodule/extension-point 1179s ok 2 /giomodule/module-scan-all 1179s ok 3 /giomodule/module-scan-all-with-scope 1179s ok - glib/giomodule.test 1179s # End of giomodule tests 1179s # Running test: glib/queue.test 1179s TAP version 14 1179s # random seed: R02Sbeae2f215547450993a494015a27330d 1179s 1..12 1179s # Start of queue tests 1179s ok 1 /queue/basic 1179s ok 2 /queue/copy 1179s ok 3 /queue/off-by-one 1179s ok 4 /queue/find-custom 1179s ok 5 /queue/static 1179s ok 6 /queue/clear 1179s ok 7 /queue/free-full 1179s ok 8 /queue/clear-full 1179s ok 9 /queue/insert-sibling-link 1179s ok 10 /queue/push-nth-link 1179s # Start of clear-full tests 1179s ok 11 /queue/clear-full/noop 1179s # End of clear-full tests 1179s # Start of random tests 1179s ok 12 /queue/random/seed:975418383 1179s # End of random tests 1179s # End of queue tests 1179s ok - glib/queue.test 1179s # Running test: glib/mappedfile.test 1179s TAP version 14 1179s # random seed: R02S7f88b9f6b65af39370781c2085c7239e 1179s 1..7 1179s # Start of mappedfile tests 1179s ok 1 /mappedfile/basic 1179s ok 2 /mappedfile/empty 1179s ok 3 /mappedfile/device 1179s ok 4 /mappedfile/nonexisting 1179s ok 5 /mappedfile/writable 1179s ok - glib/mappedfile.test 1179s # Running test: glib/null-settings-backend.test 1179s ok - glib/null-settings-backend.test 1179s # Running test: glib/thread-deprecated.test 1179s ok 6 /mappedfile/writable_fd 1179s ok 7 /mappedfile/gbytes 1179s # End of mappedfile tests 1179s TAP version 14 1179s # random seed: R02Sb4ebe7acb43eb53fe7a3bb52ab378087 1179s 1..1 1179s # Start of null-settings-backend tests 1179s ok 1 /null-settings-backend/extension-point-registered 1179s # End of null-settings-backend tests 1179s TAP version 14 1179s # random seed: R02S50fa53eceaf144fe5f165a086e9cff7c 1179s 1..6 1179s # Start of thread tests 1179s ok 1 /thread/mutex 1180s ok 2 /thread/static-rec-mutex 1183s # Executing: glib/thread-deprecated.test 1184s ok 3 /thread/static-private 1184s # slow test /thread/static-private executed in 4.21 secs 1188s # Executing: glib/thread-deprecated.test 1189s ok 4 /thread/static-rw-lock 1189s # slow test /thread/static-rw-lock executed in 5.00 secs 1189s ok 5 /thread/once 1193s # Executing: glib/thread-deprecated.test 1198s # Executing: glib/thread-deprecated.test 1199s ok 6 /thread/rerun-all 1199s # slow test /thread/rerun-all executed in 10.02 secs 1199s # End of thread tests 1199s ok - glib/thread-deprecated.test 1199s # Running test: glib/portal-support-none.test 1199s TAP version 14 1199s # random seed: R02S87b49d5df45d7dfe4507ae9ecea66724 1199s 1..1 1199s # Start of portal-support tests 1199s ok 1 /portal-support/none 1199s # End of portal-support tests 1199s ok - glib/portal-support-none.test 1199s # Running test: glib/io-channel.test 1199s TAP version 14 1199s # random seed: R02Sc021779b45587c1637c06866df4bf09e 1199s 1..2 1199s # Start of io-channel tests 1199s # Line one 1199s # 1199s # Line two 1199s # 1199s # Line three 1199s # 1199s # /* Hello */ 1199s # 1199s # \x1234\x567890\x6666 1199s # 1199s # read 62 bytes, wrote 62 bytes 1199s ok 1 /io-channel/read-write 1199s # Start of read-line tests 1199s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1199s ok 2 /io-channel/read-line/embedded-nuls 1199s # End of read-line tests 1199s # End of io-channel tests 1199s ok - glib/io-channel.test 1199s # Running test: glib/option-argv0.test 1199s ok - glib/option-argv0.test 1199s # Running test: glib/inet-address.test 1199s ok - glib/inet-address.test 1199s # Running test: glib/memchunk.test 1199s ok - glib/memchunk.test 1199s # Running test: glib/mainloop.test 1199s TAP version 14 1199s # random seed: R02Saf91fe96ef92e468ddce8a517603a6ba 1199s 1..1 1199s # Start of option tests 1199s ok 1 /option/argv0 1199s # End of option tests 1199s TAP version 14 1199s # random seed: R02S8f60e4c9d1581b3a5649ee2125e0d21d 1199s 1..11 1199s # Start of inet-address tests 1199s ok 1 /inet-address/parse 1199s ok 2 /inet-address/any 1199s ok 3 /inet-address/loopback 1199s ok 4 /inet-address/bytes 1199s ok 5 /inet-address/property 1199s # End of inet-address tests 1199s # Start of socket-address tests 1199s ok 6 /socket-address/basic 1199s ok 7 /socket-address/to-string 1199s # End of socket-address tests 1199s # Start of address-mask tests 1199s ok 8 /address-mask/parse 1199s ok 9 /address-mask/property 1199s ok 10 /address-mask/equal 1199s ok 11 /address-mask/match 1199s # End of address-mask tests 1199s TAP version 14 1199s # random seed: R02S1a11b1fe408dfb33c05f368f7cc9b860 1199s 1..1 1199s # Start of memchunk tests 1199s ok 1 /memchunk/basic 1199s # End of memchunk tests 1199s TAP version 14 1199s # random seed: R02Se7c8522194d75c166cb7c3b11ef31c27 1199s 1..45 1199s # Start of maincontext tests 1199s ok 1 /maincontext/basic 1199s # Add same-priority sources: 27 1199s # Find each source: 7 1199s # Remove in random order: 35 1199s ok 2 /maincontext/nsources_same_priority 1199s # Add different-priority sources: 27 1199s # Find each source: 7 1199s # Remove in random order: 40 1199s ok 3 /maincontext/nsources_different_priority 1199s # Add sources from threads: 119 1199s # Remove sources from threads: 65 1199s ok 4 /maincontext/nsources_threadpool 1199s ok 5 /maincontext/source_finalization 1199s # /maincontext/idle-once summary: Test g_idle_add_once() works 1199s ok 6 /maincontext/idle-once 1199s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1199s ok 7 /maincontext/timeout-once 1199s # Start of source_finalization_from_source tests 1199s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 8 /maincontext/source_finalization_from_source/0 1199s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 9 /maincontext/source_finalization_from_source/1 1199s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 10 /maincontext/source_finalization_from_source/2 1199s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 11 /maincontext/source_finalization_from_source/3 1199s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 12 /maincontext/source_finalization_from_source/4 1199s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 13 /maincontext/source_finalization_from_source/5 1199s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 14 /maincontext/source_finalization_from_source/6 1199s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 15 /maincontext/source_finalization_from_source/7 1199s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 16 /maincontext/source_finalization_from_source/8 1199s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1199s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1199s ok 17 /maincontext/source_finalization_from_source/9 1199s # End of source_finalization_from_source tests 1199s # Start of source_finalization_from_dispatch tests 1199s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1199s ok 18 /maincontext/source_finalization_from_dispatch/0 1199s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1199s ok 19 /maincontext/source_finalization_from_dispatch/1 1199s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1199s ok 20 /maincontext/source_finalization_from_dispatch/2 1199s # End of source_finalization_from_dispatch tests 1199s # End of maincontext tests 1199s # Start of mainloop tests 1199s ok 21 /mainloop/basic 1199s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1199s ok 23 /mainloop/priorities 1200s ok 24 /mainloop/invoke 1200s # slow test /mainloop/invoke executed in 0.50 secs 1201s ok 25 /mainloop/child_sources 1201s # slow test /mainloop/child_sources executed in 1.19 secs 1203s # Executing: glib/mainloop.test 1204s ok 26 /mainloop/recursive_child_sources 1204s # slow test /mainloop/recursive_child_sources executed in 2.30 secs 1204s ok 27 /mainloop/recursive_loop_child_sources 1204s ok 28 /mainloop/swapping_child_sources 1204s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1204s ok 29 /mainloop/blocked_child_sources 1205s ok 30 /mainloop/source_time 1205s # slow test /mainloop/source_time executed in 1.00 secs 1205s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1205s ok 31 /mainloop/overflow 1205s ok 32 /mainloop/ready-time 1205s # slow test /mainloop/ready-time executed in 0.50 secs 1205s ok 33 /mainloop/wakeup 1205s ok 34 /mainloop/remove-invalid 1205s ok 35 /mainloop/unref-while-pending 1207s ok 36 /mainloop/unix-fd 1207s # slow test /mainloop/unix-fd executed in 1.50 secs 1207s ok 37 /mainloop/unix-fd-source 1207s ok 38 /mainloop/source-unix-fd-api 1207s ok 39 /mainloop/wait 1207s ok 40 /mainloop/unix-file-poll 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1207s ok 41 /mainloop/unix-fd-priority 1207s ok 42 /mainloop/nfds 1207s ok 43 /mainloop/steal-fd 1207s # Start of ownerless-polling tests 1207s ok 44 /mainloop/ownerless-polling/attach-first 1207s ok 45 /mainloop/ownerless-polling/pop-first 1207s # End of ownerless-polling tests 1207s # End of mainloop tests 1207s ok - glib/mainloop.test 1207s TAP version 14 1207s # random seed: R02S7aed9025bac301fe1e7d439fb49a430e 1207s # Running test: glib/application-command-line.test 1207s 1..1 1207s # Start of application-command-line tests 1207s ok 1 /application-command-line/basic-properties 1207s # End of application-command-line tests 1207s TAP version 14 1207s # random seed: R02Sbfc007870f1245f8e1da3f73201cc8f4 1207s 1..7 1207s # Start of strvbuilder tests 1207s ok 1 /strvbuilder/empty 1207s ok 2 /strvbuilder/add 1207s ok 3 /strvbuilder/addv 1207s ok 4 /strvbuilder/add_many 1207s ok 5 /strvbuilder/take 1207s ok 6 /strvbuilder/ref 1207s ok 7 /strvbuilder/unref_to_strv 1207s # End of strvbuilder tests 1207s TAP version 14 1207s # random seed: R02Sb90421988a82e49bcf5c5ed38dc30c97 1207s 1..8 1207s # Start of rcbox tests 1207s ok 1 /rcbox/new 1207s # global_point = 0x1bef65eb88d0 1207s ok 2 /rcbox/release-full 1207s # global_point_a = 0x1bef65eb88d0 1207s # global_point_b = 0x1bef65eb8890 1207s ok 3 /rcbox/dup 1207s ok 4 /rcbox/alignment 1207s # End of rcbox tests 1207s # Start of atomic-rcbox tests 1207s ok 5 /atomic-rcbox/new 1207s # global_point = 0x1bef65eb8aa0 1207s ok 6 /atomic-rcbox/release-full 1207s # global_point_a = 0x1bef65eb8aa0 1207s # global_point_b = 0x1bef65eb8a60 1207s ok 7 /atomic-rcbox/dup 1207s ok 8 /atomic-rcbox/alignment 1207s # End of atomic-rcbox tests 1207s TAP version 14 1207s # random seed: R02Sec7e9bab0f823b781950c4704d544d6a 1207s 1..19 1207s # Start of tls-certificate tests 1207s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1207s ok 1 /tls-certificate/pem-parser 1207s ok 2 /tls-certificate/pem-parser-handles-chain 1207s ok 3 /tls-certificate/from_file 1207s ok 4 /tls-certificate/from_files 1207s ok 5 /tls-certificate/from_files_crlf 1207s ok 6 /tls-certificate/from_files_pkcs8 1207s ok 7 /tls-certificate/from_files_pkcs8enc 1207s ok 8 /tls-certificate/list_from_file 1207s ok 9 /tls-certificate/pkcs11-uri 1207s ok 10 /tls-certificate/pkcs11-uri-unsupported 1207s ok 11 /tls-certificate/from_pkcs12 1207s ok 12 /tls-certificate/from_pkcs12_file 1207s ok 13 /tls-certificate/not-valid-before 1207s ok 14 /tls-certificate/not-valid-after 1207s ok 15 /tls-certificate/subject-name 1207s ok 16 /tls-certificate/issuer-name 1207s ok 17 /tls-certificate/dns-names 1207s ok 18 /tls-certificate/ip-addresses 1207s ok 19 /tls-certificate/pem-parser-no-sentinel 1207s # End of tls-certificate tests 1207s TAP version 14 1207s # random seed: R02Sd2ad330ce290b40cb14bb49f68c8f538 1207s 1..1 1207s # Start of srvtarget tests 1207s ok - glib/application-command-line.test 1207s # Running test: glib/strvbuilder.test 1207s ok - glib/strvbuilder.test 1207s # Running test: glib/rcbox.test 1207s ok - glib/rcbox.test 1207s # Running test: glib/tls-certificate.test 1207s ok - glib/tls-certificate.test 1207s # Running test: glib/srvtarget.test 1208s ok 1 /srvtarget/srv-target-ordering 1208s # slow test /srvtarget/srv-target-ordering executed in 0.84 secs 1208s # End of srvtarget tests 1208s ok - glib/srvtarget.test 1208s # Running test: glib/thread.test 1208s TAP version 14 1208s # random seed: R02Sbed8c9413efbcd8eb4152176e5068a67 1208s 1..7 1208s # Start of thread tests 1208s ok 1 /thread/thread1 1208s ok 2 /thread/thread2 1208s ok 3 /thread/thread3 1208s ok 4 /thread/thread4 1208s ok 5 /thread/thread5 1208s ok - glib/thread.test 1208s # Running test: glib/gsocketclient-slow.test 1208s ok 6 /thread/thread6 1208s ok 7 /thread/thread7 1208s # End of thread tests 1208s TAP version 14 1208s # random seed: R02S7cd88955054eff9f8eb4d064fcc8868e 1208s 1..4 1208s # Start of socket-client tests 1208s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1208s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1208s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a95e46ab280 and GSocketClientAsyncConnectData 0x1a95e46a3b90 1208s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1208s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1208s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a95e46ad160 for GSocketClientAsyncConnectData 0x1a95e46a3b90 1208s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1208s # Executing: glib/gsocketclient-slow.test 1208s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1208s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1208s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1208s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1208s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1208s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a95e46ae2c0 for GSocketClientAsyncConnectData 0x1a95e46a3b90 1208s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1209s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1209s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1209s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1209s ok 1 /socket-client/connection-fail 1209s # slow test /socket-client/connection-fail executed in 1.20 secs 1209s # Start of happy-eyeballs tests 1209s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a95e46b0c50 and GSocketClientAsyncConnectData 0x1a95e46aef00 1209s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1209s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1209s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a95e46b15d0 for GSocketClientAsyncConnectData 0x1a95e46aef00 1209s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1209s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1209s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1209s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1209s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1209s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1209s ok 2 /socket-client/happy-eyeballs/slow 1209s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1209s # Start of cancellation tests 1209s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a95e46b2240 and GSocketClientAsyncConnectData 0x1a95e46b1160 1209s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1209s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1209s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1209s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a95e46b0c90 and GSocketClientAsyncConnectData 0x1a95e46b24d0 1209s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1209s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1209s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a95e46b2ca0 for GSocketClientAsyncConnectData 0x1a95e46b24d0 1210s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1210s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1210s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1210s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1210s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1210s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1210s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1210s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1210s # End of cancellation tests 1210s # End of happy-eyeballs tests 1210s # End of socket-client tests 1210s ok - glib/gsocketclient-slow.test 1210s # Running test: glib/union-info.test 1210s TAP version 14 1210s # random seed: R02S0aa741da78f55a43c08bebfbb3beceb6 1210s 1..2 1210s # Start of union-info tests 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_THTM02/union-info/basic/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_THTM02/union-info/basic/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_THTM02/union-info/basic/.dirs/system-config1:/tmp/test_union-info_THTM02/union-info/basic/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_THTM02/union-info/basic/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_THTM02/union-info/basic/.dirs/system-data1:/tmp/test_union-info_THTM02/union-info/basic/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_THTM02/union-info/basic/.dirs/data 1210s ok - glib/union-info.test 1210s # Running test: glib/module-test-plugin.test 1210s ok - glib/module-test-plugin.test 1210s # Running test: glib/gdbus-serialization.test 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_THTM02/union-info/basic/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_THTM02/union-info/basic/.dirs/runtime 1210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1210s # /union-info/basic summary: Test basic properties of GIUnionInfo 1210s ok 1 /union-info/basic 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_THTM02/union-info/methods/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_THTM02/union-info/methods/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_THTM02/union-info/methods/.dirs/system-config1:/tmp/test_union-info_THTM02/union-info/methods/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_THTM02/union-info/methods/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_THTM02/union-info/methods/.dirs/system-data1:/tmp/test_union-info_THTM02/union-info/methods/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_THTM02/union-info/methods/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_THTM02/union-info/methods/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_THTM02/union-info/methods/.dirs/runtime 1210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1210s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1210s ok 2 /union-info/methods 1210s # End of union-info tests 1210s TAP version 14 1210s # random seed: R02Scbd74f7413b12ca9a7d67b5dc6643883 1210s 1..3 1210s # Start of module tests 1210s ok 1 /module/basics 1210s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1210s ok 2 /module/invalid-libtool-archive 1210s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1210s ok 3 /module/local-binding 1210s # End of module tests 1210s TAP version 14 1210s # random seed: R02Sbfd3e758e141d095794bb68f1ba49158 1210s 1..18 1210s # Start of gdbus tests 1210s # Start of message-serialize tests 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/basic/.dirs/runtime 1210s ok 1 /gdbus/message-serialize/basic 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/complex/.dirs/runtime 1210s ok 2 /gdbus/message-serialize/complex 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/invalid/.dirs/runtime 1210s ok 3 /gdbus/message-serialize/invalid 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/.dirs/runtime 1210s ok 4 /gdbus/message-serialize/header-checks 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/double-array/.dirs/runtime 1210s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1210s ok 5 /gdbus/message-serialize/double-array 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/empty-structure/.dirs/runtime 1210s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1210s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1210s ok 6 /gdbus/message-serialize/empty-structure 1210s # Start of header-checks tests 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1210s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1210s ok 7 /gdbus/message-serialize/header-checks/valid 1210s # End of header-checks tests 1210s # End of message-serialize tests 1210s # Start of message-parse tests 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1210s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1210s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/non-signature-header/.dirs/runtime 1210s ok 9 /gdbus/message-parse/non-signature-header 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-signature-header/.dirs/runtime 1210s ok 10 /gdbus/message-parse/empty-signature-header 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1210s ok 11 /gdbus/message-parse/multiple-signature-header 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1210s ok 12 /gdbus/message-parse/over-long-signature-header 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1210s ok 13 /gdbus/message-parse/deep-header-nesting 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1210s ok 14 /gdbus/message-parse/deep-body-nesting 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/truncated/.dirs/runtime 1210s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1210s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1210s ok 15 /gdbus/message-parse/truncated 1210s ok - glib/gdbus-serialization.test 1210s # Running test: glib/gdbus-method-invocation.test 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/empty-structure/.dirs/runtime 1210s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1210s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1210s ok 16 /gdbus/message-parse/empty-structure 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/missing-header/.dirs/runtime 1210s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1210s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1210s ok 17 /gdbus/message-parse/missing-header 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E9JM02/gdbus/message-parse/invalid-header-type/.dirs/runtime 1210s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1210s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1210s ok 18 /gdbus/message-parse/invalid-header-type 1210s # End of message-parse tests 1210s # End of gdbus tests 1210s TAP version 14 1210s # random seed: R02Sf1b29574cf75053536b0daacead24e9d 1210s 1..1 1210s # Start of gdbus tests 1210s # Start of method-invocation tests 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_QU57Z2/gdbus/method-invocation/return/.dirs/runtime 1210s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1210s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1210s # Calling org.freedesktop.DBus.Properties.Get 1210s # Calling org.freedesktop.DBus.Properties.Get 1210s # Calling org.freedesktop.DBus.Properties.Get 1210s # Calling org.freedesktop.DBus.Properties.Set 1210s # Calling org.freedesktop.DBus.Properties.GetAll 1210s # Calling org.example.Foo.WrongReturnType 1210s # Calling org.example.Foo.GetFDs 1210s # Calling org.example.Foo.GetFDs 1210s # Calling org.example.Foo.ReturnError 1210s # Calling org.example.Foo.CloseBeforeReturning 1210s ok 1 /gdbus/method-invocation/return 1210s # End of method-invocation tests 1210s # End of gdbus tests 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1210s TAP version 14 1210s # random seed: R02Sb3478b5afdbe53fa5e7276951db5351a 1210s 1..3 1210s # Start of io-stream tests 1210s ok 1 /io-stream/copy-chunks 1210s # Start of close tests 1210s # Start of async tests 1210s ok 2 /io-stream/close/async/memory 1210s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1210s ok 3 /io-stream/close/async/file 1210s # End of async tests 1210s # End of close tests 1210s # End of io-stream tests 1210s ok - glib/gdbus-method-invocation.test 1210s # Running test: glib/io-stream.test 1210s ok - glib/io-stream.test 1210s # Running test: glib/power-profile-monitor-portal.test 1211s TAP version 13 1211s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1211s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1211s 1..2 1211s TAP version 14 1211s # random seed: R02S1df46def49ea66e080271df00c746246 1211s 1..9 1211s # Start of gdbus tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/.dirs/runtime 1211s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-R1HG02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1211s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-R1HG02/dbus-B2u6K5CK 1211s ok - glib/power-profile-monitor-portal.test 1211s # Running test: glib/gdbus-server-auth.test 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14976 1211s ok 1 /gdbus/server-auth 1211s # Start of server-auth tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/abstract/.dirs/runtime 1211s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-FI0F02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1211s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-FI0F02/dbus-Ur9DdbY3 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1211s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1211s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14976 1211s ok 2 /gdbus/server-auth/abstract 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/tcp/.dirs/runtime 1211s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1211s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/.dirs/runtime 1211s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-5KJF02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1211s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-5KJF02/dbus-A6BYDBr0 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14976 1211s ok 4 /gdbus/server-auth/anonymous 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/.dirs/runtime 1211s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-I7HH02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1211s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-I7HH02/dbus-eee3oEMR 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14976 1211s ok 5 /gdbus/server-auth/external 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/.dirs/runtime 1211s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-XA4G02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1211s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1211s # Start of anonymous tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1211s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1211s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1211s # End of anonymous tests 1211s # Start of external tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1211s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-8F1G02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1211s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GUHG02/gdbus-server-auth-8F1G02/dbus-GlTKiX2w 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14976 1211s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1211s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1211s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1211s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1211s ok - glib/gdbus-server-auth.test 1211s # Running test: glib/unicode-normalize.test 1211s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14976 1211s ok 8 /gdbus/server-auth/external/require-same-user 1211s # End of external tests 1211s # Start of sha1 tests 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GUHG02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1211s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1211s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1211s # End of sha1 tests 1211s # End of server-auth tests 1211s # End of gdbus tests 1211s TAP version 14 1211s # random seed: R02S9090336a4cc15880ada7a1e03e1b306c 1211s 1..3 1211s # Start of unicode tests 1211s # Processing Part0 # Specific cases 1211s # Processing Part1 # Character by character test 1211s # Processing Part2 # Canonical Order Test 1211s # Processing Part3 # PRI #29 Test 1211s ok 1 /unicode/normalize 1211s # Invalid UTF-8 vector 0 1211s # Invalid UTF-8 vector 1 1211s # Invalid UTF-8 vector 2 1211s # Invalid UTF-8 vector 3 1211s # Invalid UTF-8 vector 4 1211s # Invalid UTF-8 vector 5 1211s # Invalid UTF-8 vector 6 1211s # Invalid UTF-8 vector 7 1211s # Invalid UTF-8 vector 8 1211s # Invalid UTF-8 vector 9 1211s # Invalid UTF-8 vector 10 1211s # Invalid UTF-8 vector 11 1211s # Invalid UTF-8 vector 12 1211s ok 2 /unicode/normalize-invalid 1211s # Start of normalize tests 1211s ok 3 /unicode/normalize/bad-length 1211s # End of normalize tests 1211s # End of unicode tests 1211s ok - glib/unicode-normalize.test 1211s # Running test: glib/base64.test 1211s TAP version 14 1211s # random seed: R02Saed3b69521781d6785326ec33faa634a 1211s 1..28 1211s # Start of base64 tests 1211s ok 1 /base64/encode 1211s ok 2 /base64/decode 1211s ok 3 /base64/decode-inplace 1211s ok 4 /base64/encode-decode 1211s # Start of full tests 1211s ok 5 /base64/full/1 1211s ok 6 /base64/full/2 1211s ok 7 /base64/full/3 1211s ok 8 /base64/full/4 1211s # End of full tests 1211s # Start of encode tests 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1211s ok 9 /base64/encode/empty 1211s # Start of incremental tests 1211s # Start of small-block tests 1211s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1211s ok 10 /base64/encode/incremental/small-block/1 1211s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1211s ok 11 /base64/encode/incremental/small-block/2 1211s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1211s ok 12 /base64/encode/incremental/small-block/3 1211s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1211s ok 13 /base64/encode/incremental/small-block/4 1211s # End of small-block tests 1211s # End of incremental tests 1211s # End of encode tests 1211s # Start of incremental tests 1211s # Start of nobreak tests 1211s ok 14 /base64/incremental/nobreak/1 1211s ok 15 /base64/incremental/nobreak/2 1211s ok 16 /base64/incremental/nobreak/3 1211s ok 17 /base64/incremental/nobreak/4-a 1211s ok 18 /base64/incremental/nobreak/4-b 1211s ok 19 /base64/incremental/nobreak/4-c 1211s # End of nobreak tests 1211s # Start of break tests 1211s ok - glib/base64.test 1211s # Running test: glib/list.test 1211s ok 20 /base64/incremental/break/1 1211s ok 21 /base64/incremental/break/2 1211s ok 22 /base64/incremental/break/3 1211s # End of break tests 1211s # Start of smallblock tests 1211s ok 23 /base64/incremental/smallblock/1 1211s ok 24 /base64/incremental/smallblock/2 1211s ok 25 /base64/incremental/smallblock/3 1211s ok 26 /base64/incremental/smallblock/4 1211s # End of smallblock tests 1211s # End of incremental tests 1211s # Start of decode tests 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1211s ok 27 /base64/decode/empty 1211s # End of decode tests 1211s # Start of encode-decode tests 1211s # Vector 0: 1211s # Vector 1: f 1211s # Vector 2: fo 1211s # Vector 3: foo 1211s # Vector 4: foob 1211s # Vector 5: fooba 1211s # Vector 6: foobar 1211s ok 28 /base64/encode-decode/rfc4648 1211s # End of encode-decode tests 1211s # End of base64 tests 1211s TAP version 14 1211s # random seed: R02S98ff59b12a395170be3df35956694e02 1211s 1..20 1211s # Start of list tests 1211s ok 1 /list/sort 1211s ok 2 /list/sort-with-data 1211s ok 3 /list/insert-before-link 1211s ok 4 /list/insert-sorted 1211s ok 5 /list/insert-sorted-with-data 1211s ok 6 /list/reverse 1211s ok 7 /list/nth 1211s ok 8 /list/concat 1211s ok 9 /list/remove 1211s ok 10 /list/remove-all 1211s ok 11 /list/first-last 1211s ok 12 /list/insert 1211s ok 13 /list/free-full 1211s ok 14 /list/copy 1211s ok 15 /list/copy-deep 1211s ok 16 /list/delete-link 1211s ok 17 /list/prepend 1211s ok 18 /list/position 1211s ok 19 /list/double-free 1211s # Start of sort tests 1211s ok 20 /list/sort/stable 1211s # End of sort tests 1211s # End of list tests 1211s ok - glib/list.test 1211s # Running test: glib/messages-low-memory.py.test 1211s TAP version 13 1211s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1211s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1211s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1211s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-TVSvEPSIZ5,guid=04c17b55afd6a770bed41d64678af870', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.p21SP2/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.lIYV09YmiO', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.mLYnV3/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.p21SP2/wrapper.sh --artifacts=/tmp/autopkgtest.p21SP2/installed-tests-artifacts --chdir=/tmp/autopkgtest.p21SP2/build.L5G/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.p21SP2/installed-tests-stderr --stdout=/tmp/autopkgtest.p21SP2/installed-tests-stdout --tmp=/tmp/autopkgtest.p21SP2/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests -- /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.p21SP2/build.L5G/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.p21SP2/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1211s # Return code: -6 1211s # Output: 1211s # Error: GLib-Message: 00:46:40.566: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1211s # GLib-Message: 00:46:40.566: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1211s # ../../../glib/gprintf.c:350: failed to allocate memory 1211s 1..1 1211s ok - glib/messages-low-memory.py.test 1211s # Running test: glib/utils-c-99.test 1211s TAP version 14 1211s # random seed: R02Sa39a5a2b39f9be3f09aa233b5476500f 1211s 1..40 1211s # Start of utils tests 1211s ok 1 /utils/language-names 1211s ok 2 /utils/locale-variants 1211s ok 3 /utils/version 1211s ok 4 /utils/appname 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1211s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1211s ok 5 /utils/prgname-thread-safety 1211s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1211s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1211s ok 6 /utils/tmpdir 1211s ok 7 /utils/basic_bits 1211s ok 8 /utils/bits 1211s ok 9 /utils/swap 1211s ok 10 /utils/find-program 1211s ok 11 /utils/find-program-for-path 1211s ok 12 /utils/debug 1211s ok 13 /utils/codeset 1211s ok 14 /utils/codeset2 1211s ok 15 /utils/console-charset 1211s ok 16 /utils/gettext 1211s ok 17 /utils/username 1211s ok 18 /utils/realname 1211s ok 19 /utils/hostname 1211s ok 20 /utils/xdgdirs 1211s ok 21 /utils/specialdir 1211s # NAME: Ubuntu 1211s ok 22 /utils/os-info 1211s ok 23 /utils/clear-pointer 1211s ok 24 /utils/clear-pointer-cast 1211s ok 25 /utils/take-pointer 1211s ok 26 /utils/clear-source 1211s ok 27 /utils/misc-mem 1211s # /utils/aligned-mem summary: Aligned memory allocator 1211s # Alignment must not be zero 1211s # Alignment must be a power of two 1211s # Alignment must be a multiple of sizeof(void*) 1211s ok - glib/utils-c-99.test 1211s ok 28 /utils/aligned-mem 1211s # /utils/free-sized summary: Check that g_free_sized() works 1211s ok 29 /utils/free-sized 1211s ok 30 /utils/nullify 1211s ok 31 /utils/atexit 1211s ok 32 /utils/check-setuid 1211s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1211s ok 33 /utils/int-limits 1211s ok 34 /utils/clear-list 1211s ok 35 /utils/clear-slist 1211s # Start of specialdir tests 1211s ok 36 /utils/specialdir/desktop 1211s # End of specialdir tests 1211s # Start of clear-pointer tests 1211s ok 37 /utils/clear-pointer/side-effects 1211s # End of clear-pointer tests 1211s # Start of aligned-mem tests 1211s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1211s ok 38 /utils/aligned-mem/alignment 1211s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1211s ok 39 /utils/aligned-mem/zeroed 1211s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1211s ok 40 /utils/aligned-mem/free-sized 1211s # Start of subprocess tests 1211s # End of subprocess tests 1211s # End of aligned-mem tests 1211s # End of utils tests 1211s # Running test: glib/properties-refcount4.test 1211s TAP version 14 1211s # random seed: R02Sc836344a8699ee3dcc07ea39eedb8706 1211s 1..1 1211s # Start of gobject tests 1211s # Start of refcount tests 1211s ok 1 /gobject/refcount/properties-4 1211s # End of refcount tests 1211s # End of gobject tests 1211s ok - glib/properties-refcount4.test 1211s # Running test: glib/cancellable.test 1211s TAP version 14 1211s # random seed: R02S5f7867e162044a9e11c8bc5cd89414d1 1211s 1..10 1211s # Start of cancellable tests 1211s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1211s ok 2 /cancellable/null 1211s # /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 1211s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1211s # /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 1211s ok 4 /cancellable/resets-on-cancel-callback-hangs 1211s ok 5 /cancellable/poll-fd 1211s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1211s ok 6 /cancellable/poll-fd-cancelled 1211s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1212s ok 7 /cancellable/poll-fd-cancelled-threaded 1212s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1212s ok 8 /cancellable/cancel-reset-races 1212s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1212s ok 9 /cancellable/cancel-reset-connect-races 1212s # End of cancellable tests 1212s # Start of cancellable-source tests 1212s # /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) 1212s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1213s ok 10 /cancellable-source/threaded-dispose 1213s # slow test /cancellable-source/threaded-dispose executed in 1.30 secs 1213s # End of cancellable-source tests 1213s ok - glib/cancellable.test 1213s # Running test: glib/autoptr-gio.test 1213s TAP version 14 1213s # random seed: R02S7043f2153116fc1fabf33b0a17fbdfda 1213s 1..1 1213s # Start of autoptr tests 1213s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1213s ok 1 /autoptr/autoptr 1213s # End of autoptr tests 1213s ok - glib/autoptr-gio.test 1213s # Running test: glib/g-file-info-filesystem-readonly.test 1213s TAP version 14 1213s # random seed: R02S4b256a655cb0ef6183cd5ddc2d2ddb0a 1213s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1213s 1..2 1213s # Start of g-file-info-filesystem-readonly tests 1213s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1213s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1213s # End of g-file-info-filesystem-readonly tests 1213s ok - glib/g-file-info-filesystem-readonly.test 1213s # Running test: glib/gdbus-proxy-unique-name.test 1213s # Executing: glib/gdbus-proxy-unique-name.test 1213s ok - glib/gdbus-proxy-unique-name.test 1213s # Running test: glib/stream-rw_all.test 1213s TAP version 14 1213s # random seed: R02S1393bf183c3a707555a8e2098d471cb2 1213s 1..1 1213s # Start of gdbus tests 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_HE0N02/gdbus/proxy-unique-name/.dirs/runtime 1213s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s ok 1 /gdbus/proxy-unique-name 1213s # End of gdbus tests 1213s TAP version 14 1213s # random seed: R02S6400c857601085d6705a568b9e335f76 1213s 1..3 1213s # Start of stream tests 1213s # Start of read_all_async tests 1213s ok 1 /stream/read_all_async/memory 1213s # End of read_all_async tests 1213s # Start of write_all_async tests 1213s ok 2 /stream/write_all_async/memory 1213s # End of write_all_async tests 1213s # Start of read_write_all_async tests 1213s ok 3 /stream/read_write_all_async/pipe 1213s # End of read_write_all_async tests 1213s # End of stream tests 1213s ok - glib/stream-rw_all.test 1213s # Running test: glib/thumbnail-verification.test 1213s TAP version 14 1213s # random seed: R02S936d717bd1488afaae4fcafb0d91f91b 1213s 1..1 1213s # Start of png-thumbs tests 1213s ok 1 /png-thumbs/validity 1213s # End of png-thumbs tests 1213s ok - glib/thumbnail-verification.test 1213s # Running test: glib/bindinggroup.test 1213s TAP version 14 1213s # random seed: R02S17cad55b5ac531013e6cb739aaa1ac05 1213s 1..11 1213s # Start of GObject tests 1213s # Start of BindingGroup tests 1213s ok 1 /GObject/BindingGroup/invalid 1213s ok 2 /GObject/BindingGroup/default 1213s ok 3 /GObject/BindingGroup/bidirectional 1213s ok 4 /GObject/BindingGroup/transform 1213s ok 5 /GObject/BindingGroup/transform-closures 1213s ok 6 /GObject/BindingGroup/same-object 1213s ok 7 /GObject/BindingGroup/weak-ref-source 1213s ok - glib/bindinggroup.test 1213s # Running test: glib/signal-handler.test 1213s ok - glib/signal-handler.test 1213s # Running test: glib/gdbus-message.test 1213s ok - glib/gdbus-message.test 1213s # Running test: glib/sleepy-stream.test 1213s ok 8 /GObject/BindingGroup/weak-ref-target 1213s ok 9 /GObject/BindingGroup/properties 1213s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1213s ok 11 /GObject/BindingGroup/empty-closures 1213s # End of BindingGroup tests 1213s # End of GObject tests 1213s TAP version 14 1213s # random seed: R02S4dd30cad2c7eefc518147f6c9e5cb43f 1213s 1..7 1213s # Start of signal tests 1213s # Start of handler tests 1213s # min perf: connected 1 handlers in 0.000 seconds 1213s ok 1 /signal/handler/connect-many 1213s # min perf: disconnected 1 handlers in 0.000 seconds 1213s ok 2 /signal/handler/disconnect-many-ordered 1213s # min perf: disconnected 1 handlers in 0.000 seconds 1213s ok 3 /signal/handler/disconnect-many-inverse 1213s # min perf: disconnected 1 handlers in 0.000 seconds 1213s ok 4 /signal/handler/disconnect-many-random 1213s # min perf: disconnected 1 handlers in 0.000 seconds 1213s ok 5 /signal/handler/disconnect-2-signals 1213s # min perf: disconnected 1 handlers in 0.000 seconds 1213s ok 6 /signal/handler/disconnect-2-objects 1213s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1213s ok 7 /signal/handler/block-many 1213s # End of handler tests 1213s # End of signal tests 1213s TAP version 14 1213s # random seed: R02S2d57db36552af81389da48a75b034edb 1213s 1..3 1213s # Start of gdbus tests 1213s # Start of message tests 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_OTRL02/gdbus/message/lock/.dirs/runtime 1213s ok 1 /gdbus/message/lock 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_OTRL02/gdbus/message/copy/.dirs/runtime 1213s ok 2 /gdbus/message/copy 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_OTRL02/gdbus/message/bytes-needed/.dirs/runtime 1213s # Vector: 0 1213s # Vector: 1 1213s # Vector: 2 1213s # Vector: 3 1213s # Vector: 4 1213s # Vector: 5 1213s ok 3 /gdbus/message/bytes-needed 1213s # End of message tests 1213s # End of gdbus tests 1213s TAP version 14 1213s # random seed: R02Sb801997ea7baf31238579ca3248b1cbf 1213s 1..2 1213s # Start of filter-stream tests 1213s ok - glib/sleepy-stream.test 1213s # Running test: glib/boxed.test 1213s ok - glib/boxed.test 1213s # Running test: glib/defaultvalue.test 1213s ok 1 /filter-stream/input 1213s ok 2 /filter-stream/async 1213s # End of filter-stream tests 1213s TAP version 14 1213s # random seed: R02Sd92fc8184657e202a23c2993c469b303 1213s 1..27 1213s # Start of boxed tests 1213s ok 1 /boxed/define 1213s ok 2 /boxed/ownership 1213s ok 3 /boxed/closure 1213s ok 4 /boxed/date 1213s ok 5 /boxed/value 1213s ok 6 /boxed/string 1213s ok 7 /boxed/hashtable 1213s ok 8 /boxed/array 1213s ok 9 /boxed/ptrarray 1213s ok 10 /boxed/regex 1213s ok 11 /boxed/varianttype 1213s ok 12 /boxed/error 1213s ok 13 /boxed/datetime 1213s ok 14 /boxed/matchinfo 1213s ok 15 /boxed/keyfile 1213s ok 16 /boxed/mainloop 1213s ok 17 /boxed/maincontext 1213s ok 18 /boxed/source 1213s ok 19 /boxed/variantbuilder 1213s ok 20 /boxed/timezone 1213s ok 21 /boxed/pollfd 1213s ok 22 /boxed/markup 1213s ok 23 /boxed/thread 1213s ok 24 /boxed/checksum 1213s ok 25 /boxed/tree 1213s ok 26 /boxed/patternspec 1213s ok 27 /boxed/rand 1213s # End of boxed tests 1213s TAP version 14 1213s # random seed: R02S9c0e73eba1b6948af729481092ca7d13 1213s 1..84 1213s # Start of Default Values tests 1213s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1213s ok 2 /Default Values/GAppLaunchContext 1213s ok 3 /Default Values/GApplicationCommandLine 1213s # skipping GApplication:is-remote 1213s ok 4 /Default Values/GApplication 1213s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1213s ok 6 /Default Values/GBindingGroup 1213s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1213s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1213s ok 9 /Default Values/GBytesIcon 1213s ok 10 /Default Values/GCancellable 1213s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1213s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1213s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1213s ok 14 /Default Values/GCredentials 1213s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1213s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1213s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1213s ok 18 /Default Values/GDBusAuthObserver 1213s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1213s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1213s ok 21 /Default Values/GDBusMessage 1213s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1213s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1213s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1213s ok 25 /Default Values/GDBusObjectProxy 1213s ok 26 /Default Values/GDBusObjectSkeleton 1213s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1213s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1213s ok 29 /Default Values/GEmblem 1213s ok 30 /Default Values/GEmblemedIcon 1213s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1213s ok 32 /Default Values/GFileInfo 1213s ok 33 /Default Values/GFileInputStream 1213s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1213s ok 35 /Default Values/GFileOutputStream 1213s ok 36 /Default Values/GFilenameCompleter 1213s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1213s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1213s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1213s ok 40 /Default Values/GInitiallyUnowned 1213s ok 41 /Default Values/GIOModule 1213s ok - glib/defaultvalue.test 1213s # Running test: glib/gdbus-test-codegen.test 1213s ok 42 /Default Values/GListStore 1213s ok 43 /Default Values/GMemoryInputStream 1213s ok 44 /Default Values/GMemoryOutputStream 1213s ok 45 /Default Values/GMenu 1213s ok 46 /Default Values/GMenuItem 1213s ok 47 /Default Values/GMountOperation 1213s ok 48 /Default Values/GNativeSocketAddress 1213s ok 49 /Default Values/GNetworkAddress 1213s ok 50 /Default Values/GNetworkService 1213s ok 51 /Default Values/GNotification 1213s ok 52 /Default Values/GObject 1213s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1213s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1213s # skipping GProxyAddressEnumerator:proxy-resolver 1213s ok 54 /Default Values/GProxyAddressEnumerator 1213s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1213s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1213s ok 57 /Default Values/GSignalGroup 1213s ok 58 /Default Values/GSimpleAction 1213s ok 59 /Default Values/GSimpleActionGroup 1213s ok 60 /Default Values/GSimpleAsyncResult 1213s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1213s ok 62 /Default Values/GSimplePermission 1213s ok 63 /Default Values/GSimpleProxyResolver 1213s # skipping GSocketClient:proxy-resolver 1213s ok 64 /Default Values/GSocketClient 1213s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1213s ok 66 /Default Values/GSocket # SKIP initialization failed 1213s ok 67 /Default Values/GSocketListener 1213s ok 68 /Default Values/GSocketService 1213s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1213s ok 70 /Default Values/GSubprocessLauncher 1213s # GLib-GIO-DEBUG: GTask 0xfd1af76020 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1213s ok 71 /Default Values/GTask 1213s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1213s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1213s ok 74 /Default Values/GTestDBus 1213s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1213s ok 76 /Default Values/GThreadedSocketService 1213s ok 77 /Default Values/GTlsInteraction 1213s ok 78 /Default Values/GTlsPassword 1213s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1213s ok 80 /Default Values/GUnixFDList 1213s ok 81 /Default Values/GVfs 1213s ok 82 /Default Values/GVolumeMonitor 1213s ok 83 /Default Values/GZlibCompressor 1213s ok 84 /Default Values/GZlibDecompressor 1213s # End of Default Values tests 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s TAP version 14 1213s # random seed: R02Sd43095f75447c8d7d9fcedec2f09be20 1213s 1..8 1213s # Start of gdbus tests 1213s # Start of codegen tests 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/annotations/.dirs/runtime 1213s ok 1 /gdbus/codegen/annotations 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/interface_stability/.dirs/runtime 1213s ok 2 /gdbus/codegen/interface_stability 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/object-manager/.dirs/runtime 1213s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1213s ok 3 /gdbus/codegen/object-manager 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/property-naming/.dirs/runtime 1213s ok 4 /gdbus/codegen/property-naming 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/autocleanups/.dirs/runtime 1213s ok 5 /gdbus/codegen/autocleanups 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/deprecations/.dirs/runtime 1213s ok 6 /gdbus/codegen/deprecations 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1213s ok 7 /gdbus/codegen/standalone-interface-info 1213s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/home 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/cache 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/config 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/data 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/state 1213s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HOVN02/gdbus/codegen/unix-fd-list/.dirs/runtime 1213s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1213s ok 8 /gdbus/codegen/unix-fd-list 1213s # End of codegen tests 1213s # End of gdbus tests 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1213s ok - glib/gdbus-test-codegen.test 1213s # Running test: glib/shell.test 1213s TAP version 14 1213s # random seed: R02Se05cec564fe3a66078ff911513de5e2c 1213s 1..51 1213s # Start of shell tests 1213s # Start of cmdline tests 1213s test cmdline: foo bar 1213s ok 1 /shell/cmdline/0 1213s test cmdline: foo 'bar' 1213s ok 2 /shell/cmdline/1 1213s test cmdline: foo "bar" 1213s ok 3 /shell/cmdline/2 1213s test cmdline: foo '' 'bar' 1213s ok 4 /shell/cmdline/3 1213s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1213s ok 5 /shell/cmdline/4 1213s test cmdline: foo blah foo bar baz 1213s ok 6 /shell/cmdline/5 1213s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1213s ok 7 /shell/cmdline/6 1213s test cmdline: foo \ 1213s bar 1213s ok 8 /shell/cmdline/7 1213s test cmdline: foo '' '' 1213s ok 9 /shell/cmdline/8 1213s test cmdline: foo \" la la la 1213s ok 10 /shell/cmdline/9 1213s test cmdline: foo \ foo woo woo\ 1213s ok - glib/shell.test 1213s # Running test: glib/rwlock.test 1213s ok 11 /shell/cmdline/10 1213s test cmdline: foo "yada yada \$\"" 1213s ok 12 /shell/cmdline/11 1213s test cmdline: foo "c:\\" 1213s ok 13 /shell/cmdline/12 1213s test cmdline: foo # bla bla bla 1213s bar 1213s ok 14 /shell/cmdline/13 1213s test cmdline: foo a#b 1213s ok 15 /shell/cmdline/14 1213s test cmdline: #foo 1213s ok 16 /shell/cmdline/15 1213s test cmdline: foo bar \ 1213s ok 17 /shell/cmdline/16 1213s test cmdline: foo 'bar baz 1213s ok 18 /shell/cmdline/17 1213s test cmdline: foo '"bar" baz 1213s ok 19 /shell/cmdline/18 1213s test cmdline: 1213s ok 20 /shell/cmdline/19 1213s test cmdline: 1213s ok 21 /shell/cmdline/20 1213s test cmdline: # foo bar 1213s ok 22 /shell/cmdline/21 1213s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1213s ok 23 /shell/cmdline/22 1213s # End of cmdline tests 1213s # Start of quote tests 1213s ok 24 /shell/quote/0 1213s ok 25 /shell/quote/1 1213s ok 26 /shell/quote/2 1213s ok 27 /shell/quote/3 1213s ok 28 /shell/quote/4 1213s ok 29 /shell/quote/5 1213s ok 30 /shell/quote/6 1213s # End of quote tests 1213s # Start of unquote tests 1213s ok 31 /shell/unquote/0 1213s ok 32 /shell/unquote/1 1213s ok 33 /shell/unquote/2 1213s ok 34 /shell/unquote/3 1213s ok 35 /shell/unquote/4 1213s ok 36 /shell/unquote/5 1213s ok 37 /shell/unquote/6 1213s ok 38 /shell/unquote/7 1213s ok 39 /shell/unquote/8 1213s ok 40 /shell/unquote/9 1213s ok 41 /shell/unquote/10 1213s ok 42 /shell/unquote/11 1213s ok 43 /shell/unquote/12 1213s ok 44 /shell/unquote/13 1213s ok 45 /shell/unquote/14 1213s ok 46 /shell/unquote/15 1213s ok 47 /shell/unquote/16 1213s ok 48 /shell/unquote/17 1213s ok 49 /shell/unquote/18 1213s ok 50 /shell/unquote/19 1213s ok 51 /shell/unquote/20 1213s # End of unquote tests 1213s # End of shell tests 1213s TAP version 14 1213s # random seed: R02Sf4be8fdbcfcecc38516c10de71240c57 1213s 1..8 1213s # Start of thread tests 1213s ok 1 /thread/rwlock1 1213s ok 2 /thread/rwlock2 1213s ok 3 /thread/rwlock3 1213s ok 4 /thread/rwlock4 1213s ok 5 /thread/rwlock5 1213s ok 6 /thread/rwlock6 1218s # Executing: glib/rwlock.test 1219s ok 7 /thread/rwlock7 1219s # slow test /thread/rwlock7 executed in 5.59 secs 1219s ok 8 /thread/rwlock8 1219s # End of thread tests 1219s ok - glib/rwlock.test 1219s # Running test: glib/unix-streams.test 1219s TAP version 14 1219s # random seed: R02S34d428b14519c69bd4cf7652d6a38d3f 1219s 1..9 1219s # Start of unix-streams tests 1219s ok 1 /unix-streams/basic 1219s ok 2 /unix-streams/pipe-io-test 1219s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1220s ok 3 /unix-streams/nonblocking-io-test 1220s # slow test /unix-streams/nonblocking-io-test executed in 0.51 secs 1220s ok 4 /unix-streams/read_write 1220s ok 5 /unix-streams/read_writev 1220s ok 6 /unix-streams/write-wouldblock 1220s ok 7 /unix-streams/writev-wouldblock 1220s ok 8 /unix-streams/write-async-wouldblock 1220s ok 9 /unix-streams/writev-async-wouldblock 1220s # End of unix-streams tests 1220s ok - glib/unix-streams.test 1220s # Running test: glib/module-test-library.test 1220s TAP version 14 1220s # random seed: R02S9ae47c0938558ba95565ee554fb14b6a 1220s 1..3 1220s # Start of module tests 1220s ok 1 /module/basics 1220s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1220s ok 2 /module/invalid-libtool-archive 1220s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1220s ok 3 /module/local-binding 1220s # End of module tests 1220s ok - glib/module-test-library.test 1220s # Running test: glib/performance-threaded.test 1220s Running test "liststore-is-a" 1221s 2063 runs, min/avg/max = 0.446/0.484/12.193 ms 1221s Running test "liststore-interface-peek" 1222s 2633 runs, min/avg/max = 0.358/0.380/3.194 ms 1222s Running test "liststore-interface-peek-same" 1223s # Executing: glib/performance-threaded.test 1223s 2641 runs, min/avg/max = 0.358/0.378/4.832 ms 1223s ok - glib/performance-threaded.test 1223s # Running test: glib/asyncqueue.test 1223s TAP version 14 1223s # random seed: R02S473f6891a781de555eb84767b7a9edd9 1223s 1..7 1223s # Start of asyncqueue tests 1223s ok 1 /asyncqueue/basics 1223s ok 2 /asyncqueue/sort 1223s ok 3 /asyncqueue/destroy 1223s ok 4 /asyncqueue/threads 1223s ok - glib/asyncqueue.test 1223s # Running test: glib/collate.test 1223s ok 5 /asyncqueue/timed 1223s ok 6 /asyncqueue/remove 1223s ok 7 /asyncqueue/push_front 1223s # End of asyncqueue tests 1223s TAP version 14 1223s # random seed: R02S983f143bebd545cf6c3563e846774929 1223s 1..9 1223s # Start of unicode tests 1223s # Start of collate tests 1223s ok 1 /unicode/collate/0 1223s ok 2 /unicode/collate/1 1223s ok 3 /unicode/collate/2 1223s # End of collate tests 1223s # Start of collate-key tests 1223s ok 4 /unicode/collate-key/0 1223s ok 5 /unicode/collate-key/1 1223s ok 6 /unicode/collate-key/2 1223s # End of collate-key tests 1223s # Start of collate-filename tests 1223s ok 7 /unicode/collate-filename/0 1223s ok 8 /unicode/collate-filename/1 1223s ok 9 /unicode/collate-filename/2 1223s # End of collate-filename tests 1223s # End of unicode tests 1223s ok - glib/collate.test 1223s # Running test: glib/portal-support-snap.test 1223s TAP version 14 1223s # random seed: R02S3f6e927024c64e430605f628082de4e0 1223s 1..7 1223s # Start of portal-support tests 1223s # Start of snap tests 1223s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/home 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/cache 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/system-config2 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/config 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/system-data2 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/data 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/state 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl/.dirs/runtime 1223s # Created snap.yaml in /tmp/test_portal-support-snap_NQIE02/meta/snap.yaml 1223s Unable to clean up temporary directory /tmp/test_portal-support-snap_NQIE02/portal-support/snap/no-snapctl: No such file or directory 1223s ok 1 /portal-support/snap/no-snapctl 1223s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/home 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/cache 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/system-config2 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/config 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/system-data2 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/data 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/state 1223s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/runtime 1223s # Created snap.yaml in /tmp/test_portal-support-snap_NQIE02/meta/snap.yaml 1223s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none/.dirs/runtime/snapctl 1224s Unable to clean up temporary directory /tmp/test_portal-support-snap_NQIE02/portal-support/snap/none: No such file or directory 1224s ok 2 /portal-support/snap/none 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/runtime 1224s # Created snap.yaml in /tmp/test_portal-support-snap_NQIE02/meta/snap.yaml 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all/.dirs/runtime/snapctl 1224s Unable to clean up temporary directory /tmp/test_portal-support-snap_NQIE02/portal-support/snap/all: No such file or directory 1224s ok 3 /portal-support/snap/all 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/runtime 1224s # Created snap.yaml in /tmp/test_portal-support-snap_NQIE02/meta/snap.yaml 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1224s Unable to clean up temporary directory /tmp/test_portal-support-snap_NQIE02/portal-support/snap/desktop-only: No such file or directory 1224s ok 4 /portal-support/snap/desktop-only 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/runtime 1224s # Created snap.yaml in /tmp/test_portal-support-snap_NQIE02/meta/snap.yaml 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only/.dirs/runtime/snapctl 1224s Unable to clean up temporary directory /tmp/test_portal-support-snap_NQIE02/portal-support/snap/network-only: No such file or directory 1224s ok 5 /portal-support/snap/network-only 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/runtime 1224s # Created snap.yaml in /tmp/test_portal-support-snap_NQIE02/meta/snap.yaml 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1224s Unable to clean up temporary directory /tmp/test_portal-support-snap_NQIE02/portal-support/snap/gsettings-only: No such file or directory 1224s ok 6 /portal-support/snap/gsettings-only 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/runtime 1224s # Created snap.yaml in /tmp/test_portal-support-snap_NQIE02/meta/snap.yaml 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1224s ok - glib/portal-support-snap.test 1224s # Running test: glib/data-output-stream.test 1224s # Created snapctl in /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1224s Unable to clean up temporary directory /tmp/test_portal-support-snap_NQIE02/portal-support/snap/updates-dynamically: No such file or directory 1224s ok 7 /portal-support/snap/updates-dynamically 1224s # End of snap tests 1224s # End of portal-support tests 1224s Unable to clean up temporary directory /tmp/test_portal-support-snap_NQIE02: No such file or directory 1224s TAP version 14 1224s # random seed: R02S4e60e28c5d5637df49da24190091e344 1224s 1..7 1224s # Start of data-output-stream tests 1224s ok 1 /data-output-stream/basic 1224s ok 2 /data-output-stream/write-lines-LF 1224s ok 3 /data-output-stream/write-lines-CR 1224s ok 4 /data-output-stream/write-lines-CR-LF 1224s ok 5 /data-output-stream/write-int 1224s ok 6 /data-output-stream/seek 1224s ok 7 /data-output-stream/truncate 1224s # End of data-output-stream tests 1224s ok - glib/data-output-stream.test 1224s # Running test: glib/readwrite.test 1224s TAP version 14 1224s # random seed: R02S60d59125b25ea6caf3acd97bd087bf92 1224s 1..3 1224s # Start of readwrite tests 1224s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1224s ok 1 /readwrite/test_g_file_open_readwrite 1224s ok 2 /readwrite/test_g_file_create_readwrite 1224s ok - glib/readwrite.test 1224s ok 3 /readwrite/test_g_file_replace_readwrite 1224s # End of readwrite tests 1224s # Running test: glib/autoptr-girepository.test 1224s TAP version 14 1224s # random seed: R02S55f85a025ff5abd5ab87d0f6938d6c29 1224s 1..24 1224s # Start of autoptr tests 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/repository/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 1 /autoptr/repository 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/typelib/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 2 /autoptr/typelib 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/base-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 3 /autoptr/base-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/arg-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 4 /autoptr/arg-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/callable-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 5 /autoptr/callable-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/callback-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 6 /autoptr/callback-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/constant-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 7 /autoptr/constant-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/enum-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 8 /autoptr/enum-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/field-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 9 /autoptr/field-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/flags-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 10 /autoptr/flags-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/function-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 11 /autoptr/function-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/interface-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 12 /autoptr/interface-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/object-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 13 /autoptr/object-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/property-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 14 /autoptr/property-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/registered-type-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 15 /autoptr/registered-type-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/signal-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 16 /autoptr/signal-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/struct-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 17 /autoptr/struct-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/type-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 18 /autoptr/type-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/union-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 19 /autoptr/union-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/value-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 20 /autoptr/value-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/autoptr/vfunc-info/.dirs/runtime 1224s ok - glib/autoptr-girepository.test 1224s # Running test: glib/relation.test 1224s ok - glib/relation.test 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 21 /autoptr/vfunc-info 1224s # End of autoptr tests 1224s # Start of auto tests 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/auto/arg-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 22 /auto/arg-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/auto/type-info/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 23 /auto/type-info 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_3QRK02/auto/function-invoker/.dirs/runtime 1224s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1224s ok 24 /auto/function-invoker 1224s # End of auto tests 1224s TAP version 14 1224s # random seed: R02S636838c9ea281b3d5262f1e204da47dd 1224s 1..1 1224s # Start of glib tests 1224s ok 1 /glib/relation 1224s # End of glib tests 1224s TAP version 14 1224s # random seed: R02Sd71aaab8fe5f48f282a61d44ddceb041 1224s # Running test: glib/gapplication.test 1224s 1..24 1224s # Start of gapplication tests 1224s ok 1 /gapplication/no-dbus 1224s ok 2 /gapplication/no-appid 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 3 /gapplication/properties 1224s ok 4 /gapplication/app-id 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 5 /gapplication/quit 1224s ok 6 /gapplication/registered 1224s ok 7 /gapplication/local-actions 1224s ok 8 /gapplication/local-command-line 1224s ok 9 /gapplication/resource-path 1224s ok 10 /gapplication/test-help 1224s ok 11 /gapplication/command-line-done 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 12 /gapplication/test-busy 1224s ok 13 /gapplication/test-handle-local-options1 1224s ok 14 /gapplication/test-handle-local-options2 1224s ok 15 /gapplication/test-handle-local-options3 1224s ok 16 /gapplication/api 1224s ok 17 /gapplication/version 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # launching subprocess 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 18 /gapplication/replace 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # launching subprocess 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 19 /gapplication/no-replace 1224s # slow test /gapplication/no-replace executed in 0.51 secs 1224s # Start of dbus tests 1224s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # Message 0 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 1 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 2 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 20 /gapplication/dbus/activate 1224s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # Message 0 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1224s # Message 1 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 2 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 3 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 21 /gapplication/dbus/open 1224s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # Message 0 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 1 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 2 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 22 /gapplication/dbus/command-line 1224s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 23 /gapplication/dbus/command-line-done 1224s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # Message 0 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 1 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 2 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 3 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 4 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 5 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 6 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 7 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 8 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 9 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 10 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # Message 11 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 24 /gapplication/dbus/activate-action 1224s # End of dbus tests 1224s # End of gapplication tests 1224s TAP version 14 1224s # random seed: R02Sdcd49d47833109976595c966af722198 1224s 1..4 1224s # Start of C tests 1224s ok 1 /C/standard-99 1224s # End of C tests 1224s # Start of alignof tests 1224s ok 2 /alignof/fallback 1224s # End of alignof tests 1224s # Start of assert tests 1224s ok 3 /assert/static 1224s # End of assert tests 1224s # Start of struct tests 1224s ok 4 /struct/sizeof_member 1224s # End of struct tests 1224s ok - glib/gapplication.test 1224s # Running test: glib/macros-c-99.test 1224s ok - glib/macros-c-99.test 1224s # Running test: glib/glistmodel.test 1224s TAP version 14 1224s # random seed: R02S2e3f3ce18b6c4081edb9431393892e18 1224s 1..18 1224s # Start of glistmodel tests 1224s # Start of store tests 1224s ok 1 /glistmodel/store/properties 1224s ok 2 /glistmodel/store/non-gobjects 1224s ok 3 /glistmodel/store/boundaries 1224s ok 4 /glistmodel/store/refcounts 1224s ok 5 /glistmodel/store/sorted 1224s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1224s ok 6 /glistmodel/store/splice-replace-middle 1224s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1224s ok 7 /glistmodel/store/splice-replace-all 1224s ok 8 /glistmodel/store/splice-noop 1224s ok 9 /glistmodel/store/splice-remove-multiple 1224s ok 10 /glistmodel/store/splice-add-multiple 1224s ok 11 /glistmodel/store/splice-wrong-type 1224s ok 12 /glistmodel/store/item-type 1224s ok 13 /glistmodel/store/remove-all 1224s ok 14 /glistmodel/store/sort 1224s ok 15 /glistmodel/store/get-item-cache 1224s ok 16 /glistmodel/store/items-changed 1224s ok 17 /glistmodel/store/past-end 1224s ok 18 /glistmodel/store/find 1224s # End of store tests 1224s # End of glistmodel tests 1224s ok - glib/glistmodel.test 1224s # Running test: glib/debugcontroller.test 1224s TAP version 14 1224s # random seed: R02Sc994289004e009383f81f8be31c1d47c 1224s 1..3 1224s # Start of debug-controller tests 1224s # Start of dbus tests 1224s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-GIO-DEBUG: Debug output enabled 1224s # GLib-GIO-DEBUG: Debug output disabled 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 1 /debug-controller/dbus/basic 1224s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1224s ok 2 /debug-controller/dbus/duplicate 1224s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1224s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1224s # End of dbus tests 1224s # End of debug-controller tests 1224s ok - glib/debugcontroller.test 1224s # Running test: glib/protocol.test 1224s TAP version 14 1224s # random seed: R02Sf99b3963e2b9d18bb454c9df4bbb1dd9 1224s 1..9 1224s # Start of glib tests 1224s # Start of testing tests 1224s # Start of protocol tests 1224s ok 1 /glib/testing/protocol/debug 1224s ok 2 /glib/testing/protocol/info 1224s ok 3 /glib/testing/protocol/message 1224s ok 4 /glib/testing/protocol/warning 1224s ok 5 /glib/testing/protocol/critical 1224s ok 6 /glib/testing/protocol/error 1224s ok 7 /glib/testing/protocol/gtest-message 1224s ok 8 /glib/testing/protocol/test-message 1224s ok - glib/protocol.test 1224s ok 9 /glib/testing/protocol/test-error 1224s # End of protocol tests 1224s # End of testing tests 1224s # End of glib tests 1224s # Running test: glib/hmac.test 1224s TAP version 14 1224s # random seed: R02S92af598abffbb7dc7fd94d55f0390933 1224s 1..37 1224s ok - glib/hmac.test 1224s # Running test: glib/uri.test 1224s # Start of hmac tests 1224s ok 1 /hmac/sha1-1 1224s ok 2 /hmac/sha1-2 1224s ok 3 /hmac/sha1-3 1224s ok 4 /hmac/sha1-4 1224s ok 5 /hmac/sha1-5 1224s ok 6 /hmac/sha1-6 1224s ok 7 /hmac/sha1-7 1224s ok 8 /hmac/sha256-1 1224s ok 9 /hmac/sha256-2 1224s ok 10 /hmac/sha256-3 1224s ok 11 /hmac/sha256-4 1224s ok 12 /hmac/sha256-5 1224s ok 13 /hmac/sha256-6 1224s ok 14 /hmac/sha384-1 1224s ok 15 /hmac/sha384-2 1224s ok 16 /hmac/sha384-3 1224s ok 17 /hmac/sha384-4 1224s ok 18 /hmac/sha384-5 1224s ok 19 /hmac/sha384-6 1224s ok 20 /hmac/sha512-1 1224s ok 21 /hmac/sha512-2 1224s ok 22 /hmac/sha512-3 1224s ok 23 /hmac/sha512-4 1224s ok 24 /hmac/sha512-5 1224s ok 25 /hmac/sha512-6 1224s ok 26 /hmac/md5-1 1224s ok 27 /hmac/md5-2 1224s ok 28 /hmac/md5-3 1224s ok 29 /hmac/md5-4 1224s ok 30 /hmac/md5-5 1224s ok 31 /hmac/md5-6 1224s ok 32 /hmac/md5-7 1224s ok 33 /hmac/ref-unref 1224s ok 34 /hmac/copy 1224s ok 35 /hmac/for-data 1224s ok 36 /hmac/for-string 1224s ok 37 /hmac/for-bytes 1224s # End of hmac tests 1224s TAP version 14 1224s # random seed: R02S3d0d9683d4f6d6fac92b823c202a8e29 1224s 1..24 1224s # Start of uri tests 1224s ok 1 /uri/file-to-uri 1224s ok 2 /uri/file-from-uri 1224s ok 3 /uri/file-roundtrip 1224s ok 4 /uri/list 1224s # Test 0: %2Babc %4F 1224s # Test 1: %2Babc %4F 1224s # Test 2: %00abc %4F 1224s # Test 3: /cursors/none.png 1224s # Test 4: /cursors%2fbad-subdir/none.png 1224s # Test 5: %0 1224s # Test 6: %ra 1224s # Test 7: %2r 1224s # Test 8: Timm B?der 1224s # Test 9: (null) 1224s ok 5 /uri/unescape-string 1224s ok 6 /uri/unescape-segment 1224s # Test 0: abcdefgABCDEFG._~ 1224s # Test 1: :+ \\?# 1224s # Test 2: a+b:c 1224s # Test 3: a+b:c\303\234 1224s # Test 4: \374;\322 1224s # Test 5: \303\261\303( 1224s ok 7 /uri/escape-string 1224s ok 8 /uri/escape-bytes 1224s ok 9 /uri/scheme 1224s ok 10 /uri/build 1224s ok 11 /uri/split 1224s ok 12 /uri/is_valid 1224s ok 13 /uri/to-string 1224s ok 14 /uri/join 1224s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1224s # Combination 0 1224s # Combination 1 1224s # Combination 2 1224s # Combination 3 1224s # Combination 4 1224s # Combination 5 1224s # Combination 6 1224s # Combination 7 1224s # Combination 8 1224s # Combination 9 1224s # Combination 10 1224s # Combination 11 1224s # Combination 12 1224s # Combination 13 1224s # Combination 14 1224s # Combination 15 1224s # Combination 16 1224s # Combination 17 1224s # Combination 18 1224s # Combination 19 1224s # Combination 20 1224s # Combination 21 1224s # Combination 22 1224s # Combination 23 1224s # Combination 24 1224s # Combination 25 1224s # Combination 26 1224s # Combination 27 1224s # Combination 28 1224s # Combination 29 1224s # Combination 30 1224s # Combination 31 1224s # Combination 32 1224s # Combination 33 1224s # Combination 34 1224s # Combination 35 1224s # Combination 36 1224s # Combination 37 1224s # Combination 38 1224s # Combination 39 1224s # Combination 40 1224s # Combination 41 1224s # Combination 42 1224s # Combination 43 1224s # Combination 44 1224s # Combination 45 1224s # Combination 46 1224s # Combination 47 1224s # Combination 48 1224s # Combination 49 1224s # Combination 50 1224s # Combination 51 1224s # Combination 52 1224s # Combination 53 1224s # Combination 54 1224s # Combination 55 1224s # Combination 56 1224s # Combination 57 1224s # Combination 58 1224s # Combination 59 1224s # Combination 60 1224s # Combination 61 1224s # Combination 62 1224s # Combination 63 1224s # Combination 64 1224s # Combination 65 1224s # Combination 66 1224s # Combination 67 1224s # Combination 68 1224s # Combination 69 1224s # Combination 70 1224s # Combination 71 1224s # Combination 72 1224s # Combination 73 1224s # Combination 74 1224s # Combination 75 1224s # Combination 76 1224s # Combination 77 1224s # Combination 78 1224s # Combination 79 1224s # Combination 80 1224s # Combination 81 1224s # Combination 82 1224s # Combination 83 1224s # Combination 84 1224s # Combination 85 1224s # Combination 86 1224s # Combination 87 1224s # Combination 88 1224s # Combination 89 1224s # Combination 90 1224s # Combination 91 1224s # Combination 92 1224s # Combination 93 1224s # Combination 94 1224s # Combination 95 1224s # Combination 96 1224s # Combination 97 1224s # Combination 98 1224s # Combination 99 1224s # Combination 100 1224s # Combination 101 1224s # Combination 102 1224s # Combination 103 1224s # Combination 104 1224s # Combination 105 1224s # Combination 106 1224s # Combination 107 1224s # Combination 108 1224s # Combination 109 1224s # Combination 110 1224s # Combination 111 1224s # Combination 112 1224s # Combination 113 1224s # Combination 114 1224s # Combination 115 1224s # Combination 116 1224s # Combination 117 1224s # Combination 118 1224s # Combination 119 1224s # Combination 120 1224s # Combination 121 1224s # Combination 122 1224s # Combination 123 1224s # Combination 124 1224s # Combination 125 1224s # Combination 126 1224s # Combination 127 1224s # Combination 128 1224s # Combination 129 1224s # Combination 130 1224s # Combination 131 1224s # Combination 132 1224s # Combination 133 1224s # Combination 134 1224s # Combination 135 1224s # Combination 136 1224s # Combination 137 1224s # Combination 138 1224s # Combination 139 1224s # Combination 140 1224s # Combination 141 1224s # Combination 142 1224s # Combination 143 1224s # Combination 144 1224s # Combination 145 1224s # Combination 146 1224s # Combination 147 1224s # Combination 148 1224s # Combination 149 1224s # Combination 150 1224s # Combination 151 1224s # Combination 152 1224s # Combination 153 1224s # Combination 154 1224s # Combination 155 1224s # Combination 156 1224s # Combination 157 1224s # Combination 158 1224s # Combination 159 1224s # Combination 160 1224s # Combination 161 1224s # Combination 162 1224s # Combination 163 1224s # Combination 164 1224s # Combination 165 1224s # Combination 166 1224s # Combination 167 1224s # Combination 168 1224s # Combination 169 1224s # Combination 170 1224s # Combination 171 1224s # Combination 172 1224s # Combination 173 1224s # Combination 174 1224s # Combination 175 1224s # Combination 176 1224s # Combination 177 1224s # Combination 178 1224s # Combination 179 1224s # Combination 180 1224s # Combination 181 1224s # Combination 182 1224s # Combination 183 1224s # Combination 184 1224s # Combination 185 1224s # Combination 186 1224s # Combination 187 1224s # Combination 188 1224s # Combination 189 1224s # Combination 190 1224s # Combination 191 1224s # Combination 192 1224s # Combination 193 1224s # Combination 194 1224s # Combination 195 1224s # Combination 196 1224s # Combination 197 1224s # Combination 198 1224s # Combination 199 1224s # Combination 200 1224s # Combination 201 1224s # Combination 202 1224s # Combination 203 1224s # Combination 204 1224s # Combination 205 1224s # Combination 206 1224s # Combination 207 1224s # Combination 208 1224s # Combination 209 1224s # Combination 210 1224s # Combination 211 1224s # Combination 212 1224s # Combination 213 1224s # Combination 214 1224s # Combination 215 1224s # Combination 216 1224s # Combination 217 1224s # Combination 218 1224s # Combination 219 1224s # Combination 220 1224s # Combination 221 1224s # Combination 222 1224s # Combination 223 1224s # Combination 224 1224s # Combination 225 1224s # Combination 226 1224s # Combination 227 1224s # Combination 228 1224s # Combination 229 1224s # Combination 230 1224s # Combination 231 1224s # Combination 232 1224s # Combination 233 1224s # Combination 234 1224s # Combination 235 1224s # Combination 236 1224s # Combination 237 1224s # Combination 238 1224s # Combination 239 1224s # Combination 240 1224s # Combination 241 1224s # Combination 242 1224s # Combination 243 1224s # Combination 244 1224s # Combination 245 1224s # Combination 246 1224s # Combination 247 1224s # Combination 248 1224s # Combination 249 1224s # Combination 250 1224s # Combination 251 1224s # Combination 252 1224s # Combination 253 1224s # Combination 254 1224s # Combination 255 1224s ok 15 /uri/join-split-round-trip 1224s ok 16 /uri/normalize 1224s # Start of unescape-bytes tests 1224s # Test 0: %00%00 1224s # Test 1: /cursors/none.png 1224s # Test 2: /cursors%2fbad-subdir/none.png 1224s # Test 3: %% 1224s # Test 4: % 1224s ok 17 /uri/unescape-bytes/nul-terminated 1224s # Test 0: %00%00 1224s # Test 1: /cursors/none.png 1224s # Test 2: /cursors%2fbad-subdir/none.png 1224s # Test 3: %% 1224s # Test 4: % 1224s ok 18 /uri/unescape-bytes/length 1224s # End of unescape-bytes tests 1224s # Start of parsing tests 1224s # Test 0: foo: 1224s # Test 1: file:/dev/null 1224s # Test 2: file:///dev/null 1224s # Test 3: ftp://user@host/path 1224s # Test 4: ftp://user@host:9999/path 1224s # Test 5: ftp://user:password@host/path 1224s # Test 6: ftp://user:password@host:9999/path 1224s # Test 7: ftp://user:password@host 1224s # Test 8: http://us%65r@host 1224s # Test 9: http://us%40r@host 1224s # Test 10: http://us%3ar@host 1224s # Test 11: http://us%2fr@host 1224s # Test 12: http://us%3fr@host 1224s # Test 13: http://host?query 1224s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1224s # 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 1224s # Test 16: http://space/%20 1224s # Test 17: http://delims/%3C%3E%23%25%22 1224s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1224s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1224s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1224s # Test 21: http://[3ffe:2a00:100:7031::1] 1224s # Test 22: http://[1080::8:800:200C:417A]/foo 1224s # Test 23: http://[::192.9.5.5]/ipng 1224s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1224s # Test 25: http://[2010:836B:4179::836B:4179] 1224s # Test 26: http://host/path with spaces 1224s # Test 27: http://host/path 1224s # Test 28: http://host/path 1224s # Test 29: http://host 1224s # Test 30: http://host:999 1224s # Test 31: http://host/pa 1224s # th 1224s # Test 32: http: 1224s # //host/path 1224s # Test 33: http:// host/path 1224s # Test 34: http://host/path? 1224s # Test 35: http://host/path# 1224s # Test 36: http://host/path% 1224s # Test 37: http://h%ost/path 1224s # Test 38: http://host/path%% 1224s # Test 39: http://host/path%%% 1224s # Test 40: http://host/path%/x/ 1224s # Test 41: http://host/path%0x/ 1224s # Test 42: http://host/path%ax 1224s # Test 43: http://host/p?th/ 1224s # Test 44: HTTP://////////////// 1224s # Test 45: http://@host 1224s # Test 46: http://:@host 1224s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1224s # Test 48: http://example.com/.. 1224s # Test 49: foo0://host/path 1224s # Test 50: f0.o://host/path 1224s # Test 51: http++://host/path 1224s # Test 52: http-ish://host/path 1224s # Test 53: http://[fe80::dead:beef%]/ 1224s # Test 54: http://[fe80::dead:beef%em1]/ 1224s # Test 55: http://[fe80::dead:beef%em1]/ 1224s # Test 56: http://[fe80::dead:beef%25em1]/ 1224s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1224s # Test 58: http://[fe80::dead:beef%25em%31]/ 1224s # Test 59: http://[fe80::dead:beef%10]/ 1224s # Test 60: http://[fe80::dead:beef%10]/ 1224s # Test 61: http://[fe80::dead:beef%25]/ 1224s # Test 62: http://[fe80::dead:beef%25]/ 1224s # Test 63: http://[192.168.0.1%25em1]/ 1224s # Test 64: http://[fe80::dead:beef%2em1]/ 1224s # Test 65: http://[fe80::dead:beef%2em1]/ 1224s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1224s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1224s # Test 68: http://xn--mixed-?p/ 1224s ok 19 /uri/parsing/absolute 1224s ok 20 /uri/parsing/relative 1224s # End of parsing tests 1224s # Start of iter-params tests 1224s # URI 0: p1=foo&p2=bar;p3=baz 1224s # URI 1: p1=foo&p2=bar 1224s # URI 2: p1=foo&&P1=bar 1224s # URI 3: %00=foo 1224s # URI 4: p1=%00 1224s # URI 5: p1=foo&p1=bar 1224s # URI 6: p1=foo&P1=bar 1224s # URI 7: =% 1224s # URI 8: = 1224s # URI 9: foo 1224s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1224s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1224s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1224s ok 21 /uri/iter-params/nul-terminated 1224s # URI 0: p1=foo&p2=bar;p3=baz 1224s # URI 1: p1=foo&p2=bar 1224s # URI 2: p1=foo&&P1=bar 1224s # URI 3: %00=foo 1224s # URI 4: p1=%00 1224s # URI 5: p1=foo&p1=bar 1224s # URI 6: p1=foo&P1=bar 1224s # URI 7: =% 1224s # URI 8: = 1224s # URI 9: foo 1224s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1224s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1224s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1224s ok 22 /uri/iter-params/length 1224s # End of iter-params tests 1224s # Start of parse-params tests 1224s # URI 0: p1=foo&p2=bar;p3=baz 1224s # URI 1: p1=foo&p2=bar 1224s # URI 2: p1=foo&&P1=bar 1224s # URI 3: %00=foo 1224s # URI 4: p1=%00 1224s # URI 5: p1=foo&p1=bar 1224s # URI 6: p1=foo&P1=bar 1224s # URI 7: =% 1224s # URI 8: = 1224s # URI 9: foo 1224s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1224s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1224s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1224s ok 23 /uri/parse-params/nul-terminated 1224s # URI 0: p1=foo&p2=bar;p3=baz 1224s # URI 1: p1=foo&p2=bar 1224s # URI 2: p1=foo&&P1=bar 1224s # URI 3: %00=foo 1224s # URI 4: p1=%00 1224s # URI 5: p1=foo&p1=bar 1224s # URI 6: p1=foo&P1=bar 1224s # URI 7: =% 1224s # URI 8: = 1224s # URI 9: foo 1224s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1224s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1224s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1224s ok 24 /uri/parse-params/length 1224s # End of parse-params tests 1224s # End of uri tests 1224s ok - glib/uri.test 1224s # Running test: glib/gdbus-non-socket.test 1224s TAP version 14 1224s # random seed: R02Scb476519967fc9e96653b849069a9123 1224s 1..1 1224s # Start of gdbus tests 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_KI7A02/gdbus/non-socket/.dirs/runtime 1224s ok 1 /gdbus/non-socket 1224s ok - glib/gdbus-non-socket.test 1224s # End of gdbus tests 1224s # Running test: glib/gdbus-test-codegen-old.test 1224s TAP version 14 1224s # random seed: R02S3557bb252f66dce0dd9f713adb8506ea 1224s 1..8 1224s # Start of gdbus tests 1224s # Start of codegen tests 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/annotations/.dirs/runtime 1224s ok 1 /gdbus/codegen/annotations 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/interface_stability/.dirs/runtime 1224s ok 2 /gdbus/codegen/interface_stability 1224s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/home 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/cache 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/system-config2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/config 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/system-data2 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/data 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/state 1224s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/object-manager/.dirs/runtime 1224s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1225s ok - glib/gdbus-test-codegen-old.test 1225s ok 3 /gdbus/codegen/object-manager 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/property-naming/.dirs/runtime 1225s ok 4 /gdbus/codegen/property-naming 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/autocleanups/.dirs/runtime 1225s ok 5 /gdbus/codegen/autocleanups 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/deprecations/.dirs/runtime 1225s ok 6 /gdbus/codegen/deprecations 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1225s ok 7 /gdbus/codegen/standalone-interface-info 1225s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/home 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/cache 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/config 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/data 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/state 1225s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_12RA02/gdbus/codegen/unix-fd-list/.dirs/runtime 1225s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1225s ok 8 /gdbus/codegen/unix-fd-list 1225s # End of codegen tests 1225s # End of gdbus tests 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1225s # Running test: glib/unix.test 1225s TAP version 14 1225s # random seed: R02S44962a2ac15947f2fc780aa224950036 1225s 1..20 1225s # Start of glib-unix tests 1225s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1225s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1225s ok 1 /glib-unix/closefrom 1225s ok 2 /glib-unix/pipe 1225s # /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 1225s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1225s ok 3 /glib-unix/pipe-stdio-overwrite 1225s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1225s ok 4 /glib-unix/pipe-struct 1225s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1225s ok 5 /glib-unix/pipe-struct-auto 1225s ok 6 /glib-unix/error 1225s ok 7 /glib-unix/nonblocking 1225s ok 8 /glib-unix/sighup 1225s # slow test /glib-unix/sighup executed in 0.50 secs 1226s ok 9 /glib-unix/sigterm 1226s # slow test /glib-unix/sigterm executed in 0.50 secs 1226s ok 10 /glib-unix/sighup_again 1226s # slow test /glib-unix/sighup_again executed in 0.50 secs 1226s ok 11 /glib-unix/sighup_add_remove 1226s ok 12 /glib-unix/sighup_nested 1228s # Executing: glib/unix.test 1228s ok 13 /glib-unix/callback_after_signal 1228s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1228s ok 14 /glib-unix/child-wait 1228s # Start of closefrom tests 1228s # Start of subprocess tests 1228s # End of subprocess tests 1228s # End of closefrom tests 1228s # Start of pipe tests 1228s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1228s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1228s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1228s ok 15 /glib-unix/pipe/fd-cloexec 1228s # End of pipe tests 1228s # Start of sighup tests 1229s ok 16 /glib-unix/sighup/alternate-stack 1229s # slow test /glib-unix/sighup/alternate-stack executed in 1.01 secs 1229s # End of sighup tests 1229s # Start of sigterm tests 1230s ok 17 /glib-unix/sigterm/alternate-stack 1230s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1230s # End of sigterm tests 1230s # Start of sighup_again tests 1231s ok - glib/unix.test 1231s # Running test: glib/closure-refcount.test 1231s ok 18 /glib-unix/sighup_again/alternate-stack 1231s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1231s # End of sighup_again tests 1231s # Start of get-passwd-entry tests 1231s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1231s ok 19 /glib-unix/get-passwd-entry/root 1231s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1231s ok 20 /glib-unix/get-passwd-entry/nonexistent 1231s # End of get-passwd-entry tests 1231s # End of glib-unix tests 1231s TAP version 14 1231s # random seed: R02Sa2baaa0eb71c8609af82c4c6c1f6efe3 1231s 1..1 1231s # Start of closure tests 1231s # Init 0x1524edd3f1d0 1231s # Yielding from main thread 1231s # Yielding from main thread 1231s # Yielding from main thread 1231s # Yielding from main thread 1231s # Yielding from main thread 1231s # Yielding from thread2 1231s # Yielding from main thread 1231s # Yielding from thread1 1232s # Yielding from main thread 1232s # Yielding from main thread 1232s # Yielding from main thread 1232s # Yielding from thread1 1232s # Yielding from main thread 1232s # Yielding from main thread 1232s # Yielding from thread2 1232s # Yielding from main thread 1232s # Yielding from main thread 1232s # Yielding from main thread 1232s # Yielding from thread1 1232s # Yielding from main thread 1232s # Yielding from main thread 1232s # Yielding from main thread 1232s # Yielding from thread2 1232s # Yielding from main thread 1232s # Yielding from main thread 1232s # Yielding from main thread 1232s # Yielding from thread1 1232s # Yielding from main thread 1232s # Yielding from thread2 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from thread1 1233s # Yielding from main thread 1233s # Executing: glib/closure-refcount.test 1233s # Yielding from main thread 1233s # Yielding from thread2 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from thread1 1233s # Yielding from main thread 1233s # Yielding from thread2 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from main thread 1233s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from thread1 1234s # Yielding from main thread 1234s # Yielding from thread2 1234s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from thread1 1234s # Yielding from thread2 1234s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from thread1 1234s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from main thread 1234s # Yielding from thread2 1234s # Yielding from main thread 1235s # Yielding from thread1 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from thread2 1235s # Yielding from main thread 1235s # Yielding from thread1 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from thread2 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from thread1 1235s # Yielding from main thread 1235s # Yielding from main thread 1235s # Yielding from main thread 1236s # Yielding from main thread 1236s # Yielding from thread2 1236s # Yielding from main thread 1236s # Yielding from thread1 1236s # Yielding from main thread 1236s # Yielding from main thread 1236s # Yielding from main thread 1236s # Yielding from main thread 1236s # Yielding from main thread 1236s # Yielding from thread2 1236s # Yielding from main thread 1236s # Yielding from thread1 1236s # Yielding from main thread 1236s # Yielding from main thread 1236s # Yielding from main thread 1236s # Yielding from thread2 1236s # Yielding from main thread 1236s # Yielding from thread1 1236s # Yielding from main thread 1236s # Yielding from main thread 1236s # Yielding from main thread 1237s # Yielding from main thread 1237s # Yielding from main thread 1237s # Yielding from main thread 1237s # Yielding from thread2 1237s # Yielding from main thread 1237s # Yielding from thread1 1237s # Yielding from main thread 1237s # Yielding from main thread 1237s # Yielding from main thread 1237s # Yielding from main thread 1237s # Yielding from thread1 1237s # Yielding from main thread 1237s # Yielding from main thread 1237s # Yielding from thread2 1237s # Yielding from main thread 1237s # Yielding from main thread 1237s # Yielding from main thread 1237s # Yielding from thread1 1237s # Yielding from main thread 1237s # Yielding from main thread 1237s # Stopping 1237s # Stopped 1237s ok 1 /closure/refcount 1237s # slow test /closure/refcount executed in 6.35 secs 1237s # End of closure tests 1237s ok - glib/closure-refcount.test 1237s # Running test: glib/charset.test 1237s TAP version 14 1237s # random seed: R02S603641d97c1f418e17a5c0608c898d6a 1237s 1..2 1237s # Start of charset tests 1237s # Test 0 1237s # Test 1 1237s # Test 2 1237s # Test 3 1237s ok 1 /charset/language_names_with_category 1237s ok - glib/charset.test 1237s ok 2 /charset/language_names_with_category_async 1237s # End of charset tests 1237s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=245.6s; system=73.3s; maxrss=176128 1238s autopkgtest [00:47:07]: test installed-tests: -----------------------] 1239s installed-tests PASS 1239s autopkgtest [00:47:08]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1239s autopkgtest [00:47:08]: test closure-refcount: preparing testbed 1240s Reading package lists... 1240s Building dependency tree... 1240s Reading state information... 1240s Starting pkgProblemResolver with broken count: 0 1240s Starting 2 pkgProblemResolver with broken count: 0 1240s Done 1241s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1242s autopkgtest [00:47:11]: test closure-refcount: [----------------------- 1242s Running test: glib/closure-refcount.test 1242s TAP version 14 1242s # random seed: R02S1fa8227f157b76f11a09128f23a0af95 1242s 1..1 1242s # Start of closure tests 1242s # Init 0x1090a34ff0a0 1242s # Yielding from main thread 1242s # Yielding from main thread 1242s # Yielding from main thread 1242s # Yielding from main thread 1242s # Yielding from thread1 1242s # Yielding from main thread 1242s # Yielding from main thread 1242s # Yielding from main thread 1242s # Yielding from thread2 1242s # Yielding from main thread 1242s # Yielding from thread1 1242s # Yielding from main thread 1242s # Yielding from main thread 1242s # Yielding from main thread 1242s # Yielding from main thread 1243s # Yielding from main thread 1243s # Yielding from thread1 1243s # Yielding from main thread 1243s # Yielding from thread2 1243s # Yielding from main thread 1243s # Yielding from main thread 1243s # Yielding from main thread 1243s # Yielding from thread1 1243s # Yielding from main thread 1243s # Yielding from thread2 1243s # Yielding from main thread 1243s # Yielding from main thread 1243s # Yielding from main thread 1243s # Yielding from main thread 1243s # Yielding from thread1 1243s # Yielding from thread2 1243s # Yielding from main thread 1243s # Yielding from main thread 1243s # Yielding from main thread 1243s # Yielding from main thread 1243s # Yielding from thread2 1244s # Yielding from main thread 1244s # Yielding from thread1 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from thread2 1244s # Yielding from main thread 1244s # Yielding from thread1 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from thread2 1244s # Yielding from main thread 1244s # Yielding from thread1 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from main thread 1244s # Yielding from thread1 1244s # Yielding from main thread 1244s # Yielding from thread2 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from thread1 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from thread2 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from thread1 1245s # Yielding from main thread 1245s # Yielding from thread2 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from thread1 1245s # Yielding from main thread 1245s # Yielding from main thread 1245s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from thread2 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from thread1 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from thread2 1246s # Yielding from main thread 1246s # Yielding from thread1 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from thread2 1246s # Yielding from main thread 1246s # Yielding from thread1 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from main thread 1246s # Yielding from thread2 1246s # Yielding from main thread 1247s # Yielding from main thread 1247s # Yielding from main thread 1247s # Yielding from thread1 1247s # Yielding from main thread 1247s # Yielding from thread2 1247s # Yielding from main thread 1247s # Yielding from main thread 1247s # Yielding from main thread 1247s # Yielding from main thread 1247s Executing: glib/closure-refcount.test 1247s # Yielding from main thread 1247s # Yielding from thread1 1247s # Yielding from main thread 1247s # Yielding from main thread 1247s # Yielding from thread2 1247s # Yielding from main thread 1247s # Yielding from main thread 1247s # Yielding from main thread 1247s # Yielding from thread1 1247s # Yielding from main thread 1247s # Yielding from main thread 1247s # Yielding from thread2 1247s # Yielding from main thread 1248s # Yielding from main thread 1248s # Yielding from thread1 1248s # Yielding from main thread 1248s # Yielding from main thread 1248s # Yielding from main thread 1248s # Yielding from main thread 1248s # Yielding from thread2 1248s # Stopping 1248s # Stopped 1248s ok 1 /closure/refcount 1248s # slow test /closure/refcount executed in 5.83 secs 1248s # End of closure tests 1248s PASS: glib/closure-refcount.test 1248s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=11.3s; system=0.0s; maxrss=4096 1248s autopkgtest [00:47:17]: test closure-refcount: -----------------------] 1249s autopkgtest [00:47:18]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1249s closure-refcount PASS 1249s autopkgtest [00:47:18]: test debugcontroller: preparing testbed 1250s Reading package lists... 1250s Building dependency tree... 1250s Reading state information... 1250s Starting pkgProblemResolver with broken count: 0 1250s Starting 2 pkgProblemResolver with broken count: 0 1250s Done 1250s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1251s autopkgtest [00:47:20]: test debugcontroller: [----------------------- 1252s Running test: glib/debugcontroller.test 1252s TAP version 14 1252s # random seed: R02Sa28c4e6c1c7aef5d0f3c969ddfb3f230 1252s 1..3 1252s # Start of debug-controller tests 1252s # Start of dbus tests 1252s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Debug output enabled 1252s # GLib-GIO-DEBUG: Debug output disabled 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s ok 1 /debug-controller/dbus/basic 1252s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s ok 2 /debug-controller/dbus/duplicate 1252s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Debug output enabled 1252s # GLib-GIO-DEBUG: Debug output disabled 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1252s ok 3 /debug-controller/dbus/properties 1252s # End of dbus tests 1252s # End of debug-controller tests 1252s PASS: glib/debugcontroller.test 1252s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 1252s autopkgtest [00:47:21]: test debugcontroller: -----------------------] 1253s autopkgtest [00:47:22]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1253s debugcontroller PASS 1253s autopkgtest [00:47:22]: test gdbus-server-auth: preparing testbed 1253s Reading package lists... 1254s Building dependency tree... 1254s Reading state information... 1254s Starting pkgProblemResolver with broken count: 0 1254s Starting 2 pkgProblemResolver with broken count: 0 1254s Done 1254s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1255s autopkgtest [00:47:24]: test gdbus-server-auth: [----------------------- 1256s Running test: glib/gdbus-server-auth.test 1256s TAP version 14 1256s # random seed: R02Sd69e488678273d4069ae547847a11323 1256s 1..9 1256s # Start of gdbus tests 1256s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/home 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/cache 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/system-config2 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/config 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/system-data2 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/data 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/state 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/.dirs/runtime 1256s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-72FC02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1256s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-72FC02/dbus-W3Ae5lVQ 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15824 1256s ok 1 /gdbus/server-auth 1256s # Start of server-auth tests 1256s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/home 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/cache 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/system-config2 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/config 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/system-data2 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/data 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/state 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/abstract/.dirs/runtime 1256s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-KZAJ02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1256s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-KZAJ02/dbus-m4troKnS 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15824 1256s ok 2 /gdbus/server-auth/abstract 1256s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/home 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/cache 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/system-config2 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/config 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/system-data2 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/data 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/state 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/tcp/.dirs/runtime 1256s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1256s # Connectable address: tcp:host=127.0.0.1,port=43393 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1256s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1256s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1256s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1256s ok 3 /gdbus/server-auth/tcp 1256s # slow test /gdbus/server-auth/tcp executed in 0.92 secs 1256s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/home 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/cache 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/system-config2 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/config 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/system-data2 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/data 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/state 1256s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/.dirs/runtime 1256s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-ZXEA02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1256s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-ZXEA02/dbus-aGadBIAD 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1256s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1256s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1256s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1256s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15824 1256s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15824 1257s ok 4 /gdbus/server-auth/anonymous 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/.dirs/runtime 1257s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-D6MC02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1257s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-D6MC02/dbus-q0XqFy1p 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1257s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15824 1257s ok 5 /gdbus/server-auth/external 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/.dirs/runtime 1257s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-7N8I02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1257s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-7N8I02/dbus-NlSijLRY 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15824 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1257s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15824 1257s ok 6 /gdbus/server-auth/sha1 1257s # Start of anonymous tests 1257s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/home 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/config 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/data 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/state 1257s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1257s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1257s # Connectable address: tcp:host=127.0.0.1,port=44155 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1257s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1257s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1257s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1257s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1257s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1258s ok 7 /gdbus/server-auth/anonymous/tcp 1258s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.89 secs 1258s # End of anonymous tests 1258s # Start of external tests 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1258s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-EL99Z2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1258s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_DQHC02/gdbus-server-auth-EL99Z2/dbus-rJUQjqKX 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15824 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1258s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15824,uid=1000,gid=1000 1258s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15824 1258s ok 8 /gdbus/server-auth/external/require-same-user 1258s # End of external tests 1258s # Start of sha1 tests 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_DQHC02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1258s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1258s # Connectable address: tcp:host=127.0.0.1,port=38599 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1258s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1258s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1258s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1258s ok 9 /gdbus/server-auth/sha1/tcp 1258s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 1258s # End of sha1 tests 1258s # End of server-auth tests 1258s # End of gdbus tests 1258s PASS: glib/gdbus-server-auth.test 1258s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=10240 1259s autopkgtest [00:47:28]: test gdbus-server-auth: -----------------------] 1259s gdbus-server-auth PASS 1259s autopkgtest [00:47:28]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1260s autopkgtest [00:47:29]: test gdbus-threading: preparing testbed 1260s Reading package lists... 1260s Building dependency tree... 1260s Reading state information... 1260s Starting pkgProblemResolver with broken count: 0 1260s Starting 2 pkgProblemResolver with broken count: 0 1260s Done 1261s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1262s autopkgtest [00:47:31]: test gdbus-threading: [----------------------- 1262s Running test: glib/gdbus-threading.test 1262s TAP version 14 1262s # random seed: R02S3f44c0d3c3408e78ad4f975a063dbf18 1262s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1262s 1..3 1262s # Start of gdbus tests 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_Y8ZP02/gdbus/delivery-in-thread/.dirs/runtime 1262s ok 1 /gdbus/delivery-in-thread 1262s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/home 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/cache 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/system-config2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/config 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/system-data2 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/data 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/state 1262s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_Y8ZP02/gdbus/method-calls-in-thread/.dirs/runtime 1263s ok 2 /gdbus/method-calls-in-thread 1263s # slow test /gdbus/method-calls-in-thread executed in 0.86 secs 1263s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/home 1263s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/cache 1263s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/system-config2 1263s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/config 1263s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/system-data2 1263s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/data 1263s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/state 1263s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_Y8ZP02/gdbus/threaded-singleton/.dirs/runtime 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254001fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: refcount of 0x668254001fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254001530 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254002b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254004550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254004550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254002500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254002500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254005800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254005800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1263s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1263s # GLib-GIO-DEBUG: refcount of 0x668254005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: refcount of 0x668254005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: refcount of 0x668254005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: refcount of 0x668254005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: refcount of 0x668254005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: refcount of 0x668254005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: refcount of 0x668254005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: refcount of 0x668254001ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: refcount of 0x668254001ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: refcount of 0x668254005e50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: refcount of 0x668254006db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: refcount of 0x668254004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: refcount of 0x668254004d40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: refcount of 0x668254003650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1266s ok 3 /gdbus/threaded-singleton 1266s # slow test /gdbus/threaded-singleton executed in 2.86 secs 1266s # End of gdbus tests 1266s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1266s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1266s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1266s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1266s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1266s PASS: glib/gdbus-threading.test 1266s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.3s; maxrss=8192 1266s autopkgtest [00:47:35]: test gdbus-threading: -----------------------] 1267s autopkgtest [00:47:36]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1267s gdbus-threading PASS 1267s autopkgtest [00:47:36]: test gmenumodel: preparing testbed 1267s Reading package lists... 1268s Building dependency tree... 1268s Reading state information... 1268s Starting pkgProblemResolver with broken count: 0 1268s Starting 2 pkgProblemResolver with broken count: 0 1268s Done 1268s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1269s autopkgtest [00:47:38]: test gmenumodel: [----------------------- 1269s Running test: glib/gmenumodel.test 1269s TAP version 14 1269s # random seed: R02Sb6dff80aeaab854f0db80598f9377ae0 1269s 1..15 1269s # Start of gmenu tests 1271s ok 1 /gmenu/equality 1271s # slow test /gmenu/equality executed in 2.03 secs 1274s ok 2 /gmenu/random 1274s # slow test /gmenu/random executed in 2.65 secs 1274s ok 3 /gmenu/attributes 1274s ok 4 /gmenu/links 1274s ok 5 /gmenu/mutable 1274s ok 6 /gmenu/convenience 1274s ok 7 /gmenu/menuitem 1274s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s ok 8 /gmenu/input-validation 1274s # Start of dbus tests 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1275s Executing: glib/gmenumodel.test 1275s ok 9 /gmenu/dbus/roundtrip 1275s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 1276s ok 10 /gmenu/dbus/subscriptions 1277s ok 11 /gmenu/dbus/threaded 1277s # slow test /gmenu/dbus/threaded executed in 1.65 secs 1277s # Start of peer tests 1278s ok 12 /gmenu/dbus/peer/roundtrip 1278s # slow test /gmenu/dbus/peer/roundtrip executed in 1.05 secs 1279s ok 13 /gmenu/dbus/peer/subscriptions 1279s # End of peer tests 1279s # Start of export tests 1279s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1279s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1279s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1279s ok 14 /gmenu/dbus/export/error-handling 1279s # End of export tests 1279s # End of dbus tests 1279s # Start of attributes tests 1279s ok 15 /gmenu/attributes/iterate 1279s # End of attributes tests 1279s # End of gmenu tests 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1279s PASS: glib/gmenumodel.test 1279s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.7s; system=0.2s; maxrss=24576 1279s autopkgtest [00:47:48]: test gmenumodel: -----------------------] 1280s gmenumodel PASS 1280s autopkgtest [00:47:49]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1280s autopkgtest [00:47:49]: test mainloop: preparing testbed 1280s Reading package lists... 1280s Building dependency tree... 1280s Reading state information... 1281s Starting pkgProblemResolver with broken count: 0 1281s Starting 2 pkgProblemResolver with broken count: 0 1281s Done 1281s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1283s autopkgtest [00:47:52]: test mainloop: [----------------------- 1284s Running test: glib/mainloop.test 1284s TAP version 14 1284s # random seed: R02Sf657a60aa6f8de5ba0f234030ed9a4c9 1284s 1..45 1284s # Start of maincontext tests 1284s ok 1 /maincontext/basic 1284s # Add same-priority sources: 22 1284s # Find each source: 7 1284s # Remove in random order: 50 1284s ok 2 /maincontext/nsources_same_priority 1284s # Add different-priority sources: 29 1284s # Find each source: 7 1284s # Remove in random order: 54 1284s ok 3 /maincontext/nsources_different_priority 1284s # Add sources from threads: 102 1284s # Remove sources from threads: 128 1284s ok 4 /maincontext/nsources_threadpool 1284s ok 5 /maincontext/source_finalization 1284s # /maincontext/idle-once summary: Test g_idle_add_once() works 1284s ok 6 /maincontext/idle-once 1284s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1284s ok 7 /maincontext/timeout-once 1284s # Start of source_finalization_from_source tests 1284s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1284s ok 8 /maincontext/source_finalization_from_source/0 1284s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1284s ok 9 /maincontext/source_finalization_from_source/1 1284s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1284s ok 10 /maincontext/source_finalization_from_source/2 1284s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1284s ok 11 /maincontext/source_finalization_from_source/3 1284s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1284s ok 12 /maincontext/source_finalization_from_source/4 1284s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1284s ok 13 /maincontext/source_finalization_from_source/5 1284s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1284s ok 14 /maincontext/source_finalization_from_source/6 1284s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1284s ok 15 /maincontext/source_finalization_from_source/7 1284s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1284s ok 16 /maincontext/source_finalization_from_source/8 1284s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1284s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1285s ok 17 /maincontext/source_finalization_from_source/9 1285s # End of source_finalization_from_source tests 1285s # Start of source_finalization_from_dispatch tests 1285s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1285s ok 18 /maincontext/source_finalization_from_dispatch/0 1285s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1285s ok 19 /maincontext/source_finalization_from_dispatch/1 1285s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1285s ok 20 /maincontext/source_finalization_from_dispatch/2 1285s # End of source_finalization_from_dispatch tests 1285s # End of maincontext tests 1285s # Start of mainloop tests 1285s ok 21 /mainloop/basic 1285s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1285s ok 23 /mainloop/priorities 1285s ok 24 /mainloop/invoke 1285s # slow test /mainloop/invoke executed in 0.50 secs 1286s ok 25 /mainloop/child_sources 1286s # slow test /mainloop/child_sources executed in 1.22 secs 1288s ok 26 /mainloop/recursive_child_sources 1288s # slow test /mainloop/recursive_child_sources executed in 2.22 secs 1288s ok 27 /mainloop/recursive_loop_child_sources 1288s ok 28 /mainloop/swapping_child_sources 1288s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1288s ok 29 /mainloop/blocked_child_sources 1289s Executing: glib/mainloop.test 1289s ok 30 /mainloop/source_time 1289s # slow test /mainloop/source_time executed in 1.00 secs 1289s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1289s ok 31 /mainloop/overflow 1290s ok 32 /mainloop/ready-time 1290s # slow test /mainloop/ready-time executed in 0.50 secs 1290s ok 33 /mainloop/wakeup 1290s ok 34 /mainloop/remove-invalid 1290s ok 35 /mainloop/unref-while-pending 1291s ok 36 /mainloop/unix-fd 1291s # slow test /mainloop/unix-fd executed in 1.38 secs 1291s ok 37 /mainloop/unix-fd-source 1291s ok 38 /mainloop/source-unix-fd-api 1292s ok 39 /mainloop/wait 1292s ok 40 /mainloop/unix-file-poll 1292s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1292s ok 41 /mainloop/unix-fd-priority 1292s ok 42 /mainloop/nfds 1292s ok 43 /mainloop/steal-fd 1292s # Start of ownerless-polling tests 1292s ok 44 /mainloop/ownerless-polling/attach-first 1292s ok 45 /mainloop/ownerless-polling/pop-first 1292s # End of ownerless-polling tests 1292s # End of mainloop tests 1292s PASS: glib/mainloop.test 1292s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.1s; system=1.1s; maxrss=16384 1292s autopkgtest [00:48:01]: test mainloop: -----------------------] 1292s mainloop PASS 1292s autopkgtest [00:48:01]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1293s autopkgtest [00:48:02]: test memory-monitor-dbus: preparing testbed 1293s Reading package lists... 1293s Building dependency tree... 1293s Reading state information... 1294s Starting pkgProblemResolver with broken count: 0 1294s Starting 2 pkgProblemResolver with broken count: 0 1294s Done 1294s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1295s autopkgtest [00:48:04]: test memory-monitor-dbus: [----------------------- 1295s Running test: glib/memory-monitor-dbus.test 1296s TAP version 13 1296s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1296s # Received memory warning signal, level 1296s # Received memory warning signal, level 1296s # Received memory warning signal, level 1296s 1..1 1296s PASS: glib/memory-monitor-dbus.test 1296s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.0s; maxrss=34816 1296s autopkgtest [00:48:05]: test memory-monitor-dbus: -----------------------] 1297s autopkgtest [00:48:06]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1297s memory-monitor-dbus PASS 1297s autopkgtest [00:48:06]: test socket: preparing testbed 1297s Reading package lists... 1298s Building dependency tree... 1298s Reading state information... 1298s Starting pkgProblemResolver with broken count: 0 1298s Starting 2 pkgProblemResolver with broken count: 0 1298s Done 1299s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1299s autopkgtest [00:48:08]: test socket: [----------------------- 1300s Running test: glib/socket.test 1300s TAP version 14 1300s # random seed: R02S3fc40fe8c553d2736888769613113fdc 1300s 1..28 1300s # Start of socket tests 1301s ok 1 /socket/ipv4_sync 1301s # slow test /socket/ipv4_sync executed in 1.00 secs 1302s ok 2 /socket/ipv4_async 1302s # slow test /socket/ipv4_async executed in 1.00 secs 1302s ok 3 /socket/ipv6_sync 1302s ok 4 /socket/ipv6_async 1302s ok 5 /socket/ipv6_v4mapped 1303s ok 6 /socket/close_graceful 1303s # slow test /socket/close_graceful executed in 1.00 secs 1303s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1303s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1303s ok 8 /socket/fd_reuse 1303s ok 9 /socket/address 1303s ok 10 /socket/unix-from-fd 1303s ok 11 /socket/unix-connection 1303s ok 12 /socket/unix-connection-ancillary-data 1303s ok 13 /socket/source-postmortem 1303s ok 14 /socket/read_write 1303s ok 15 /socket/read_writev 1303s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1303s ok 16 /socket/receive_bytes 1303s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1303s ok 17 /socket/receive_bytes_from 1303s # Start of ipv4_sync tests 1303s ok 18 /socket/ipv4_sync/datagram 1303s # Start of datagram tests 1304s ok 19 /socket/ipv4_sync/datagram/timeouts 1304s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1304s # End of datagram tests 1304s # End of ipv4_sync tests 1304s # Start of ipv6_sync tests 1304s ok 20 /socket/ipv6_sync/datagram 1304s # Start of datagram tests 1305s ok 21 /socket/ipv6_sync/datagram/timeouts 1305s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1305s # End of datagram tests 1305s # End of ipv6_sync tests 1305s # Start of reuse tests 1305s ok 22 /socket/reuse/tcp 1305s ok 23 /socket/reuse/udp 1305s # End of reuse tests 1305s # Start of get_available tests 1305s ok 24 /socket/get_available/datagram 1305s ok 25 /socket/get_available/stream 1305s # End of get_available tests 1305s # Start of credentials tests 1305s # Supported on this OS: GCredentials:linux-ucred:pid=0 1305s ok 26 /socket/credentials/tcp_client 1305s # Supported on this OS: GCredentials:linux-ucred:pid=0 1305s ok 27 /socket/credentials/tcp_server 1305s # Supported on this OS: GCredentials:linux-ucred:pid=17666,uid=1000,gid=1000 1305s ok 28 /socket/credentials/unix_socketpair 1305s # End of credentials tests 1305s # End of socket tests 1305s PASS: glib/socket.test 1305s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1305s autopkgtest [00:48:14]: test socket: -----------------------] 1306s socket PASS 1306s autopkgtest [00:48:15]: test socket: - - - - - - - - - - results - - - - - - - - - - 1306s autopkgtest [00:48:15]: test testfilemonitor: preparing testbed 1306s Reading package lists... 1307s Building dependency tree... 1307s Reading state information... 1307s Starting pkgProblemResolver with broken count: 0 1307s Starting 2 pkgProblemResolver with broken count: 0 1307s Done 1308s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1308s autopkgtest [00:48:17]: test testfilemonitor: [----------------------- 1309s Running test: glib/testfilemonitor.test 1309s TAP version 14 1309s # random seed: R02S45aa3815da7dcbd6205c4c8342b71d06 1309s 1..8 1309s # Start of monitor tests 1309s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1309s # Using temporary directory: /tmp/gio-test-testfilemonitor_H39F02 1309s # Using GFileMonitor GInotifyFileMonitor 1311s ok 1 /monitor/atomic-replace 1311s # slow test /monitor/atomic-replace executed in 2.00 secs 1311s # Using temporary directory: /tmp/gio-test-testfilemonitor_MA6F02 1311s # Using GFileMonitor GInotifyFileMonitor 1313s ok 2 /monitor/file-changes 1313s # slow test /monitor/file-changes executed in 2.50 secs 1313s # Using temporary directory: /tmp/gio-test-testfilemonitor_KDD5Z2 1313s # Using GFileMonitor GInotifyFileMonitor 1314s Executing: glib/testfilemonitor.test 1317s ok 3 /monitor/dir-monitor 1317s # slow test /monitor/dir-monitor executed in 3.51 secs 1317s # Using temporary directory: /tmp/gio-test-testfilemonitor_0B0F02 1317s # Using GFileMonitor GInotifyFileMonitor 1319s Executing: glib/testfilemonitor.test 1324s Executing: glib/testfilemonitor.test 1329s Executing: glib/testfilemonitor.test 1334s Executing: glib/testfilemonitor.test 1339s Executing: glib/testfilemonitor.test 1342s ok 4 /monitor/dir-not-existent 1342s # slow test /monitor/dir-not-existent executed in 25.02 secs 1342s # Using temporary directory: /tmp/gio-test-testfilemonitor_EEKF02 1342s # Using GFileMonitor 0 GInotifyFileMonitor 1342s # Using GFileMonitor 1 GInotifyFileMonitor 1344s ok 5 /monitor/cross-dir-moves 1344s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1344s # Using temporary directory: /tmp/gio-test-testfilemonitor_AK9H02 1344s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1344s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1344s ok 6 /monitor/finalize-in-callback 1344s # Using temporary directory: /tmp/gio-test-testfilemonitor_UB7H02 1344s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1344s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1344s ok 7 /monitor/root 1344s # Start of file tests 1344s # Using temporary directory: /tmp/gio-test-testfilemonitor_MF7H02 1344s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1344s # Running with hard link tests 1344s # Using GFileMonitor GInotifyFileMonitor 1344s Executing: glib/testfilemonitor.test 1347s # Event 0 at expected index 7 skipped because it is marked as optional 1347s # Event 2 at expected index 11 skipped because it is marked as optional 1347s ok 8 /monitor/file/hard-links 1347s # slow test /monitor/file/hard-links executed in 3.50 secs 1347s # End of file tests 1347s # End of monitor tests 1347s PASS: glib/testfilemonitor.test 1347s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1348s autopkgtest [00:48:57]: test testfilemonitor: -----------------------] 1348s testfilemonitor PASS 1348s autopkgtest [00:48:57]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1348s autopkgtest [00:48:57]: test thread-pool-slow: preparing testbed 1349s Reading package lists... 1349s Building dependency tree... 1349s Reading state information... 1349s Starting pkgProblemResolver with broken count: 0 1350s Starting 2 pkgProblemResolver with broken count: 0 1350s Done 1350s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1351s autopkgtest [00:49:00]: test thread-pool-slow: [----------------------- 1351s Running test: glib/thread-pool-slow.test 1351s TAP version 14 1351s # random seed: R02Sb844ca7ad5482aedb74b54b7cabe00e4 1351s 1..7 1351s # Start of threadpool tests 1351s ok 1 /threadpool/functions 1352s ok 2 /threadpool/stop-unused 1352s # slow test /threadpool/stop-unused executed in 0.53 secs 1352s ok 3 /threadpool/pools 1352s # [unsorted] ===> pushed new thread with id:46, number of threads:1, unprocessed:1 1352s # [unsorted] ===> pushed new thread with id:40, number of threads:2, unprocessed:2 1352s # [unsorted] ===> pushed new thread with id:58, number of threads:3, unprocessed:3 1352s # [unsorted] ===> pushed new thread with id:24, number of threads:4, unprocessed:4 1352s # [unsorted] ===> pushed new thread with id:3, number of threads:5, unprocessed:5 1352s # [unsorted] ===> pushed new thread with id:75, number of threads:6, unprocessed:5 1352s # [unsorted] ===> pushed new thread with id:27, number of threads:7, unprocessed:6 1352s # [unsorted] ===> pushed new thread with id:87, number of threads:8, unprocessed:7 1352s # [unsorted] ===> pushed new thread with id:7, number of threads:9, unprocessed:7 1352s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:7 1352s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:1 1352s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:2 1352s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:3 1352s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:4 1352s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:5 1352s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:6 1352s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:7 1352s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:8 1352s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:9 1352s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:10 1352s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:11 1352s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:12 1352s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:13 1352s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:14 1352s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:15 1352s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:16 1352s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:17 1352s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:18 1352s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:19 1352s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:20 1352s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:21 1352s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:22 1352s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:23 1352s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:24 1352s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:25 1352s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:26 1352s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:27 1352s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:28 1352s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:29 1352s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:30 1352s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:31 1352s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:32 1352s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:33 1352s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:34 1352s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:35 1352s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:36 1352s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:37 1352s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:38 1352s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:39 1352s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:40 1352s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:41 1352s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:42 1352s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:43 1352s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:44 1352s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:45 1352s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:46 1352s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:47 1352s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:48 1352s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:49 1352s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:50 1352s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:51 1352s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:52 1352s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:53 1352s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:54 1352s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:55 1352s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:56 1352s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:57 1352s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:58 1352s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:59 1352s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:60 1352s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:61 1352s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:62 1352s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:63 1352s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:64 1352s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:65 1352s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:66 1352s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:67 1352s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:68 1352s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:69 1352s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:70 1352s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:71 1352s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:72 1352s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:73 1352s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:74 1352s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:75 1352s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:76 1352s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:77 1352s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:78 1352s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:79 1352s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:80 1352s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:81 1352s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:82 1352s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:83 1352s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:84 1352s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:84 1352s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:85 1352s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:86 1352s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:86 1352s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:86 1352s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:87 1352s ok 4 /threadpool/no-sort 1352s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:1 1352s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:2 1352s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:3 1352s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:4 1352s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:5 1352s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:6 1352s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:7 1352s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:8 1352s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:9 1352s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:10 1352s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:11 1352s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:12 1352s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:13 1352s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:14 1352s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:15 1352s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:16 1352s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:17 1352s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:18 1352s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:19 1352s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:20 1352s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:21 1352s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:22 1352s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:23 1352s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:24 1352s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:25 1352s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:26 1352s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:27 1352s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:28 1352s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:29 1352s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:30 1352s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:31 1352s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:32 1352s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:33 1352s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:34 1352s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:35 1352s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:36 1352s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:37 1352s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:38 1352s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:39 1352s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:40 1352s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:41 1352s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:42 1352s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:43 1352s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:44 1352s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:45 1352s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:46 1352s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:47 1352s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:48 1352s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:49 1352s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:50 1352s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:51 1352s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:52 1352s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:53 1352s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:54 1352s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:55 1352s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:56 1352s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:57 1352s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:58 1352s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:59 1352s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:60 1352s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:61 1352s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:62 1352s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:63 1352s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:64 1352s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:65 1352s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:66 1352s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:67 1352s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:68 1352s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:69 1352s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:70 1352s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:71 1352s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:72 1352s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:73 1352s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:74 1352s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:75 1352s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:76 1352s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:77 1352s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:78 1352s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:79 1352s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:80 1352s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:81 1352s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:82 1352s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:83 1352s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:84 1352s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:85 1352s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:86 1352s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:87 1352s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:88 1352s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:89 1352s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:90 1352s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:91 1352s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:92 1352s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:93 1352s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:94 1352s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:95 1352s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:96 1352s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:97 1352s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:98 1352s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:99 1352s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:100 1352s # Starting thread pool processing 1352s ok 5 /threadpool/sort 1353s ok 6 /threadpool/stop-unused-multiple 1353s # slow test /threadpool/stop-unused-multiple executed in 0.55 secs 1353s # Pool idle thread count: 0, unprocessed jobs: 41 1353s # Pool idle thread count: 0, unprocessed jobs: 0 1353s # Pool idle thread count: 0, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1354s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1355s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1356s # Pool idle thread count: 10, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1357s Executing: glib/thread-pool-slow.test 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1357s # Pool idle thread count: 10, unprocessed jobs: 0 1358s # Pool idle thread count: 10, unprocessed jobs: 0 1358s # Pool idle thread count: 10, unprocessed jobs: 0 1358s # Pool idle thread count: 10, unprocessed jobs: 0 1358s # Pool idle thread count: 10, unprocessed jobs: 0 1359s # Pool idle thread count: 10, unprocessed jobs: 0 1359s # Pool idle thread count: 10, unprocessed jobs: 0 1359s # Pool idle thread count: 10, unprocessed jobs: 0 1359s # Pool idle thread count: 10, unprocessed jobs: 0 1360s # Pool idle thread count: 10, unprocessed jobs: 0 1360s # Pool idle thread count: 10, unprocessed jobs: 0 1360s # Pool idle thread count: 10, unprocessed jobs: 0 1360s # Pool idle thread count: 10, unprocessed jobs: 0 1361s # Pool idle thread count: 10, unprocessed jobs: 0 1361s # Pool idle thread count: 10, unprocessed jobs: 0 1361s # Pool idle thread count: 10, unprocessed jobs: 0 1361s # Pool idle thread count: 10, unprocessed jobs: 0 1362s # Pool idle thread count: 10, unprocessed jobs: 2 1362s # Pool idle thread count: 10, unprocessed jobs: 2 1362s # Pool idle thread count: 8, unprocessed jobs: 0 1362s # Pool idle thread count: 8, unprocessed jobs: 0 1362s Executing: glib/thread-pool-slow.test 1362s # Pool idle thread count: 10, unprocessed jobs: 0 1362s # Pool idle thread count: 10, unprocessed jobs: 0 1363s # Pool idle thread count: 10, unprocessed jobs: 0 1363s # Pool idle thread count: 10, unprocessed jobs: 0 1363s # Pool idle thread count: 10, unprocessed jobs: 0 1363s # Pool idle thread count: 10, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1364s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1365s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1366s # Pool idle thread count: 2, unprocessed jobs: 0 1367s # Pool idle thread count: 2, unprocessed jobs: 0 1367s # Pool idle thread count: 2, unprocessed jobs: 0 1367s Executing: glib/thread-pool-slow.test 1367s # Pool idle thread count: 2, unprocessed jobs: 0 1367s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1368s # Pool idle thread count: 2, unprocessed jobs: 0 1369s # Pool idle thread count: 2, unprocessed jobs: 0 1369s # Pool idle thread count: 2, unprocessed jobs: 0 1369s # Pool idle thread count: 2, unprocessed jobs: 0 1369s # Pool idle thread count: 2, unprocessed jobs: 0 1370s # Pool idle thread count: 2, unprocessed jobs: 0 1370s # Pool idle thread count: 2, unprocessed jobs: 0 1370s # Pool idle thread count: 2, unprocessed jobs: 0 1370s # Pool idle thread count: 2, unprocessed jobs: 0 1371s # Pool idle thread count: 2, unprocessed jobs: 0 1371s # Pool idle thread count: 2, unprocessed jobs: 0 1371s # Pool idle thread count: 2, unprocessed jobs: 0 1371s # Pool idle thread count: 2, unprocessed jobs: 0 1372s # Pool idle thread count: 2, unprocessed jobs: 0 1372s # Pool idle thread count: 2, unprocessed jobs: 0 1372s Executing: glib/thread-pool-slow.test 1372s ok 7 /threadpool/idle-time 1372s # slow test /threadpool/idle-time executed in 19.54 secs 1372s # End of threadpool tests 1372s PASS: glib/thread-pool-slow.test 1372s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=10240 1373s autopkgtest [00:49:22]: test thread-pool-slow: -----------------------] 1373s thread-pool-slow PASS 1373s autopkgtest [00:49:22]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1374s autopkgtest [00:49:23]: test threadtests: preparing testbed 1374s Reading package lists... 1375s Building dependency tree... 1375s Reading state information... 1375s Starting pkgProblemResolver with broken count: 0 1375s Starting 2 pkgProblemResolver with broken count: 0 1375s Done 1375s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1376s autopkgtest [00:49:25]: test threadtests: [----------------------- 1377s Running test: glib/threadtests.test 1377s TAP version 14 1377s # random seed: R02S8e5b3679ce649739e6c6e09de268e5a3 1377s 1..5 1377s # Start of GObject tests 1377s ok 1 /GObject/threaded-object-init 1378s ok 2 /GObject/threaded-weak-ref 1378s # slow test /GObject/threaded-weak-ref executed in 1.40 secs 1378s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1378s # /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 1379s ok 3 /GObject/threaded-toggle-notify 1379s # slow test /GObject/threaded-toggle-notify executed in 0.50 secs 1379s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1379s # Start of threaded-weak-ref tests 1379s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1379s # /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. 1379s ok 5 /GObject/threaded-weak-ref/on-finalization 1379s # End of threaded-weak-ref tests 1379s # End of GObject tests 1379s PASS: glib/threadtests.test 1379s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.1s; system=0.5s; maxrss=4096 1379s autopkgtest [00:49:28]: test threadtests: -----------------------] 1379s threadtests PASS 1379s autopkgtest [00:49:28]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1380s autopkgtest [00:49:29]: test timeout: preparing testbed 1380s Reading package lists... 1380s Building dependency tree... 1380s Reading state information... 1381s Starting pkgProblemResolver with broken count: 0 1381s Starting 2 pkgProblemResolver with broken count: 0 1381s Done 1381s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1382s autopkgtest [00:49:31]: test timeout: [----------------------- 1382s Running test: glib/timeout.test 1382s TAP version 14 1382s # random seed: R02Sff96432adc98caf4ad23224c4e949777 1382s 1..5 1382s # Start of timeout tests 1382s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1384s ok 1 /timeout/seconds 1384s # slow test /timeout/seconds executed in 2.10 secs 1386s ok 2 /timeout/seconds-once 1386s # slow test /timeout/seconds-once executed in 2.11 secs 1386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1388s Executing: glib/timeout.test 1389s ok 3 /timeout/weeks-overflow 1389s # slow test /timeout/weeks-overflow executed in 2.10 secs 1389s ok 4 /timeout/far-future-ready-time 1393s Executing: glib/timeout.test 1398s Executing: glib/timeout.test 1399s ok 5 /timeout/rounding 1399s # slow test /timeout/rounding executed in 10.44 secs 1399s # End of timeout tests 1399s PASS: glib/timeout.test 1399s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1399s autopkgtest [00:49:48]: test timeout: -----------------------] 1400s timeout PASS 1400s autopkgtest [00:49:49]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1400s autopkgtest [00:49:49]: test timer: preparing testbed 1400s Reading package lists... 1401s Building dependency tree... 1401s Reading state information... 1401s Starting pkgProblemResolver with broken count: 0 1401s Starting 2 pkgProblemResolver with broken count: 0 1401s Done 1401s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1402s autopkgtest [00:49:51]: test timer: [----------------------- 1402s Running test: glib/timer.test 1402s TAP version 14 1402s # random seed: R02Sb4a0a9531a0c7046a6c975bbead4827b 1402s 1..10 1402s # Start of timer tests 1402s ok 1 /timer/basic 1402s ok 2 /timer/stop 1402s ok 3 /timer/continue 1402s ok 4 /timer/reset 1402s ok 5 /timer/is_active 1402s # End of timer tests 1402s # Start of timeval tests 1402s ok 6 /timeval/add 1402s ok 7 /timeval/from-iso8601 1402s ok 8 /timeval/to-iso8601 1402s # Start of to-iso8601 tests 1402s ok 9 /timeval/to-iso8601/overflow 1402s # End of to-iso8601 tests 1402s # End of timeval tests 1402s # Start of usleep tests 1402s ok 10 /usleep/with-zero-wait 1402s # End of usleep tests 1402s PASS: glib/timer.test 1402s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1403s autopkgtest [00:49:52]: test timer: -----------------------] 1403s autopkgtest [00:49:52]: test timer: - - - - - - - - - - results - - - - - - - - - - 1403s timer PASS 1404s autopkgtest [00:49:53]: test 1065022-futureproofing: preparing testbed 1478s autopkgtest [00:51:07]: testbed dpkg architecture: ppc64el 1478s autopkgtest [00:51:07]: testbed apt version: 2.9.18 1478s autopkgtest [00:51:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1478s autopkgtest [00:51:07]: testbed release detected to be: plucky 1479s autopkgtest [00:51:08]: updating testbed package index (apt update) 1480s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1480s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1480s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1480s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1480s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1480s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [846 kB] 1480s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 1480s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [163 kB] 1480s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [274 kB] 1480s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 1480s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [985 kB] 1480s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [14.5 kB] 1481s Fetched 2381 kB in 1s (2039 kB/s) 1482s Reading package lists... 1482s + lsb_release --codename --short 1482s + RELEASE=plucky 1482s + cat 1482s + [ plucky != trusty ] 1482s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 1482s Reading package lists... 1482s Building dependency tree... 1482s Reading state information... 1483s Calculating upgrade... 1483s The following packages will be upgraded: 1483s gcc-14-base libatomic1 libgcc-s1 libgudev-1.0-0 libstdc++6 python3-certifi 1483s python3-chardet python3-jwt rng-tools-debian usb.ids 1483s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1483s Need to get 1421 kB of archives. 1483s After this operation, 0 B of additional disk space will be used. 1483s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ppc64el rng-tools-debian ppc64el 2.6 [46.3 kB] 1484s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libatomic1 ppc64el 14.2.0-13ubuntu1 [10.7 kB] 1484s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-base ppc64el 14.2.0-13ubuntu1 [53.0 kB] 1484s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++6 ppc64el 14.2.0-13ubuntu1 [886 kB] 1484s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-s1 ppc64el 14.2.0-13ubuntu1 [39.1 kB] 1484s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el usb.ids all 2025.01.14-1 [223 kB] 1484s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgudev-1.0-0 ppc64el 1:238-6 [15.7 kB] 1484s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-certifi all 2024.12.14+ds-1 [9800 B] 1484s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-chardet all 5.2.0+dfsg-2 [116 kB] 1484s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-jwt all 2.10.1-2 [21.0 kB] 1484s Fetched 1421 kB in 1s (2216 kB/s) 1485s (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 ... 74045 files and directories currently installed.) 1485s Preparing to unpack .../rng-tools-debian_2.6_ppc64el.deb ... 1485s Unpacking rng-tools-debian (2.6) over (2.5) ... 1485s Preparing to unpack .../libatomic1_14.2.0-13ubuntu1_ppc64el.deb ... 1485s Unpacking libatomic1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 1485s Preparing to unpack .../gcc-14-base_14.2.0-13ubuntu1_ppc64el.deb ... 1485s Unpacking gcc-14-base:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 1485s Setting up gcc-14-base:ppc64el (14.2.0-13ubuntu1) ... 1485s (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 ... 74045 files and directories currently installed.) 1485s Preparing to unpack .../libstdc++6_14.2.0-13ubuntu1_ppc64el.deb ... 1485s Unpacking libstdc++6:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 1485s Setting up libstdc++6:ppc64el (14.2.0-13ubuntu1) ... 1485s (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 ... 74045 files and directories currently installed.) 1485s Preparing to unpack .../libgcc-s1_14.2.0-13ubuntu1_ppc64el.deb ... 1485s Unpacking libgcc-s1:ppc64el (14.2.0-13ubuntu1) over (14.2.0-12ubuntu1) ... 1485s Setting up libgcc-s1:ppc64el (14.2.0-13ubuntu1) ... 1485s (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 ... 74045 files and directories currently installed.) 1485s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 1485s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 1485s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_ppc64el.deb ... 1485s Unpacking libgudev-1.0-0:ppc64el (1:238-6) over (1:238-5ubuntu1) ... 1485s Preparing to unpack .../python3-certifi_2024.12.14+ds-1_all.deb ... 1485s Unpacking python3-certifi (2024.12.14+ds-1) over (2024.8.30+dfsg-1) ... 1485s Preparing to unpack .../python3-chardet_5.2.0+dfsg-2_all.deb ... 1485s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 1486s Preparing to unpack .../python3-jwt_2.10.1-2_all.deb ... 1486s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 1486s Setting up python3-jwt (2.10.1-2) ... 1486s Setting up python3-chardet (5.2.0+dfsg-2) ... 1486s Setting up python3-certifi (2024.12.14+ds-1) ... 1486s Setting up rng-tools-debian (2.6) ... 1487s Setting up libatomic1:ppc64el (14.2.0-13ubuntu1) ... 1487s Setting up usb.ids (2025.01.14-1) ... 1487s Setting up libgudev-1.0-0:ppc64el (1:238-6) ... 1487s Processing triggers for man-db (2.13.0-1) ... 1489s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1489s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 1489s + /usr/lib/apt/apt-helper analyze-pattern ?true 1489s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 1489s Reading package lists... 1490s Building dependency tree... 1490s Reading state information... 1490s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1490s + grep -q trusty /etc/lsb-release 1490s + [ ! -d /usr/share/doc/unattended-upgrades ] 1490s + [ ! -d /usr/share/doc/lxd ] 1490s + [ ! -d /usr/share/doc/lxd-client ] 1490s + [ ! -d /usr/share/doc/snapd ] 1490s + type iptables 1490s + cat 1490s + chmod 755 /etc/rc.local 1490s + . /etc/rc.local 1490s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1490s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 1490s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 1490s + uname -m 1490s + [ ppc64le = ppc64le ] 1490s + systemctl is-active keyboard-setup.service 1490s + [ active = failed ] 1490s + [ -d /run/systemd/system ] 1490s + systemd-detect-virt --quiet --vm 1490s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 1490s + cat 1490s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 1490s + echo COMPRESS=lz4 1490s + sync 1491s autopkgtest [00:51:20]: upgrading testbed (apt dist-upgrade and autopurge) 1491s Reading package lists... 1491s Building dependency tree... 1491s Reading state information... 1492s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1492s Starting 2 pkgProblemResolver with broken count: 0 1492s Done 1492s Entering ResolveByKeep 1492s 1493s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1493s Reading package lists... 1493s Building dependency tree... 1493s Reading state information... 1494s Starting pkgProblemResolver with broken count: 0 1494s Starting 2 pkgProblemResolver with broken count: 0 1494s Done 1494s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1494s autopkgtest [00:51:23]: rebooting testbed after setup commands that affected boot 1529s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 1539s Reading package lists... 1539s Building dependency tree... 1539s Reading state information... 1539s Starting pkgProblemResolver with broken count: 0 1539s Starting 2 pkgProblemResolver with broken count: 0 1539s Done 1540s The following NEW packages will be installed: 1540s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1540s libdconf1 1540s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1540s Need to get 150 kB of archives. 1540s After this operation, 824 kB of additional disk space will be used. 1540s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdconf1 ppc64el 0.40.0-4build2 [44.0 kB] 1540s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-service ppc64el 0.40.0-4build2 [31.1 kB] 1540s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-4build2 [26.5 kB] 1540s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el dpkg-repack all 1.54 [11.2 kB] 1540s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1541s Fetched 150 kB in 0s (336 kB/s) 1541s Selecting previously unselected package libdconf1:ppc64el. 1541s (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 ... 74042 files and directories currently installed.) 1541s Preparing to unpack .../libdconf1_0.40.0-4build2_ppc64el.deb ... 1541s Unpacking libdconf1:ppc64el (0.40.0-4build2) ... 1541s Selecting previously unselected package dconf-service. 1541s Preparing to unpack .../dconf-service_0.40.0-4build2_ppc64el.deb ... 1541s Unpacking dconf-service (0.40.0-4build2) ... 1541s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1541s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_ppc64el.deb ... 1541s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1541s Selecting previously unselected package dpkg-repack. 1541s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1541s Unpacking dpkg-repack (1.54) ... 1541s Selecting previously unselected package gsettings-desktop-schemas. 1541s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1541s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1541s Setting up dpkg-repack (1.54) ... 1541s Setting up libdconf1:ppc64el (0.40.0-4build2) ... 1541s Setting up dconf-service (0.40.0-4build2) ... 1541s Setting up dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1541s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1541s Processing triggers for man-db (2.13.0-1) ... 1542s Processing triggers for libglib2.0-0t64:ppc64el (2.82.4-1) ... 1542s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1548s autopkgtest [00:52:17]: test 1065022-futureproofing: [----------------------- 1548s + export DEBIAN_FRONTEND=noninteractive 1548s + n=0 1548s + failed=0 1548s + binary_package=libglib2.0-0t64 1548s + future_binary_package=libglib2.0-0xyz 1548s + pwd 1548s + srcdir=/tmp/autopkgtest.p21SP2/build.L5G/src 1548s + mktemp -d 1548s + tmpdir=/tmp/tmp.V5ssvBkETb 1548s + cd /tmp/tmp.V5ssvBkETb 1548s + [ -e /tmp/autopkgtest.p21SP2/build.L5G/src/debian/tests/manual/local-1065022.sources ] 1548s + dpkg-query -W dpkg-repack 1548s dpkg-repack 1.54 1548s + dpkg-repack --generate libglib2.0-0t64 1549s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1549s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.bHJJDS/DEBIAN/control 1549s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.bHJJDS/DEBIAN/control 1549s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.bHJJDS for libglib2.0-0t64 1549s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.bHJJDS ." 1549s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.bHJJDS/DEBIAN/control 1549s + 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.bHJJDS/DEBIAN/control 1549s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.bHJJDS libglib2.0-0xyz.deb 1549s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1551s + apt-get -y install ./libglib2.0-0xyz.deb 1551s Reading package lists... 1551s Building dependency tree... 1551s Reading state information... 1551s The following packages were automatically installed and are no longer required: 1551s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1551s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1551s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1551s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1551s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1551s python3-openssl python3-problem-report python3-pygments python3-requests 1551s python3-rich python3-systemd python3-urllib3 1551s Use 'sudo apt autoremove' to remove them. 1551s The following additional packages will be installed: 1551s xdg-user-dirs 1551s Suggested packages: 1551s low-memory-monitor 1551s Recommended packages: 1551s shared-mime-info 1551s The following packages will be REMOVED: 1551s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1551s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1551s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1551s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1551s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1551s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1551s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1551s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1551s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1551s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1551s python3-netplan shared-mime-info ubuntu-minimal udisks2 1551s The following NEW packages will be installed: 1551s libglib2.0-0xyz xdg-user-dirs 1551s 0 upgraded, 2 newly installed, 48 to remove and 0 not upgraded. 1551s Need to get 20.1 kB/1808 kB of archives. 1551s After this operation, 39.6 MB disk space will be freed. 1551s Get:1 /tmp/tmp.V5ssvBkETb/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.82.4-1 [1788 kB] 1552s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el xdg-user-dirs ppc64el 0.18-2 [20.1 kB] 1552s Fetched 20.1 kB in 0s (84.4 kB/s) 1552s (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 ... 74110 files and directories currently installed.) 1552s Removing bolt (0.9.8-1) ... 1553s Removing cloud-init (25.1~2g4ee65391-0ubuntu1) ... 1553s Removing cloud-init-base (25.1~2g4ee65391-0ubuntu1) ... 1553s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1554s Removing dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1554s Removing dconf-service (0.40.0-4build2) ... 1554s Removing fwupd (2.0.3-3) ... 1554s Removing networkd-dispatcher (2.2.4-1.1) ... 1555s Removing udisks2 (2.10.1-11ubuntu1) ... 1555s Removing libblockdev-crypto3:ppc64el (3.2.1-1) ... 1555s Removing libblockdev-fs3:ppc64el (3.2.1-1) ... 1556s Removing libblockdev-loop3:ppc64el (3.2.1-1) ... 1556s Removing libblockdev-mdraid3:ppc64el (3.2.1-1) ... 1556s Removing libblockdev-nvme3:ppc64el (3.2.1-1) ... 1556s Removing libblockdev-part3:ppc64el (3.2.1-1) ... 1556s Removing libblockdev-swap3:ppc64el (3.2.1-1) ... 1556s Removing libblockdev3:ppc64el (3.2.1-1) ... 1556s Removing libblockdev-utils3:ppc64el (3.2.1-1) ... 1556s Removing libdconf1:ppc64el (0.40.0-4build2) ... 1556s Removing libfwupd3:ppc64el (2.0.3-3) ... 1556s Removing shared-mime-info (2.4-5) ... 1556s Removing python3-dbus (1.3.2-5build4) ... 1556s Removing libgudev-1.0-0:ppc64el (1:238-6) ... 1556s Removing libjcat1:ppc64el (0.2.0-2build3) ... 1556s Removing libjson-glib-1.0-0:ppc64el (1.10.6+ds-1) ... 1557s Removing libqmi-proxy (1.35.6-1) ... 1557s Removing libqmi-glib5:ppc64el (1.35.6-1) ... 1557s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1557s Removing libmbim-glib4:ppc64el (1.31.2-0ubuntu4) ... 1557s Removing libmm-glib0:ppc64el (1.23.4-0ubuntu2) ... 1557s Removing ubuntu-minimal (1.544) ... 1557s Removing netplan.io (1.1.1-1) ... 1557s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1557s Removing python3-netplan (1.1.1-1) ... 1557s Removing netplan-generator (1.1.1-1) ... 1557s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1557s Removing libnetplan1:ppc64el (1.1.1-1) ... 1557s Removing libpolkit-agent-1-0:ppc64el (125-2ubuntu1) ... 1558s Removing libpolkit-gobject-1-0:ppc64el (125-2ubuntu1) ... 1558s Removing libqrtr-glib0:ppc64el (1.2.2-1ubuntu4) ... 1558s Removing libudisks2-0:ppc64el (2.10.1-11ubuntu1) ... 1558s Removing libvolume-key1:ppc64el (0.3.12-8) ... 1558s Removing libxmlb2:ppc64el (0.3.21-1) ... 1558s Removing apport (2.31.0-0ubuntu2) ... 1559s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 1559s Removing python3-gi (3.50.0-3build1) ... 1559s Removing gir1.2-girepository-2.0:ppc64el (1.82.0-3) ... 1559s Removing gir1.2-glib-2.0:ppc64el (2.82.4-1) ... 1559s Removing libgirepository-1.0-1:ppc64el (1.82.0-3) ... 1559s Removing libglib2.0-0t64:ppc64el (2.82.4-1) ... 1559s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1559s (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 ... 73049 files and directories currently installed.) 1559s Preparing to unpack .../libglib2.0-0xyz.deb ... 1559s Unpacking libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1560s Selecting previously unselected package xdg-user-dirs. 1560s Preparing to unpack .../xdg-user-dirs_0.18-2_ppc64el.deb ... 1560s Unpacking xdg-user-dirs (0.18-2) ... 1560s Setting up xdg-user-dirs (0.18-2) ... 1560s Setting up libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1560s No schema files found: removed existing output file. 1560s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1560s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1560s Processing triggers for man-db (2.13.0-1) ... 1562s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1562s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1562s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1562s + n=1 1562s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1562s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1562s + failed=1 1562s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1562s + n=2 1562s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1562s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1562s + failed=1 1562s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1562s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1562s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1562s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1562s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1562s + n=3 1562s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1562s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1562s + failed=1 1562s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1562s + n=4 1562s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1562s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1562s + failed=1 1562s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1562s + n=5 1562s + test -e /usr/lib/*/gio/modules/giomodule.cache 1562s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1562s + failed=1 1562s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1562s + n=6 1562s + test -s /usr/lib/*/gio/modules/giomodule.cache 1562s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1562s + failed=1 1562s + apt-get -y purge libglib2.0-0t64 1562s Reading package lists... 1562s Building dependency tree... 1562s Reading state information... 1562s The following packages were automatically installed and are no longer required: 1562s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1562s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1562s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1562s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1562s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1562s python3-openssl python3-problem-report python3-pygments python3-requests 1562s python3-rich python3-systemd python3-urllib3 1562s Use 'sudo apt autoremove' to remove them. 1562s The following packages will be REMOVED: 1562s libglib2.0-0t64* 1563s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1563s After this operation, 0 B of additional disk space will be used. 1563s (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 ... 73084 files and directories currently installed.) 1563s Purging configuration files for libglib2.0-0t64:ppc64el (2.82.4-1) ... 1563s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1563s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1563s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1563s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1563s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1563s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1563s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1563s + n=7 1563s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1563s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1563s + failed=1 1563s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1563s + n=8 1563s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1563s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1563s + failed=1 1563s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1563s + n=9 1563s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1563s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1563s + failed=1 1563s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1563s + n=10 1563s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1563s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1563s + failed=1 1563s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1563s + n=11 1563s + test -e /usr/lib/*/gio/modules/giomodule.cache 1563s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1563s + failed=1 1563s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1563s + n=12 1563s + test -s /usr/lib/*/gio/modules/giomodule.cache 1563s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1563s + failed=1 1563s + apt-get -y purge libglib2.0-0xyz 1563s Reading package lists... 1563s Building dependency tree... 1563s Reading state information... 1564s The following packages were automatically installed and are no longer required: 1564s apport-symptoms jq libatasmart4 libatomic1 libbytesize-common libbytesize1 1564s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libglib2.0-data 1564s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1564s libonig5 libprotobuf-c1 python3-apport python3-certifi python3-chardet 1564s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1564s python3-openssl python3-problem-report python3-pygments python3-requests 1564s python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1564s Use 'sudo apt autoremove' to remove them. 1564s The following packages will be REMOVED: 1564s libglib2.0-0xyz* 1564s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1564s After this operation, 6012 kB disk space will be freed. 1564s (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 ... 73084 files and directories currently installed.) 1564s Removing libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1564s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1564s (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 ... 73059 files and directories currently installed.) 1564s Purging configuration files for libglib2.0-0xyz:ppc64el (2.82.4-1) ... 1564s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1564s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1564s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1564s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1564s 1..16 1564s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1564s + n=13 1564s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1564s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1564s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1564s + n=14 1564s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1564s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1564s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1564s + n=15 1564s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1564s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1564s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1564s + n=16 1564s + test -e /usr/lib/*/gio/modules/giomodule.cache 1564s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1564s + echo 1..16 1564s + exit 1 1565s autopkgtest [00:52:34]: test 1065022-futureproofing: -----------------------] 1565s 1065022-futureproofing FLAKY non-zero exit status 1 1565s autopkgtest [00:52:34]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1566s autopkgtest [00:52:35]: @@@@@@@@@@@@@@@@@@@@ summary 1566s build PASS (superficial) 1566s build-static PASS (superficial) 1566s girepository-tools PASS (superficial) 1566s libgio-2.0-dev-bin PASS (superficial) 1566s libglib2.0-dev PASS (superficial) 1566s installed-tests PASS 1566s closure-refcount PASS 1566s debugcontroller PASS 1566s gdbus-server-auth PASS 1566s gdbus-threading PASS 1566s gmenumodel PASS 1566s mainloop PASS 1566s memory-monitor-dbus PASS 1566s socket PASS 1566s testfilemonitor PASS 1566s thread-pool-slow PASS 1566s threadtests PASS 1566s timeout PASS 1566s timer PASS 1566s 1065022-futureproofing FLAKY non-zero exit status 1 1570s nova [W] Using flock in prodstack6-ppc64el 1570s Creating nova instance adt-plucky-ppc64el-glib2.0-20250117-225214-juju-7f2275-prod-proposed-migration-environment-2-fa7e4bc8-5db1-46e9-9994-82ef68269c33 from image adt/ubuntu-plucky-ppc64el-server-20250117.img (UUID fc4495f7-ff1c-4a92-a3fe-ee8c580d771a)... 1570s nova [W] Timed out waiting for 6079a28b-9740-4f87-8325-675fbdb0d26b to get deleted. 1570s nova [W] Using flock in prodstack6-ppc64el 1570s Creating nova instance adt-plucky-ppc64el-glib2.0-20250117-225214-juju-7f2275-prod-proposed-migration-environment-2-fa7e4bc8-5db1-46e9-9994-82ef68269c33 from image adt/ubuntu-plucky-ppc64el-server-20250117.img (UUID fc4495f7-ff1c-4a92-a3fe-ee8c580d771a)... 1570s nova [W] Timed out waiting for 0bdd1519-16c4-41d2-9842-022fff9a8266 to get deleted. 1570s nova [W] Using flock in prodstack6-ppc64el 1570s Creating nova instance adt-plucky-ppc64el-glib2.0-20250117-225214-juju-7f2275-prod-proposed-migration-environment-2-fa7e4bc8-5db1-46e9-9994-82ef68269c33 from image adt/ubuntu-plucky-ppc64el-server-20250117.img (UUID fc4495f7-ff1c-4a92-a3fe-ee8c580d771a)... 1570s nova [W] Timed out waiting for 927b240c-754b-4881-8364-65b3ed4f21ea to get deleted. 1570s nova [W] Using flock in prodstack6-ppc64el 1570s Creating nova instance adt-plucky-ppc64el-glib2.0-20250117-225214-juju-7f2275-prod-proposed-migration-environment-2-fa7e4bc8-5db1-46e9-9994-82ef68269c33 from image adt/ubuntu-plucky-ppc64el-server-20250117.img (UUID fc4495f7-ff1c-4a92-a3fe-ee8c580d771a)... 1570s nova [W] Timed out waiting for bd0c0c7e-03f0-4232-b004-e3db27ab2939 to get deleted. 1570s nova [W] Using flock in prodstack6-ppc64el 1570s Creating nova instance adt-plucky-ppc64el-glib2.0-20250117-225214-juju-7f2275-prod-proposed-migration-environment-2-fa7e4bc8-5db1-46e9-9994-82ef68269c33 from image adt/ubuntu-plucky-ppc64el-server-20250117.img (UUID fc4495f7-ff1c-4a92-a3fe-ee8c580d771a)... 1570s nova [W] Timed out waiting for 4b009b7e-44a3-44a8-8bc1-2d96e11226c6 to get deleted. 1570s nova [W] Using flock in prodstack6-ppc64el 1570s Creating nova instance adt-plucky-ppc64el-glib2.0-20250117-225214-juju-7f2275-prod-proposed-migration-environment-2-fa7e4bc8-5db1-46e9-9994-82ef68269c33 from image adt/ubuntu-plucky-ppc64el-server-20250117.img (UUID fc4495f7-ff1c-4a92-a3fe-ee8c580d771a)... 1570s nova [W] Timed out waiting for 880fbc61-d2ba-4298-bdbf-ec26d6e1d681 to get deleted.